POV-Ray : Newsgroups : povray.programming : povray as a library : Re: povray as a library Server Time
28 Jul 2024 16:19:06 EDT (-0400)
  Re: povray as a library  
From: Ron Parker
Date: 21 Mar 2000 11:10:56
Message: <38d79f10$1@news.povray.org>
On Tue, 21 Mar 2000 09:00:33 -0800, Robert Schutt wrote:

>I am looking for a function somewhat like this:
>
>color ray_trace (ray r);  // takes a ray and returns a color.

There's Trace, defined as

DBL Trace(RAY *Ray, COLOUR Colour, DBL Weight)

in render.c

-- 
These are my opinions.  I do NOT speak for the POV-Team.
The superpatch: http://www2.fwi.com/~parkerr/superpatch/
My other stuff: http://www2.fwi.com/~parkerr/traces.html


Post a reply to this message

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