POV-Ray : Newsgroups : povray.general : Holes in SuperEllipsoids : Re: Holes in SuperEllipsoids Server Time
7 Aug 2024 19:20:10 EDT (-0400)
  Re: Holes in SuperEllipsoids  
From: Chris Huff
Date: 10 Jul 2001 14:52:05
Message: <chrishuff-DBE04A.13503310072001@povray.org>
In article <3B490638.D342FF02@worldnet.att.net>,
 Tim Attwood <tim### [at] worldnetattnet> 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] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

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