POV-Ray : Newsgroups : povray.beta-test : non hollow flat disc : Re: non hollow flat disc Server Time
30 Jul 2024 10:11:53 EDT (-0400)
  Re: non hollow flat disc  
From: Ron Parker
Date: 14 Jan 2002 15:51:58
Message: <slrna46h7h.b2g.ron.parker@fwi.com>
On Sat, 12 Jan 2002 10:34:05 +0200, Peter Popov wrote:
> On Sat, 12 Jan 2002 09:23:51 +0100, Christoph Hormann
><chr### [at] gmxde> wrote:
> 
>>That's not a valid argument i think, bicubic patches can use
>>interior_texture too, but they don't have an inside and outside.
> 
> Ouch, that hurt. They got me at last, and they got me good. Tell mommy
> I'm not coming home for Christmas *cough* *spit*
> 
> Whatever... I still think the reason behind the warning is the
> inherent interior of the disc object.

And so it is.  Those with access to the source code to 3.1 or higher can
see in discs.c (or discs.cpp) that Inside_Disc is not a simple "return false"
like, say, Inside_Triangle.  The inside of a disc is the inside of the
plane that contains the disc.  NOTE that it is not constrained by the radius
of the disc, either, making the insideness of discs somewhat useless, but
that's how it's defined.

-- 
plane{-z,-3normal{crackle scale.2#local a=5;#while(a)warp{repeat x flip x}rotate
z*60#local a=a-1;#end translate-9*x}pigment{rgb 1}}light_source{-9red 1rotate 60
*z}light_source{-9rgb y rotate-z*60}light_source{9-z*18rgb z}text{ttf"arial.ttf"
"RP".01,0translate-<.6,.4,.02>pigment{bozo}}light_source{-z*3rgb-.2}//Ron Parker


Post a reply to this message

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