|
|
The sphere and the height field has the same texture. Why do they look
different? There are two lights above and behind the objects; you can see the
shadows on the front side of the hf.
Here's the texture:
pigment { colour rgb <.4,.2,0>}
finish {specular .1 roughness .2 ambient 0}
TIA
sig.
Post a reply to this message
Attachments:
Download 'svada.jpg' (16 KB)
Preview of image 'svada.jpg'
|
|
|
|
"Rick [Kitty5]" wrote:
>
> really naughty, what happens if you just change the camera angle?
It's the same. I have extracted the relevant lines from the code:
#version unofficial MegaPov 0.4;
#declare Lys= light_source { 0, .85
looks_like { sphere { 0, 1 pigment { rgb 1 } finish { ambient 1 } } }
}
object { Lys translate <2,4,3>*10 }
object { Lys translate <-1,4,-2>*10 }
camera {
#local L=90;
location <2, 1 ,-15>
look_at 0
angle degrees(atan2(35,L))
}
#default {finish {ambient 0 specular .1 roughness .05}}
$Jord_tex=
texture {
pigment { color rgb <.4,.2,0>}
finish {specular .1 roughness .2}
}
#declare HF=
height_field {
pattern 250,250 {
hf_gray_16
average
pigment_map {
$i=0;
#while (i<1)
$P=seed(i*200+220);
$R=seed(i*20+20);
[1 cylindrical
color_map { [0 rgb 0] [1 rgb 1] }
scale .5+.5*max(rand(P),rand(R))
translate <rand(P),0,rand(R)>
//turbulence .6 lambda 2.9 octaves 6 omega .4
]
$i=i+.1;
#end
[.4 spiral1 3 color_map { [0 rgb 0] [1 rgb 1] } scale .5 turbulence .5
lambda 2.2 octaves 9]
[.1 marble color_map { [0 rgb 0] [1 rgb 1] } scale .01 turbulence .5]
}
translate 1
scale .3
}
smooth
}
object {HF
texture {Jord_tex}
clipped_by {plane {-y,-.05}}
scale <5,-2,5>
translate 2*.05*y -<1,.5,1> -x*2.2
}
sphere {0,.15
pigment {rgb x}
translate <-.5,-.5,.3>
}
sphere {0,.15
pigment {rgb x}
translate <1,-.5,.3>
}
sphere {0,1
texture {Jord_tex}
clipped_by { plane {y,-.45}}
translate x
}
Post a reply to this message
|
|