THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 22/05/2007 at 01:23, xxxxxxxx wrote:
Cinema 4D Version:
How to use those methods:
virtual void CalcTransparency(PluginMaterial* mat, VolumeData* vd);
virtual void CalcAlpha(PluginMaterial* mat, VolumeData* vd);
even if i set information about what my plugin requires from the raytracer, like this:
LONG ParticleVolume::GetRenderInfo(PluginMaterial *mat)
program never enter to this method. Only CalcVolumetric and CalSurface work.
It is easy to check with ParticleVolume from sdk.
GePrint("CalcTransprarency"); in ParticleVolume::CalcTransparency <--- it never apper in console window.
On 22/05/2007 at 02:17, xxxxxxxx wrote:
it will be called, but you the shaded objects have to be in a shadowed area. check this example file with the ParticleVolume example from the SDk. CalcTransparency will be called.