toshich
12-27-2003, 11:41 AM
Hello, Dear Gurus! :bowdown:
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. :cry:
PLEASE, PLEASE HELP ME!!!!
Thank you very much from not so cold and snowy moscow.
toshich
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. :cry:
PLEASE, PLEASE HELP ME!!!!
Thank you very much from not so cold and snowy moscow.
toshich
