TUD Organische ChemieImmelGraphicsPovray 3.5fractals1View or Print this frame onlyView or Print (this frame only)

Example Graphics

(low quality jpg-image only)
fractals1

Example file (fractals1.pov):

// Persistence Of Vision raytracer version 3.5 sample file.
// File: fractals1.pov
// Last updated: 6/5/02
// Author: Juha Nieminen
// Description:
// Demonstrates the use of fractal patterns.
// The fractals used are:
// - Floor: magnet1m as both pigment and normal with
// interior type 1 in both and exterior type 5 in pigment.
// - Left box: A julia pigment with interior type 1.
// - Middle box: A mandelbrot pigment with interior type 5
// and exterior type 6.
// - Right box: A mandel4 pigment with interior type 1
// and exterior type 5.
// - Sphere: A julia4 normal.

global_settings {
max_trace_level 5
}

camera { location <-1,2,-5>*1.2 look_at y*.2 angle 35 }
light_source { <10,50,-30>, 1 }

// Floor made with magnet1m:
plane
{ -z,0
texture
{ pigment
{ magnet 1 mandel 50
color_map
{ [0 rgb <1,.8,.5>]
[1 rgb <.8,.5,.4>]
}
interior 1,200
exterior 5,1
}
normal
{ magnet 1 mandel 50 .2
slope_map
{ [0 <1,0>][1 <0,-1>]
}
interior 1,200
accuracy .0005
}
finish { specular .5 reflection .5 }

translate <-1.9,-1,0>
scale 20
}
rotate x*90
}

// Julia:
box
{ <-2,-2,0><2,2,-.1>
pigment
{ julia <.3,.44> 30
interior 1,1
color_map
{ [0 rgb <.3,.2,.1>][.25 rgb x][.5 rgb x+y][1 rgb 1]
}
scale 1.3
}
translate y*2 scale .4
rotate <30,-20,0>
translate <-1.1,0,2>
}

// Mandel:
box
{ <-2,-2,0><2,2,-.1>
pigment
{ mandel 10 color_map
{ [0 rgb 0][.25 rgb z][.5 rgb <.1,.8,1>][1 rgb 1]
}
interior 5,2
exterior 6,.05
translate x*.6
scale 1.3
}
translate y*2 scale .4
rotate <30,0,0>
translate <.5,0,2.2>
}

// Mandel4:
box
{ <-2,-2,0><2,2,-.1>
pigment
{ mandel 50
exponent 4
interior 1,.5
exterior 5,.01
color_map
{ [0 rgb 0][.3 rgb y][.6 rgb <.5,1,0>][1 rgb x+y]
}
scale 1.3
}
translate y*2 scale .4
rotate <30,20,0>
translate <2,0,1.6>
}

// Julia4:
sphere
{ 0,2
pigment { rgb 1 }
normal
{ julia <-.5,.5> 10 1
exponent 4
slope_map { [0 <0,0>][.5 <.5,1>][1 <1,0>] }
scale 1.5
rotate x*30
}
finish { specular .5 reflection .4 }
translate y*2
scale .15 translate <-.2,0,-1>
}

© Copyright PD Dr. S. Immel