POV-Ray : Newsgroups : povray.general : 4d, 2d bugs in pov 3.1g?? : 4d, 2d bugs in pov 3.1g?? Server Time
11 Aug 2024 05:17:10 EDT (-0400)
  4d, 2d bugs in pov 3.1g??  
From: Greg M  Johnson
Date: 6 Sep 1999 16:04:53
Message: <37d41e65@news.povray.org>
I'm using the superpatch 3.1e with pov 3.1g.

I cannot normalize a 4d vector.  Is  there a bug or am I doing something
wrong?

#declare RRR=seed(2022) ;
#declare UMAX=1 ;
#declare
actorp[n]=UMAX*<rand(RRR)-0.5,rand(RRR)-0.5,rand(RRR)-0.5,rand(RRR)-0.5>;

#declare actorv[n]=vnormalize(actorp[n]);

Also, I'm getting some messages occasionally (after using the patch for
all of 5 minutes)  when trying to #write a 2d vector

#write
(MyFile2,"{",actorp[n].x,",",actorp[n].y,",",0,",",actorv[n].x,",",actorv[n].y,",",0,"}",",","\n")

It hung up at the "y", saying that it was a bad descriptor, or
something.  It didn't like a u & v setup either.  But then this problem
went away!!


Post a reply to this message

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