1,3,7 Trimethylxantine (Caffeine) molecule rendered using Pov-RAY.
I just raytraced two versions, one with white background and other with green. After that, I substracted one version from the other, and the negative average of the resulting Red and Blue channels was added to the white background version as alpha channel. And Voila, transparent Version.
This is GPL, real GPL, so the source Pov-Ray model file is avaiable RIGHT HERE.
// Persistence of Vision Ray Tracer Scene Description File // File: .pov // Vers: 3.5 // Desc: Caffeine Molecule // Date: 23/6/2005 // Auth: Alfrenovsky
background {color rgb< 1,1,1>}
#declare CAMERA_DISTANCE = 9; camera {orthographic location < 0.0,0.0,-1.0>*CAMERA_DISTANCE look_at < 0.0,0.0,0.0> up y*CAMERA_DISTANCE right x*4/3*CAMERA_DISTANCE} // When orthographic is used,the camera position vector is ignored. // When perspective is used de up & right CAMERA_DISTANCE multiplier is ignored.
light_source {< 0,0,-20> color rgb< 1,1,1>} plane {z,-30 pigment{rgb< 1,1,1>}}
Ratings & Comments
1 Comment
I wouldn't be able to do half of what I do without the power of caffiene! Thanks for the great rendition.