|
|
The following code was fine in megapov but generates this message in
3.5:
function {( ((y-5.5)+PFWaves(x+10,y,z)* <----ERROR
Parse Error: Expected '.', * found instead
Have I missed something about the way functions work in 3.5?
Celeron 400Mhz, 192Mb, 3.5beta1, Win98
Steve
--code--------------------
#declare PFWaves =
function {
pigment {waves scale 10
color_map {
[0 rgb 1.5]
[1 rgb 0]
}
}
}
#declare PFRipples =
function {
pigment {ripples scale <2,4,2> rotate y*35 turbulence 0.5 octaves
1 lambda 0.2
ramp_wave
color_map {
[0 rgb 5]
[0.025 rgb 0.51*5]
[0.05 rgb 0.26*5]
[0.1 rgb 0.1*5]
[1 rgb 0]
}
}
}
#declare ISOF_Water =
function {( ((y-5.5)+PFWaves(x+10,y,z)*2) +PFRipples(x*1/2,y,z*1/2))
+noise3d(x,y,z)/3}
Post a reply to this message
|
|