i am trying to create a molecule builder,
which reads from an array the structure of the molecule eg:
what i want to do is to build this molecule dynamically ie without any given coordinates using opengl,how can i do this?
the problem is that for each individual atom ie let us take c for carbon & h for hydrogen, i want to specify the colour,and then to render the two molecules, at coordinates which i build dynamically. how can i do this without just having one molecule output onto the screen?