POV-Ray : Newsgroups : povray.binaries.images : Strange Result... : Re: Strange Result... Server Time
1 Aug 2024 02:17:57 EDT (-0400)
  Re: Strange Result...  
From: clipka
Date: 19 Apr 2009 08:00:00
Message: <web.49eb113e7f5031e4990f413d0@news.povray.org>
"Slime" <fak### [at] emailaddress> wrote:
> > The #if clause is necessary because the last vector statement must not be
> > followed by a comma.
>
> In most cases in POV-Ray, an extra comma is permitted at the end of a list.
>
> If that isn't the case for meshes, you can still go with the simpler
>
>          <(a+1)*800+b, (a+1)*800+b+1, a*800+b+1>
>          #if  ( b != 798 | a != 398 )
>            ,
>          #end
>
> which doesn' t look like there's some crazy weird special case.

Another possibility would be to just add a "dead" vector to the end of the list
;)


Post a reply to this message

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