Saturday, May 29, 2010

Rolling my own part two




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

Rolling my own




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

Scripting atom color changes as a function of velocity in Blender



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

Diamond Bearing



I obviously have a small glitch in importing these models from NE1 to Blender in that I lose a single atom. I bet it is either the first or last.

For a beautiful version of the same structure check out Euplotes'
He has lots of other good stuff too.

Sunday, May 9, 2010

Atomistic Large Bearing: dynamics performed in NanoEngineer-1, vizualized in Blender




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.