POV-Ray : Newsgroups : povray.windows : Nested While Loops Bug? Problem with arrays? : Re: Nested While Loops Bug? Problem with arrays? Server Time
28 Jul 2024 20:35:12 EDT (-0400)
  Re: Nested While Loops Bug? Problem with arrays?  
From: Nathan Kopp
Date: 25 Oct 1998 00:41:01
Message: <36329D69.B50F77B@Kopp.com>
I agree that it should be changed.  The reason is probably that four- and
five- element vectors were originally intended for colors only.  However,
many users can probably think of far more uses.

Actually, fixing this 'bug' would require some changes to some of the
assumptions made by POV.  First, colors (4d or 5d vectors) and coordinates
(2d or 3d vectors) are considered different by POV.  Using one in place of
another usually generates errors.  This may not be the best way to handle
the issue, but it is what was chosen by the POV-Ray team long ago and
would require a bit of work to change.

-Nathan


Dan Connelly wrote:
> 
> It is a bug, intentional or otherwise, if it is inconsistent with the
> documentation, and I don't know where the documentation indicates
> that 4-d vectors must be associated with the color keyword.
> 
> What is the purpose of such a restriction?
> 
> Dan


Post a reply to this message

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