POV-Ray : Newsgroups : povray.unofficial.patches : patch requests : Re: patch requests Server Time
5 Jul 2024 14:10:16 EDT (-0400)
  Re: patch requests  
From: Ron Parker
Date: 4 Aug 2002 02:58:31
Message: <slrnakpk4n.rru.ron.parker@fwi.com>
On Sun, 4 Aug 2002 01:24:31 +0200, Rune wrote:
> That would require access to not just the intersection point (like in
> POV-Ray 3.5) but also the direction of the incoming ray, as well as the
> normal of the surface (not like trace, but from inside the function).
> Oh, and the color of the ray. Did I miss something?

You missed the d/du and d/dv of the surface, which are available in SL but
not anywhere in POV.


-- 
#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.