THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 22/08/2003 at 04:37, xxxxxxxx wrote:
Cinema 4D Version: 7.0
Platform: Mac ;
Language(s) : C.O.F.F.E.E ;
I have been trying to write a shader that uses TraceGeometry, but i keep running in to problems. I think i will need to set the flag "CHANNEL_RAYTRACING". Like this:
…but I get a compilation error. What is wrong?
On 25/08/2003 at 05:34, xxxxxxxx wrote:
This flag isn't available as a constant in C.O.F.F.E.E. then, but you can copy the value from the C++ API:
#define SHADER_RAYTRACING 0x00000001 // shader needs raytracing
#define CHANNEL_RAYTRACING 0x00000001 // channel needs raytracing
On 02/09/2003 at 03:27, xxxxxxxx wrote:
That seems to work nicely with version 8, but both versions 7 and 6 crash as soon as my COFFEE channel implements GetInfo().