POV-Ray : Newsgroups : povray.binaries.images : Bozo blob (23KB) : Re: Bozo blob (23KB) Server Time
19 Aug 2024 22:11:46 EDT (-0400)
  Re: Bozo blob (23KB)  
From: Chris Huff
Date: 8 Oct 2000 20:39:06
Message: <chrishuff-567263.19413608102000@news.povray.org>
In article <39E103B3.7EE3B0A9@hotmail.com>, Tor Olav Kristensen 
<tor### [at] hotmailcom> wrote:

> Is there a way in MegaPOV to have a 
> "pattern surface" ? (I.e. make the surface
> of a 3D-shape appear where a pattern have 
> a certain threshold value.)

The isosurface is perfect for this...

#declare Func =
function {
    pigment {bozo color_map {[0 rgb 0][1 rgb 1]}}
}


isosurface {
    function {Func(x, y, z)}
    threshold 0.5
    contained_by {
        box {<-1,-1,-1>, < 1, 1, 1>}
    }
}

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

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