POV-Ray : Newsgroups : povray.newusers : isosurfaces.... Server Time
28 Nov 2024 11:41:05 EST (-0500)
  isosurfaces.... (Message 1 to 2 of 2)  
From: Paul Daniel Jones
Subject: isosurfaces....
Date: 14 Nov 2000 08:37:24
Message: <3A114013.5C2906BF@psu.edu>
Sorry to keep acting stupid with isosurfaces, but I have a really dumb
question... I know that isosurfaces have a bug where the contained_by
shape is not translated if the isosurface itself is translated, is there
a way to place an iso anywhere else other than <0,0,0> (assuming I am
using a sphere as the container). I tried the following:

isosurface {
blah
blah
blah
    contained_by {sphere {<0,1,0> 1}}
blah blah blah}

and the object is squished, ie.... it is not translated but rather
deformed in a most unpleasant way.

Anybody got any ideas? Or am I missing something so obvious that I
should hide under the bed in shame??  :-)


-paul

--
-------------------------------------------#
Paul Daniel Jones
120 Chandlee Laboratory
Penn State University
814-865-2090
pdj### [at] psuedu

http://research.chem.psu.edu/glassgrp/paul
--------------------------------------------#


Post a reply to this message

From: Ron Parker
Subject: Re: isosurfaces....
Date: 14 Nov 2000 08:39:37
Message: <slrn912g4q.5q4.ron.parker@fwi.com>
On Tue, 14 Nov 2000 08:37:23 -0500, Paul Daniel Jones wrote:
>Sorry to keep acting stupid with isosurfaces, but I have a really dumb
>question... I know that isosurfaces have a bug where the contained_by
>shape is not translated if the isosurface itself is translated, is there
>a way to place an iso anywhere else other than <0,0,0> (assuming I am
>using a sphere as the container). I tried the following:

What if you translate the container separately?

isosurface {
  blah blah blah
  translate <0,1,0>
  contained_by {sphere {0,1 translate <0,1,0>}}
  blah blah blah
}

-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
My opinions.  Mine.  Not anyone else's.


Post a reply to this message

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