POV-Ray : Newsgroups : povray.general : 4d, 2d bugs in pov 3.1g?? : Re: 4d, 2d bugs in pov 3.1g?? Server Time
11 Aug 2024 05:11:57 EDT (-0400)
  Re: 4d, 2d bugs in pov 3.1g??  
From: Greg M  Johnson
Date: 7 Sep 1999 11:58:27
Message: <37D5358C.B550EF6C@my-dejanews.com>
aha.  I think when I tried it last night, I was using .x, .y, .z, and .t.  Thanks,
will try your suggestion.

Ron Parker wrote:

> On Tue, 07 Sep 1999 11:03:46 -0400, Greg M. Johnson wrote:
> >Okay then, can you tell this quite ignorant user how to write a macro that
> >will compute the length of a 4d vector?
> >I know it's simply the square root of the sum of the squares of the individual
> >components.
> >I actually already tried it and think I ran into some error messages...
>
> I think you'll have to do something like
>
> sqrt( V.red*V.red+V.green*V.green+V.blue*V.blue+V.filter*V.filter )
>
> though I haven't tested it.


Post a reply to this message

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