POV-Ray : Newsgroups : povray.beta-test : Round_Box #macro (in shapes.inc) and negative values : Re: Round_Box #macro (in shapes.inc) and negative values Server Time
29 Jul 2024 20:16:57 EDT (-0400)
  Re: Round_Box #macro (in shapes.inc) and negative values  
From: Felix Wiemann
Date: 23 Apr 2002 10:08:30
Message: <3cc56ade@news.povray.org>
Christoph Hormann wrote:
> Felix Wiemann wrote:
>> 
>> Do you want to use a macro for 20000 objects (e.g. generated by a
>> modeller) ? That would be *really* slow.
> 
> The modeller should take care of this itself.

And if the modeller doesn't? :)

> In fact i even think a box with two identical points should generate
> an error or warning since it is not very clear if this results in no
> object or a single point.

A single point, I think. But you're right, a warning would be a good 
idea.

> Equally it's not clear what to make of a cylinder
> with identical end and base point (you could expect nothing, a point
> or a sphere), just dropping it would be incorrect.

I expect a disc. :)
Of course dropping would be incorrect, but I think that generating a 
warning (so the user is noticed that something may go wrong) is a 
better and more flexible solution than stopping with an error.

Felix Wiemann


Post a reply to this message

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