POV-Ray : Newsgroups : povray.programming : ATT: POV team and everyone - POV4 design proposal : Re: ATT: POV team and everyone - POV4 design proposal Server Time
28 Jul 2024 20:28:26 EDT (-0400)
  Re: ATT: POV team and everyone - POV4 design proposal  
From: Ron Parker
Date: 14 Jan 2002 08:41:45
Message: <slrna45o0q.u61.ron.parker@fwi.com>
On Sun, 13 Jan 2002 12:24:55 +0200, Eugene Arenhaus wrote:
> How? Easy. You write a Trace routine for transparency shader that will
> create two more ray objects (passing and bouncing), cast them (by
> calling Scene's Trace routine), combine the result in its single ray and
> return that. 

Exactly how some very interesting Renderman shaders work.

-- 
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbt 1}hollow interior{media{emission T}}finish{
reflection.1}}#end Z(-x-x.2y)Z(-x-x.4x)camera{location z*-10rotate x*90}


Post a reply to this message

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