What Free Libraries Can I Use to Draw Crystal Lattice Structures in 3D Using C?

Click For Summary
SUMMARY

To draw crystal lattice structures in 3D using C, Kenichi Taro seeks free libraries that facilitate this task. OpenGL is mentioned as a potential tool, although Kenichi has only managed to create basic 3D spheres without bonds. The discussion highlights the challenges of using OpenGL for complex structures and suggests that Windows programming may require more extensive coding. The community is encouraged to provide actionable advice on libraries and techniques for modeling movable chemical compounds in 3D space.

PREREQUISITES
  • Basic understanding of C programming language
  • Familiarity with OpenGL for 3D graphics rendering
  • Knowledge of crystal lattice structures in chemistry
  • Experience with 3D modeling concepts
NEXT STEPS
  • Research OpenGL tutorials specifically for drawing chemical bonds
  • Explore libraries such as GLM (OpenGL Mathematics) for transformations
  • Investigate the use of GLFW for window management in OpenGL applications
  • Learn about visualization libraries like VTK (Visualization Toolkit) for advanced modeling
USEFUL FOR

Chemical simulation researchers, C programmers interested in 3D graphics, and anyone looking to model crystal structures in a programming environment.

Taros
Messages
1
Reaction score
0
Hello, my name is Kenichi, from japan.
Inorder to draw Crystal Lattice 3D Structures, what libraries for free out there to be used with C programming language ? I am still a C novice.
I wonder, in chemical simulation research do you also program using C language plus some libraries to drawing, modeling etc.

I used to hear of opengl, and i tried it too, but i could only draw 2 3d spheres with no bond because i don't know how to draw a bond :blushing:, and it really took me a lot of time, perhaps even much much more if i wanted to complete the whole structure of a crystal compound.

Also, some people advise me to use windows programming, but i think this is like crazy because windows programming needs me to code much logner than opengl. is it correct ?

What should i do now, please advice me. I need urgently help from you on how to modelling a movable chemical compound in 3d space.

Thank you.

-Kenichi Taro
 
Computer science news on Phys.org

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
8K
  • · Replies 2 ·
Replies
2
Views
7K
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
11K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K