|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |