THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/12/2008 at 08:52, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 10
Platform: Windows ;
Language(s) : C++ ;
---------
In the end of my function
void fogShader::CalcVolumetric(PluginMaterial *mat,VolumeData *vd)
I have added the following two lines just to experiment with color and transparency.
vd->col=1.0;
vd->trans=1.0;
My understanding is, that the volume should be fully transparent, but I get a white screen. Foley suggests for transparency
I_k=(1-kt_1)*I_1+kt_2*I_2
But that's obviously not what is used in C4d. However if you try just the values in c4d itself, it works like the formula, but not in the C function.
Thanks for any comments.