TUD Organische Chemie | ![]() | Immel | ![]() | Graphics | ![]() | Povray 3.1 | ![]() | normal | ![]() | ![]() | View or Print (this frame only) |
Example file (normal.pov):
// Persistence Of Vision raytracer version 3.0 sample file.
#version 3.0
global_settings { assumed_gamma 2.2 }
#include "stage1.inc"
#declare Radius =5
#declare RowSpace=1.35
#declare ColSpace=1.25
#declare Dist=0.9-Radius
#declare Row2=-Dist
#declare Row1=Row2+Radius*RowSpace*2
#declare Col1= -Radius*ColSpace*2
#declare Col2= Col1+Radius*ColSpace*2
#declare Col3= Col2+Radius*ColSpace*2
camera{Camera1 translate <0,Row1-Radius*RowSpace,-240>}
#declare Thing=
object {
UnitBox
scale Radius
pigment {Gray75}
finish {phong 0.8}
}
object { Thing normal {bumps 0.6} translate
object {
Thing
normal {
bump_map { gif "test.gif" bump_size 1.0 use_index }
translate -(x+y)/2
scale 2*Radius
}
translate
}
object { Thing normal {dents 0.6} translate
object { Thing normal {ripples 0.6} translate
object { Thing normal {waves 0.6} translate
object { Thing normal {wrinkles 0.6} translate