|
|
I know, there are enough beginners out there, having difficulties to
understand the concept of normal-maps ...
As this issue rises up on a frequently basis I decided, to create a small
scene, to show the difference between normal-maps and "real" displacement
(created with isosurfaces)...
I rendered this to an animation available @
http://www.informatik.uni-halle.de/~walzer/gallery/Bump-IsoSurf.mpg
this is a DivX-video (~700KB)
I will give the scenefile in another post ...
Maybe the doc-writers want to include this (or someting similar) somewhere in
the doc...
--
Jan Walzer <jan### [at] lzernet>
Post a reply to this message
|
|
|
|
// Renderparameters ...
// +A0.6 +J1.0 +AM1 +R3 +KI0.0 +KF1.0 +KFI0 +KFF250
// +A0.1 +J1.0 +AM1 +R4 +K0.75
camera {
location <0,1,-5>
look_at <0,-2,0>
}
light_source {
<20,10,-1>
color rgb <1,0.5,0>
fade_distance 7
}
light_source {
<-20,10,-1>
color rgb <0,0.5,1>
fade_distance 7
}
box {
<-30,-1,-10><0,0,30>
pigment {
color rgb 1
}
finish {
ambient 0
diffuse 1
}
normal {
crackle 10*clock
scale 0.5
}
no_shadow
}
#declare CracklePattern=
function {
pattern {
crackle
}
}
isosurface {
function {
y-(CracklePattern(x*2,0,z*2)*0.5*clock)
}
contained_by {
box {
<30,-1,-10><0,0.5,30>
}
}
pigment {
color rgb 1
}
finish {
ambient 0
diffuse 1
}
no_shadow
}
box {
<-30,-3,-3><30,20,1>
pigment {
checker color rgb 1, color rgb 0.5
translate x*-0.5
scale <20,0.05,1>
}
finish {ambient 1}
no_shadow
}
--
Jan Walzer <jan### [at] lzernet>
Post a reply to this message
|
|