What im doing is essentially making a strand of DNA. ive got my spheres as
molecules of A,C,G,T and a bar connecting them. They are being generated
by a while loop. Its all working fine but i cant rotate them properly.
i was trying to use a rotation and then a translation to get the 2 spheres
and bar in line with the rest of them but that will only work for certain
angles and then i would have to figure out the translation again.
Anyone have a general formula? Im looking for some sort of sinusoidal
equation i think. Just cant put two and two together.
so if the camera was directly atop the strand of DNA and the desired angle
was 90 degrees it would look like this
O
|
0=====0
|
O
i know this is damn confusing. if anyone wants to see the source let me
know and ill email it.
Thanks so much
--
Zack Halbrecht
Head Procrastinator
Rutgers University
zac### [at] eden rutgers edu
Post a reply to this message
|