Drawing Molecules using openGL?

  • Thread starter Thread starter pazmush
  • Start date Start date
  • Tags Tags
    Drawing Molecules
AI Thread Summary
The discussion centers around modeling a diamond structure with spheres at the vertices, focusing on the challenges of calculating angles and distances for accurate placement. The user seeks advice on moving a sphere along a connecting vertex line directly. Additionally, there is an inquiry about modeling hexagonal ice using C++. A suggestion is made to refer to the NeHe tutorials for OpenGL guidance. The conversation highlights the potential use of higher-level toolkits built on OpenGL, which may simplify the process if the primary goal is to model chemical structures rather than purely learn OpenGL.
pazmush
Messages
32
Reaction score
0
So far I've managed to draw a sort of diamond structure but i want to put spheres on some of the connecting vertices, put figuring out the angles and distances is quite tough, i was wondering whether there was any way of moving a sphere along a connecting vertex line directly.

Any one any ideas?

Or has anyone ever modeled hexagonal ice using c++ before?

Thanks

Not sure if i was very clear though
 
Technology news on Phys.org
A good starting point for openGL is the NeHe tutorials http://nehe.gamedev.net/

Do you particularly need to use raw openGL? If you are doing this to learn openGL - great, but if you need to do the chemistry there are lots of toolkits on top of openGL that might make life easier.
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
Back
Top