THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/10/2004 at 10:19, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.5+
Platform: Mac OSX ;
Language(s) : C.O.F.F.E.E ; C++ ;
---------
Hello,
maybe someone can shed some light on what numbers the vd->lhit function reads out within Output(PluginShader* sh, ChannelData* cd) routine.
I thought that this gives back the vertex id of the rendered polygon, but it doesn't. The lhit value gives slightly higher numbers or even negative values back when the second CPU starts to kick in rendering the same polygon.
Isn't there a way to get the real polygon id back from within a channel shaders Output routine?