Saturday, May 29, 2010
The version numbers could be a little nuts here for a while. I probably won't post anything else until they get into double digits as I can't imagine this is interesting to anyone but me. The major improvement here is the ability to distinguish different atoms in the input file and draw them accordingly. The radii still need a little adjusting.
Tuesday, May 25, 2010
Reading in xyz coordinates and rendering them in PyOpenGl
I figure by the time I'm done it will be best-in-class, export controlled and retail for a couple hundred thousand dollars. You saw it here first.
Oh yeah, I can rotate and zoom the camera using the mouse. Jealous?
Monday, May 24, 2010
Atom colors change as a function of their velocity using the basic how-hard-is-it-raining convention, slower is blue, white is pouring. RGB values for individual atoms were calculated from molecular dynamics data and imported as object color IPO curves. For this I expanded Miron's import IPO script to include three more curves, one for each RGB.
I plan to develop this more to represent temperatures.
Wednesday, May 19, 2010
Sunday, May 9, 2010
The initial visualization of 550 frames, skipping two simulation steps at 50f/s, motion blur set 0.5 averaged over 5 frames. This took about 20 hours to render on a basic core 2 duo notebook.
9 frames, skipping 100 frames looped, motion blur set to 5 averaged over 16 frames. About 20 minutes per frame to render.