POV-Ray : Newsgroups : povray.programming : Re: Pains in rendering complex polygons : Re: Pains in rendering complex polygons Server Time
5 Jul 2024 15:22:18 EDT (-0400)
  Re: Pains in rendering complex polygons  
From: Christopher James Huff
Date: 4 Aug 2003 12:02:51
Message: <cjameshuff-B41606.11011004082003@netplex.aussie.org>
In article <3f2e1de4@news.povray.org>, Warp <war### [at] tagpovrayorg> 
wrote:

> Mike Williams <mik### [at] econymdemoncouk> wrote:
> > Omitting the comma happens to work for this particular case, but there
> > are similar situations where commas are required.
> 
>   Can you cite an example?

Anything that has an expression starting with an operator, such as "-x".
polygon {Foo
    Foo
    -Foo2
    Bar
}

The point list will be interpreted as "Foo - Foo2, Bar".

This kind of error can be very difficult to track down. I *always* use 
commas, and always use logic which puts them where they are needed.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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