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: Bill Pragnell
Date: 19 Apr 2009 09:15:01
Message: <web.49eb22a17f5031e469f956610@news.povray.org>
"clipka" <nomail@nomail> wrote:
> "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
> ;)

....or put the comma before the vector, so each vector supplies the comma for the
previous one, and the first one supplies the comma after the initial vector
total.


Post a reply to this message

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