Caffeine (PNG with alpha, source incl.)

Wallpaper Other

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.0

Description:
VOTE THIS VOTE THIS VOTE THIS

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>}}

#declare THRESH=0.1;
#declare TRANS=0.7;
#declare ATOM_SIZE=1;
#declare ATOM_TEX=texture{pigment{color rgb< 1,1,1>} finish{ambient 0.9}}
#declare C_TEX=texture{ATOM_TEX pigment{color rgbf< 0.1,0.1,0.1,TRANS>}}
#declare H_TEX=texture{ATOM_TEX pigment{color rgbf< 1,1,1,TRANS>}}
#declare O_TEX=texture{ATOM_TEX pigment{color rgbf< 1,0,0,TRANS>}}
#declare N_TEX=texture{ATOM_TEX pigment{color rgbf< 0,0,1,TRANS>}}


blob {threshold THRESH
sphere {< 1.992583,-0.904333,0.158333>,ATOM_SIZE strength 1.0 texture{N_TEX}}
sphere {< 1.675583,-2.026333,0.746333>,ATOM_SIZE strength 1.0 texture{C_TEX}}
sphere {< 0.843583,-0.213333,-0.026667>,ATOM_SIZE strength 1.0 texture{C_TEX}}
sphere {< -0.175417,-0.986333,0.495333>,ATOM_SIZE strength 1.0 texture{C_TEX}}
sphere {< 3.324583,-0.470333,-0.216667>,ATOM_SIZE strength 1.0 texture{C_TEX}}
sphere {< 0.423583,-2.095333,0.949333>,ATOM_SIZE strength 1.0 texture{N_TEX}}
sphere {< -1.458417,-0.573333,0.485333>,ATOM_SIZE strength 1.0 texture{N_TEX}}
sphere {< -0.840417,1.398667,-0.576667>,ATOM_SIZE strength 1.0 texture{N_TEX}}
sphere {< -2.491417,-1.419333,1.058333>,ATOM_SIZE strength 1.0 texture{C_TEX}}
sphere {< -1.271417,2.669667,-1.139667>,ATOM_SIZE strength 1.0 texture{C_TEX}}
sphere {< 0.439583,1.107667,-0.624667>,ATOM_SIZE strength 1.0 texture{C_TEX}}
sphere {< -1.746417,0.596667,-0.044667>,ATOM_SIZE strength 1.0 texture{C_TEX}}
sphere {< 1.292583,1.830667,-1.114667>,ATOM_SIZE strength 1.0 texture{O_TEX}}
sphere {< -2.914417,0.954667,-0.042667>,ATOM_SIZE strength 1.0 texture{O_TEX}}
sphere {< -0.571417,3.447667,-0.836667>,ATOM_SIZE strength 1.0 texture{H_TEX}}
sphere {< -2.269417,2.902667,-0.767667>,ATOM_SIZE strength 1.0 texture{H_TEX}}
sphere {< -1.289417,2.588667,-2.226667>,ATOM_SIZE strength 1.0 texture{H_TEX}}
sphere {< -2.187417,-2.461333,0.968333>,ATOM_SIZE strength 1.0 texture{H_TEX}}
sphere {< -3.424417,-1.256333,0.518333>,ATOM_SIZE strength 1.0 texture{H_TEX}}
sphere {< -2.620417,-1.158333,2.109333>,ATOM_SIZE strength 1.0 texture{H_TEX}}
sphere {< 3.320583,0.610667,-0.351667>,ATOM_SIZE strength 1.0 texture{H_TEX}}
sphere {< 3.607583,-0.960333,-1.148667>,ATOM_SIZE strength 1.0 texture{H_TEX}}
sphere {< 4.022584,-0.744333,0.574333>,ATOM_SIZE strength 1.0 texture{H_TEX}}
sphere {< 2.317583,-2.838333,1.054333>,ATOM_SIZE strength 1.0 texture{H_TEX}}
rotate -x*10
interior{ior 2.0}
}

Ratings & Comments

1 Comment

cmost

I wouldn't be able to do half of what I do without the power of caffiene! Thanks for the great rendition.

Pling
0 Affiliates
Details
license
version V 2.0
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

Other Wallpaper Other:

A Nice Dream
sefra
last update date: 20 years ago

Score 5.0

I see the light
assaultdk
last update date: 20 years ago

Score 5.0

Cross with Crown Wallpaper
ultrasounddbz
last update date: 18 years ago

Score 5.0

Ubuntillac Wallpaper
ultrasounddbz
last update date: 18 years ago

Score 5.0

Artistic Blue Wallpaper
ultrasounddbz
last update date: 18 years ago

Score 5.0

Blue Wallpaper
ultrasounddbz
last update date: 18 years ago

Score 5.0