|
|
On Fri, 21 Dec 2001 17:17:05 +0100, "Rico" <Eri### [at] wanadoofr> wrote:
> 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...
How could it render with pov 3.1g when there wasn't isosurface in 3.1 ?
You are talking probably about MegaPOV but you shouldn't expect exactly the same
behavour becouse megapov was only _unofficial_ set patches
> 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
The message is right. Pig() returns vector (or color). You should add .gray
operator or change pigment to pattern if you want MEGAPOV's behaviour.
> And the resulting message :
>
> isosurface {
> function { y + 0.22 + 0.05*f_noise3d( <----ERROR
> Parse Error: Expected 'operator', ( found instead
Have you included "functions.inc" to this script ?
> Is it a real problem or am I completely off-topic ?
not completly but almost :-)
ABX
--
#declare _=function(a,b,x){((a^2)+(b^2))^.5-x}#default {pigment{color rgb 1}}
union{plane{y,-3}plane{-x,-3}finish{reflection 1 ambient 0}}isosurface{ //ABX
function{_(x-2,y,1)&_((x+y)*.7,z,.1)&_((x+y+2)*.7,z,.1)&_(x/2+y*.8+1.5,z,.1)}
contained_by{box{<0,-3,-.1>,<3,0,.1>}}translate z*15finish{ambient 1}}//POV35
Post a reply to this message
|
|