POV-Ray : Newsgroups : povray.advanced-users : Redux question on isosurfaces. : Re: Redux question on isosurfaces. Server Time
30 Jul 2024 00:17:37 EDT (-0400)
  Re: Redux question on isosurfaces.  
From: David Fontaine
Date: 8 Aug 2000 01:20:46
Message: <398F96B2.2D190421@faricy.net>
CreeD wrote:

> Thanks to all that replied (the bucky ball is neat T.O.C.) ...
> let me rephrase my earlier question.
>
> Is there a 'standard' way to take a pigment/normal such as marble, wood, or
> basic checker-type patterns and make them not only *look* like a surface
> normal
> but to actually *be* a surface normal using isosurfaces?
> The hexagon thing didn't work but I got it to sorta do what I was
> expecting, in that
> I ended up with a bunch of 3-D six-sided polygons extruding in the y
> direction.
>
> What would the code look like for a crackle sphere using isosurfaces?

#declare Normal = function { pigment { crackle } }
isosurface {
   function { sqrt(x^2+y^2+z^2)-1-Normal*.1 }
   ...
}

--
David Fontaine     <dav### [at] faricynet>     ICQ 55354965
Please visit my website: http://www.faricy.net/~davidf/


Post a reply to this message

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