POV-Ray : Newsgroups : povray.general : reflection, ambient and diffuse as functions of the coordinates Server Time
28 Nov 2024 12:41:06 EST (-0500)
  reflection, ambient and diffuse as functions of the coordinates (Message 1 to 1 of 1)  
From: William Peska
Subject: reflection, ambient and diffuse as functions of the coordinates
Date: 14 Jan 2007 10:49:51
Message: <45aa511f@news.povray.org>
I want to specify the reflection, ambient and diffuse value of every 
point from a given surface as a function of the world coordinates of 
that point. In other words:

finish { reflection {u(x, y, z), v(x, y, z)} ambient f(x, y, z) diffuse 
g(x, y, z) }

where u, v, f, g are R^3 -> [0, 1]^3 functions mathematically.

How to do this in POV-Ray?

Will ever POV-Ray support syntax which permits expressions similar to 
the above?

Thank you,
William


Post a reply to this message

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