From: Peter Ellenberg (Peter.Ellenberg++at++web.de)
Date: 07/14/2004 06:07:28
Hello,
I'm using Cg in a Performer application like I would do it in any other
OpenGL project. First I create a CgProfile and then I load and compile
the cg file at runtime. After that I enable and disable the profile in
the pre- and post draw callbacks of the pfGeode where I want the shader
to take effect. I found that way much more comfortable than compiling with
cgc to the arb profile and using the pfGProgram and pfGProgramParms classes.
Is there anything wrong in doing it like this? It works ...
Greetings
Peter
____________________________________________________
Aufnehmen, abschicken, nah sein - So einfach ist
WEB.DE Video-Mail: http://freemail.web.de/?mc=021200
This archive was generated by hypermail 2b29 : Wed Jul 14 2004 - 06:10:54 PDT