POV-Ray : Newsgroups : povray.binaries.images : can any one tell me what's wrong with my iso? : Re: can any one tell me what's wrong with my iso? Server Time
19 Aug 2024 22:13:23 EDT (-0400)
  Re: can any one tell me what's wrong with my iso?  
From: Christoph Hormann
Date: 17 Oct 2000 03:08:19
Message: <39EBFAE3.A06B7A4B@schunter.etc.tu-bs.de>
Tor Olav Kristensen wrote:
> 
> > On the other hand it does not work with 'method 2' and things like surface
> > perturbation with noise3d and pigment functions.
> 
> Ehhh... I know nothing about this.
> You see - I'm a newbie to MegaPOV and iso-surfaces.
> 

just have a function like:

#declare fnBumps=function { noise3d(x*12, y*12, z*12) }

or

#declare fnBumps=function { pigment { agate color_map {[0 rgb 0][1 rgb 1]} } }

and add/substract it to/from the isosurface function like this:
  
isosurface{                            
  function { (sqrt(x*x + y*y + z*z) -0.9) -fnBumps(x,y,z)*0.1 }  
  method 2
  accuracy 0.001
  eval
  contained_by{ sphere{ <0,0,0> 1.2 } }       
} 

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

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