MViewportRenderer problem

MViewportRenderer problem

Anonymous
Not applicable
187 Views
0 Replies
Message 1 of 1

MViewportRenderer problem

Anonymous
Not applicable
Hi,

I'm having a problem with creating a renderer subclass of MViewportRenderer -

The problem is that whatever I do, I can't get the rendered output to display in the viewport!

The same problem is happening with the OpenGLViewportRenderer and D3DViewportRenderer examples built straight out the devkit. The code compiles fine, loads into Maya fine, you can select the plugin as a renderer option in the viewport but nothing is drawn. I have stepped through the code and the render() function is being called, and all the GL draw commands are being called, but nothing is appearing.

I've tried the OpenGLViewportRenderer example code on OSX and Windows, and the D3DViewportRenderer on windows with the same (lack of) result. Also tried on two different machines in case it was gfx card related.

Any ideas? I'm running Maya 2011 64 bit on OSX 10.6.3 and Windows7 x64 - Has anyone successfully built and run the renderer examples on 2011 64bit?

Thanks,
graf.
0 Likes
188 Views
0 Replies
Replies (0)