POV-Ray : Newsgroups : povray.general : area highlights : Re: area highlights Server Time
19 Nov 2024 22:26:58 EST (-0500)
  Re: area highlights  
From:
Date: 20 Dec 2001 10:46:41
Message: <qo142ukodc8f3r77sfejfuhlcfot97rqdd@4ax.com>
On Thu, 20 Dec 2001 15:53:05 +0100, "Simon Adameit" <gom### [at] gmxde> wrote:
> Is there another way to get the normals

As I said I'm affraid no, but ...

> or should I just make a thing that only
> works for spheres?

... you can write patch (start with current 3.1 sources and later move to 3.5).
Of course before patch you can test general rule with functions, spheres and
betas.

ABX
--
#declare _=function(a,b,x){((a^2)+(b^2))^.5-x}#default {pigment{color rgb 1}}
union{plane{y,-3}plane{-x,-3}finish{reflection 1 ambient 0}}isosurface{ //ABX
function{_(x-2,y,1)&_((x+y)*.7,z,.1)&_((x+y+2)*.7,z,.1)&_(x/2+y*.8+1.5,z,.1)}
contained_by{box{<0,-3,-.1>,<3,0,.1>}}translate z*15finish{ambient 1}}//POV35


Post a reply to this message

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