POV-Ray : Newsgroups : povray.binaries.images : Display problem ~135k : Display problem ~135k Server Time
16 Nov 2024 14:22:11 EST (-0500)
  Display problem ~135k  
From: Patrick Dugan
Date: 16 Jan 2003 21:30:46
Message: <3e276ad6@news.povray.org>
I've been trying to create a contact-lens-like object that is applied to the
outside of a superellipsoid.  The idea is that I could make this "contact"
transparent like a decal on the outside of the superellipsoid.  The
superellipsoids don't work well because when I use a difference between two
of them sections will disappear at certain angles.  I switched to using
isosurface superellipsoids since (as I understand them) they are calculated
differently.  I am using this code:

   difference {
      isosurface {function {-f_superellipsoid(x,y,z, 1,0.5)} scale
<0.5,0.5,0.3>}
      isosurface {function {-f_superellipsoid(x,y,z, 1,0.5)} scale
<0.5,0.5,0.3> translate <0,0,0.001> }

      cone {<0,0, 0.06>, 0.20 <0,0,-0.4>, 0.25}
      box {<2,2,2>,<-2,-2,-0.17>}

      pigment{Red}

      rotate <0,0,0>
   }

In this position the object looks correct. If I rotate the object 180
degrees (y axis) it seems to disappear.  I am including a jpg example of
this happening.  The left image is without rotation and the right 180
degrees on the y axis.  Is this the same bug as a standard superellipsoid or
am I doing something wrong?


Post a reply to this message


Attachments:
Download 'ISSE.jpg' (136 KB)

Preview of image 'ISSE.jpg'
ISSE.jpg


 

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