POV-Ray : Newsgroups : povray.general : Isosurface and CSG : Isosurface and CSG Server Time
5 Aug 2024 06:13:52 EDT (-0400)
  Isosurface and CSG  
From: GRedner
Date: 10 Nov 2002 13:05:06
Message: <web.3dce9f165d7f5b933f9b38ca0@news.povray.org>
I'm new here, so bear with me :)

I need to create an oddly-shaped object (and unforunately I can't 'cheat' -
it has to be exact). It's an isosurface of the following form (simplified):

isosurface {
    function { (x*y)/(z*z) } open
    contained_by { box { -10, 10 } }
}

And it looks like this:
http://gredner.dnsalias.com:1983/Ars/povray1.png

What I want to so is cut the isosurface in half about the origin, such that
the upper and lower "cups" are separate. Furthermore, I'd like to be able
to fill each of them with a different color.

How would I do this? I've done some experimentation with using CSG, but I
can't seem to get it right. The simplest operation, to create the two solid
cups, I thought could be accomplished by removig the "open" specifier and
doing a difference object, subtracting the isosurface from a box of the
same size, but that gives me a result which doesn't look even remotely
right.



-Gabe


Post a reply to this message

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