|
|
> On 19-9-2014 21:53, LanuHum wrote:
>> In the console there are a lot of lines:
>> File '/usr/share/povray-3.7/include/math.inc' line 232: Possible Parse
>> Error:
>> Normalizing zero-length vector.
>
> I know but I don't know what to do about that. As far as I know I have
> dealt with all zero-length vectors.
because sometimes <Norm> is equal to <0.000, 1.000, 0.000>
then, you caculate VerAng with :
#local VerAng = VAngleD(<Norm.x, 0, Norm.z>, Norm);
first parameter become <0.000, 0.000, 0.000>
VAngleD use vnormalize that is not defined for a null vector.
and you get :
Possible Parse Error: Normalizing zero-length vector.
you can, for exemple, correct this by adding smalls values to <Norm>
#if ((Norm.x = 0.0) & (Norm.z = 0.0))
#local Norm = <0.0001, Norm.y, 0.0001>;
#end
> Anyway, they have no effect on the render.
no visible difference in fact :)
---
Kurtz le pirate
Compagnie de la Banquise
Post a reply to this message
|
|