|
![](/i/fill.gif) |
Ron Parker wrote:
> >After all, and if I understood well, renderman shaders must
> >be compiled with an ordinary C++ compiler, and they are -sort of-
> >dynamically linked to the renderer (who gives some data to
> >the shader, and get a pixel color or some other data in return).
>
> Not exactly. They're compiled into bytecode (IIRC) by the shader
> compiler, which is not really a C compiler. They're then executed
> by the renderer pretty much as you say.
>
Adjustment:
IIRC new version of BMRT shader compiler (2.5???) will compile shader
into C code, and RenderDotC (another RM compliant scanline renderer)
compiles as well shader into C code, from which shared library (or dll)
is created.
Post a reply to this message
|
![](/i/fill.gif) |