POV-Ray : Newsgroups : povray.beta-test : vnormalize of 0 vector still bombs Server Time
4 Nov 2024 13:01:55 EST (-0500)
  vnormalize of 0 vector still bombs (Message 1 to 1 of 1)  
From: Redbeard (MDJohnson)
Subject: vnormalize of 0 vector still bombs
Date: 8 Oct 2001 02:14:15
Message: <3bc14437$1@news.povray.org>
Pov 3.5b5, AMD Athlon 700, 192MB Windows 98SE

This still crashes uncermoniously.  Changing #while(I<11) to <10 doesn't
crash.

#declare X = vnormalize(<0,0,0>);

#declare I = 0;
#while (I < 11)
    sphere { X, 1 pigment { rgb 1 } finish { ambient 1 } }
    #declare I = I + 1;
#end

Michael
-----
#declare R=<8,4,.6>/3;#declare
C=function{pattern{object{text{ttf"crystal.ttf"
"MDJ"1,0translate-R/4}}}}camera{location-z*30}box{-R,R pigment{rgbf
1}interior
{media{emission.1density{function{C(x,y,z)}density_map{[0mandel
50color_map{[0
rgb 0][.2rgb x][1rgb x+y]}interior 1,1.5scale
60translate<-33.75,2.85>exponent
4][1rgb<2,2>]}}}}scale 24hollow}// (c) 2001 MDJohnson
red### [at] wvadelphianet


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.