|
|
Fabien Mosen wrote:
> Pabs wrote:
> >
> > pk wrote:
> >
> > > And, uh, do you think shaders could be done in POV-Ray(like in
> > > Renderman)?? Hope to get some comments!
> >
> > It is possible but damn hard - you would need to write an interpreter for
> > the shader language - maybe RenderMan could lend us their shader
> > interpretation code :))
>
> In fact, the required skills to write a shader is about the same
> as the skills required to write a new pattern into POV-Ray's core code.
Yes to write a new shader but what about implementing a shader
interpreter/caller in POV-Ray.
> Shaders are compiled code, ???????????????? dynamically linked (like dll's)
> to
> the rendering engine. So, implementing shaders in POV-Ray wouldn't
> be THAT hard (though not easy-easy), but using them would require
> the ability to write C code.
Does that mean you need a compiler that will generate the actual CPU/machine
code (platform dependant) for the shader or do you have compilation built into
the renderer & it compiles the shader as an initial stage in rendering.
I thought that shaders were interpreted (seems unlikely now that I think about
it - way too slow)
How do shaders work anyhow.?
Does anyone have the zip/tgz/? of that patch that I mentioned.
--
Bye
Pabs
Post a reply to this message
|
|