THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 15/04/2005 at 08:47, xxxxxxxx wrote:
Cinema 4D Version: 7
Platform: Windows ;
Language(s) : C++ ;
Have been trying to write a little test with a VOLUMESHADER plugin that traces the scene and changes the current pixel colour slightly. However, the plugin seems to crash no matter how I change the code.
My current code (in the CalcVolumetric method) centres around this snippet ...
col = sd->TraceColor(sd->ray,1000000,0,p,n,hit);
Is this rights? Or am I missing something out?