POV-Ray : Newsgroups : povray.general : Holes in SuperEllipsoids : Holes in SuperEllipsoids Server Time
7 Aug 2024 19:24:29 EDT (-0400)
  Holes in SuperEllipsoids  
From: Patrick Dugan
Date: 8 Jul 2001 10:19:08
Message: <3b486bdc@news.povray.org>
I am tryting to create a difference between two Superquadric Ellipsoid
Objects.  Whenever I do this the object has some odd cutouts that appear at
certain angles.  I will post the image example in the binaries/images area.
Anything I can do to get the same object shape without the cutouts?  Here is
my questionable code...


///////////////////////////////////////
#include "colors.inc"

#version unofficial MegaPov 0.7;
global_settings {
   assumed_gamma 2.2
   max_trace_level 25
}

light_source {< -500, 500, -500> color White * 1.0}
camera { location <0,0,-3> look_at  <0,0,0>}


difference {
   superellipsoid {<0.25, 0.25> scale <1.00,1.00,1.00>}
   superellipsoid {<0.25, 0.25> scale <0.98,0.98,2.01>}  // deeper on z axis
to create cutout...
   scale <1,0.25,0.15>
   texture {pigment {Green} finish {ambient 0.4}}
   rotate <-90,0,90>
   rotate y * 45
}

sphere {<0,0,0> , 1300.0 texture {pigment { Gray90 }} hollow}

//////////////////////////////////////


Post a reply to this message

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