POV-Ray : Newsgroups : povray.binaries.images : isosurface - what's happening here? : isosurface - what's happening here? Server Time
14 Aug 2024 20:20:50 EDT (-0400)
  isosurface - what's happening here?  
From: Canicus
Date: 4 Sep 2002 09:18:10
Message: <3d760812@news.povray.org>
Apologies if this has been answered before; I suspect it should have been,

In my first-ever experimenting with iso-surfaces, I've run across this: <see
image>

There are some quite apparent "gridlines" appearing on the perturbed sphere;
they're ugly and I've no idea where they are coming from.  I've played with
the 'accuracy' setting with no success.

(POV v3.5 640x480noAA)

Scene file:

#include "functions.inc"
camera {location -1.1*z look_at <0,0,0>}
light_source {<5,5,-10> rgb 1}

#declare Sphere = function {pow(x,2) + pow(y,2) + pow(z,2)}
#local PETURB = 30;
#local FLATTEN = 30;
isosurface {
    function  { Sphere(x,y,z) +
f_snoise3d(x*PETURB,y*PETURB,z*PETURB)/FLATTEN }
    threshold 0.2
    max_gradient 3
    accuracy 0.0001
    pigment {rgb 1}
}


Post a reply to this message


Attachments:
Download 'isosurface.JPG' (32 KB)

Preview of image 'isosurface.JPG'
isosurface.JPG


 

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