POV-Ray : Newsgroups : povray.general : Re: Shaders in Pov-RAY - was - Calling external Math functions from .dll or .so Server Time
2 Aug 2024 06:17:49 EDT (-0400)
  Re: Shaders in Pov-RAY - was - Calling external Math functions from .dll or .so (Message 11 to 11 of 11)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Christopher James Huff
Subject: Re: Shaders in Pov-RAY - was - Calling external Math functions from .dll or .so
Date: 23 Feb 2005 13:27:12
Message: <cjameshuff-7FA0BF.13272123022005@news.povray.org>
In article <421cad09$1@news.povray.org>, "scott" <sco### [at] spamcom> 
wrote:

> Or a pigment that changes colour depending on the angle between the surface
> normal and the viewer.

I've got a patch that allows this...it adds some extra parameters to 
function patterns, giving them the ray direction and surface normal. 
Hopefully I'll release it this weekend. It's still more awkward for 
complex stuff than a full-fledged shader language would be.

However, you really don't need plugins. The existing system of code 
libraries can do everything plugins could, with fewer difficulties.

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

<<< Previous 10 Messages Goto Initial 10 Messages

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