POV-Ray : Newsgroups : povray.binaries.images : Patina/grime (40k) Server Time
17 Aug 2024 22:26:10 EDT (-0400)
  Patina/grime (40k) (Message 11 to 12 of 12)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: ingo
Subject: Re: Patina/grime (40k)
Date: 31 Aug 2001 13:37:10
Message: <Xns910EC794929E7seed7@povray.org>
in news:slr### [at] fwicom Ron Parker wrote:

> The solution I proposed the last time this discussion came around
> was to fire rays from just "above" the intersection point in a
> small area around the intersection point, and estimate the
> curvature from that. 

:) You could have shot your first ray through a hole and have the 
random rays now inspecting the inside of a big cavity.

Anyway, could something like this be done with functions and macro's?

Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

From: Ron Parker
Subject: Re: Patina/grime (40k)
Date: 31 Aug 2001 13:53:46
Message: <slrn9ovjpc.4or.ron.parker@fwi.com>
On 31 Aug 2001 13:37:10 -0400, ingo wrote:
>in news:slr### [at] fwicom Ron Parker wrote:
>
>> The solution I proposed the last time this discussion came around
>> was to fire rays from just "above" the intersection point in a
>> small area around the intersection point, and estimate the
>> curvature from that. 
>
>:) You could have shot your first ray through a hole and have the 
>random rays now inspecting the inside of a big cavity.
>
>Anyway, could something like this be done with functions and macro's?

I doubt it.  For one thing, I don't think you can use trace() in a function,
even in 3.5.  That would kill it right there.

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

<<< Previous 10 Messages Goto Initial 10 Messages

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