POV-Ray : Newsgroups : povray.unofficial.patches : mega-newbie seeks mega-clue : Re: mega-newbie seeks mega-clue Server Time
2 Sep 2024 00:19:21 EDT (-0400)
  Re: mega-newbie seeks mega-clue  
From: Chris Huff
Date: 19 Aug 2000 17:50:37
Message: <chrishuff-45555B.16515619082000@news.povray.org>
In article <399EE07F.65720247@pobox.com>, Anton Sherwood 
<bro### [at] poboxcom> wrote:

> Why does this show nothing?

You don't specify a threshold, so it defaults to 0. Your function only 
evaluates to 0 at a few points(if it ever does), so surfaces are found. 
Try using a threshold of 0.5 for some results.

isosurface {
    function {sqr(x) + sqr(y) + sqr(z) - PigFun(x,y,z)}
    threshold 0.5
    contained_by {sphere {0, 2}}
    pigment {rgb 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.