PDA

View Full Version : Developer Support HELP please!


playmesumch00ns
11-01-2002, 10:11 AM
I know this is a little cheeky, but can someone here please tell me the e-mail for A|W developer support?
My university doesn't have the full support contract thingy (since we're only poor and have to have about 70 maya seats on the cheap), but no-one can seem to answer my question, and my degree rests on this problem!

In case someone can help, my problem is this: I'm doing some custom drawing inside a node derived from an MPxLocatorNode, and I want to draw to an offscreen pixel buffer (in win32). My pixel buffer class works fine, but when I try to use it in Maya, it seems to set up ok, and drawing to it does not crash, but using glReadPixels :

pixbuff.Activate() // save the old DC, change context
glBegin(GL_QUADS)
draw some quads
glEnd()

float pixelarray[3];

glReadPixels(0, 0, 1, 1, GL_RGB, GL_FLOAT, pixelarray)
pixBuff.Deactivate(); // change the context back to the old DC

does not return any data, i.e. my pixelarray is unchanged after the call. Writing this it occurs to me that it might be that i'm using wglGetCurrentDC to set up the pixel buffer, although since I'm setting it up inside the view.beginGL() pair that shouldn't make any difference as opposed to using view.DeviceContext(). Anyways I'll try it later.

Please if anyone knows how to fix this i'd be so grateful!

Thanks,
Anders

playmesumch00ns
11-04-2002, 01:30 PM
Please guys can someone tell me the address, this is driving me nuts and it's really really important!

CGTalk Moderation
01-13-2006, 08:01 PM
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.