|
|
Hi,
I have a strange problem, where I were not able to find a solution on the net so
far.
When I use a "sin(...)" in a sor- or lathe-object, the argument of the function
cannot exceed Pi.
For Example:
sor{5,
<1,2>,
<sin(3),3>,
<sin((1.001-0.001)*Pi),5>,
<4,6>,
<1,7>
pigment{color Blue}
}
this works fine, but with
sor{5,
<1,2>,
<sin(3),3>,
<sin(1.001*Pi),5>,
<4,6>,
<1,7>
pigment{color Blue}
}
I get the error message:
"Parse error: Incorrect point in sor."
I used a self-defined Pi in this example, but even without "sin(3)" works,
"sin(3.15)" and bigger arguments do not work.
Even if I have a macro which calculates the sine
#macro Sine(x)
#declare Global_Value=sin(x);
#end
and put "Global_Value" within the brackets of the coordinates in sor (or lathe)
I have the exact same effect.
If I use a sine for the position of a light source for example, I can put in
every argument.
I am using Povray 3.6.1 from the ubuntu repository and I also tried it with the
same result on a windows machine and Povray 3.6.2.
Any suggestions?
Cheers
McMinty
Post a reply to this message
|
|