POV-Ray : Newsgroups : povray.binaries.images : Function-Based Shader Macro : Re: Function-Based Shader Macro Server Time
15 Aug 2024 02:32:36 EDT (-0400)
  Re: Function-Based Shader Macro  
From: Christopher James Huff
Date: 17 Aug 2002 20:53:10
Message: <chrishuff-B27C9B.19395817082002@netplex.aussie.org>
In article <3D5E61F0.618B8540@aol.com>, Dave Dunn <poi### [at] aolcom> 
wrote:

> Hmm, hope this doesn't get too far off topic, but I believe there was a debate
> a few months back on povray.general about the concept of finish maps. I don't
> know what the technical limitations are on actually programming them into POV,
> but it seems to make logical sense to have pigment/normal/finish all accept
> the same patterns - this is especially useful for "cutaway," that is,
> partially-transparent patterns. The conventional wisdom is to simply make a
> texture map with various materials, but that is the hard way IMO.

One possibility would be to allow you to specify a function for any 
float, color, or vector value in the finish...would that satisfy you? ;-)
There would be a small speed penalty from the overhead of choosing 
between a function and a constant, but an enormous increase in 
flexibility. It would require lots of rewriting though.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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