|
![](/i/fill.gif) |
In article <3B490638.D342FF02@worldnet.att.net>,
Tim Attwood <tim### [at] worldnet att net> wrote:
> Well, that looks like the normal on some of the triangles got flipped
> somewhere inside POV.
The scene he posted didn't use any triangles, just a CSG difference with
two superellipsoids. This is probably an error in the solving method,
maybe some intersections are not being found.
> You can get the same shape with a CSG, "rounded box". Here's some
> code, the first part is a RoundBox macro and the second your example
> rewritten to use it.
BTW, the shape of a "rounded box" is not exactly the same as a
superellipsoid...the superellipsoid doesn't have any truely flat areas.
A CSG shape might actually be faster than a similar superellipsoid...it
will use more memory, of course. Another solution would be to use a
difference of two isosurface superellipsoids...isosurfaces use a
completely different solving method which might render without
artifacts, and can sometimes be faster...though harder to use.
--
Christopher James Huff - chr### [at] mac com, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tag povray org, http://tag.povray.org/
<><
Post a reply to this message
|
![](/i/fill.gif) |