|12 December 2003||#1|
Join Date: Sep 2002
Maya API question N4 (rendering, z-buffer)
Hello, Dear Gurus!
Merry Christmas to all!
(exuse my language)
My question is about MRenderCallback and MRenderData in Maya Api. I want to use these classes to determine visibility of points of poly mesh. I know, that i have to check z-buffer.
In theory, i take a point of the mesh, finding corresponded pixel of the image and look at the z-buffer, if point is "far than grayscale value", i don't want to use this point in later computations.
But i don't understand how to use these classes (don't understand callbacks and such things in Maya).
I tried to understand "renderAccessNode" in Maya plugin examples, but failed. I don't understand this code.
PLEASE, PLEASE HELP ME!!!!
Thank you very much from not so cold and snowy moscow.
|Thread Closed share thread|