POV-Ray : Newsgroups : povray.newusers : help! my sphere test function creates a quad! : Re: help! my sphere test function creates a quad! Server Time
5 Nov 2024 03:17:15 EST (-0500)
  Re: help! my sphere test function creates a quad!  
From: Christopher James Huff
Date: 31 Jul 2002 14:21:06
Message: <chrishuff-67484F.13131231072002@netplex.aussie.org>
In article <3d481969@news.povray.org>,
 Christian Parpart <cpa### [at] surakwarenet> wrote:

> isosurface {
>   function { sqrt(pow(x, 2) + pow(y, 2) + pow(z, 2)) - 2 }
>   pigment { color Gold }
> }
> 
> All I get is a block not a sphere. So how is this happening. What did I 
> forget? any extra command line parameter or anything else?

You need to specify an appropriate contained_by shape. If I recall 
correctly, the default is a box from <-1,-1,-1> to < 1, 1, 1>, which is 
just too small to contain your sphere.

-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

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