CalcVolumetric calls for MaterialData
On 28/01/2013 at 06:17, xxxxxxxx wrote:
Cinema 4D Version: 13
Platform: Windows ;
Language(s) : C++ ;
i am messing around with a volumetric material plugin and came across an issue.
It must evaluate the incomming light at some points in the medium. For this i use vd->IlluminateAnyPoint. The material is assigned to a box. The problem is that the transmission coefficient of the medium is only evaluated (by another call to CalcVolumetric) for lightsource outside the medium. See figure.
Is there a way to trick Cinema into calling CalcVolumetric for the ray towards the light source in the top figure? If not, is there a way to determine if CalcVolumetric was called? How about arealights which could be partially in the volume?
On 28/01/2013 at 07:33, xxxxxxxx wrote:
I forwarded your question directly to the developers.
On 29/01/2013 at 01:01, xxxxxxxx wrote: