Drawing Molecules using openGL?

  • Thread starter Thread starter pazmush
  • Start date Start date
  • Tags Tags
    Drawing Molecules
Click For Summary
SUMMARY

This discussion focuses on drawing molecular structures using OpenGL, specifically the challenge of placing spheres on connecting vertices of a diamond structure. The user seeks guidance on calculating angles and distances for accurate placement. Recommendations include utilizing the NeHe tutorials as a foundational resource for learning OpenGL. Additionally, the conversation suggests considering higher-level toolkits that simplify chemistry modeling over raw OpenGL.

PREREQUISITES
  • Understanding of OpenGL basics and rendering techniques
  • Familiarity with C++ programming language
  • Knowledge of 3D geometry, including angles and distances
  • Experience with molecular modeling concepts
NEXT STEPS
  • Explore NeHe tutorials for foundational OpenGL skills
  • Research higher-level OpenGL toolkits for chemistry modeling
  • Learn about 3D vector mathematics for accurate sphere placement
  • Investigate existing C++ libraries for molecular visualization
USEFUL FOR

3D graphics developers, chemists interested in molecular modeling, and students learning OpenGL and C++ programming.

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.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
1
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 40 ·
2
Replies
40
Views
5K
  • · Replies 3 ·
Replies
3
Views
4K