|
![](/i/fill.gif) |
Am I too dummy or is it a bug with pov 3.5 beta 8 and 9 ?
This scene rendered perfectly with pov 3.1g. So, I tried to transpose it to
pov 3.5, but...
Here is a part of the scene :
#declare Pig = function { pigment { wrinkles color_map { [0 rgb 1][1 rgb
0] } } }
#declare Pq =
isosurface {
function { y + 0.22 + 0.05*Pig(10*x,10*y,10*z) }
threshold 0.5
bounded_by { box { <-0.9, 0, -0.9>, <0.9, 0.5, 0.9> } }
scale <1, 0.5, 1>
translate 0.1*y
}
And the corresponding message error :
isosurface {
function { y + 0.22 + 0.05*Pig(10*x,10*y,10*z) } <----ERROR
Parse Error: Expected '.', } found instead
Another attempt with a predefined function :
#declare Pq =
isosurface {
function { y + 0.22 + 0.05*f_noise3d(10*x,10*y,10*z) }
threshold 0.5
bounded_by { box { <-0.9, 0, -0.9>, <0.9, 0.5, 0.9> } }
scale <1, 0.5, 1>
translate 0.1*y
}
And the resulting message :
isosurface {
function { y + 0.22 + 0.05*f_noise3d( <----ERROR
Parse Error: Expected 'operator', ( found instead
A clue : in the scene window, the words "f_noise3d", "f_torus", etc are not
recognized as keywords (povray doesn't give them the keyword colour).
Is it a real problem or am I completely off-topic ?
Rico
Post a reply to this message
|
![](/i/fill.gif) |