POV-Ray : Newsgroups : povray.general : troubles with isosurface /df3 : Re: troubles with isosurface /df3 Server Time
2 Aug 2024 00:13:02 EDT (-0400)
  Re: troubles with isosurface /df3  
From: Slime
Date: 12 Mar 2005 23:17:42
Message: <4233bee6@news.povray.org>
Alright, just a hunch, but I believe that density files only write values
from 0 to 1 (er, 0 to 255, but those are scaled down to 0 to 1). Since
you're not modifying your density file function from that, all of the area
"outside" the sphere has a function value of 0. But in an isosurface, where
the function is zero is the *surface* of the object. So maybe that's what's
causing your problem.

Try using F(x,y,z)*2 - 1 so that the function goes from -1 to 1, and what
used to be F = 0.5 is now F = 0: the surface.

(I didn't look too heavily at your code so I'm not sure if that's really
what's going on or not, but no one's answered so I wanted to at least try to
help.)

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

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