How to get the face being rendered... faster?
-
On 02/06/2014 at 10:59, xxxxxxxx wrote:
I'm creating a shader that needs to know what face is being rendered.
I made it work with c4d.utils.GeRayCollider but... damn! It is slow!!!
Mainly with objects that are very, very dense.
Is there any way to get what face is being hit by the current render ray in a faster way? -
On 03/06/2014 at 21:58, xxxxxxxx wrote:
There BaseVolumeData.lhit but that returns just a PyCObject in Python.
It's a limitation not yet resolved.Best,
-Niklas