PDA

View Full Version : Maya API question N4 (rendering, z-buffer)


toshich
12-27-2003, 12:41 PM
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

CGTalk Moderation
01-17-2006, 01:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.