Call for Submission
NAB 2012 Best of the Best Show Reel
Submit your work today!
  • 1/3
You are here: Forum Home / Autodesk® Maya® / SDK / How to integrate a renderer into Maya?
  RSS 2.0 ATOM  

How to integrate a renderer into Maya?
Rate this thread
 
35301
 
Permlink of this thread   Subscribe to this thread
avatar
  • yaoyansi
  • Posted: 06 October 2009 10:06 PM
  • Total Posts: 26
  • Joined: 29 September 2009 06:37 AM

hi, all
I want to write a plugin(*.mll) to integrate a renderer into maya. So, user can
choose this renderer as well as maya software or mental ray to render their scenes.
But i don’t know how to do this. Is there any guid or source code about this?
Thanks.



Replies: 0
avatar
  • yaoyansi
  • Posted: 20 November 2009 06:53 AM

Any help?



Replies: 1
/img/forum/dark/default_avatar.png

Yansi ,

Check out the MEL command “renderer” . It is used to register new renderers like Mental Ray . 

You can also check out the devkit example OpenGLViewportRenderer . It will not give you everything you need to integrate a renderer like Mental Ray , but it will help you understand how to support the viewport display of your renderer .

Good Luck ,
Chris Haney

Author: chaneyX

Replied: 01 December 2009 03:37 PM  
avatar
  • yaoyansi
  • Posted: 01 April 2010 04:17 PM

hi, chaneyX
Thanks for your reply.
I want to integrate my renderer into maya, my renderer is not a hardware renderer, it does not use opengl and d3d, it is a software renderer just like Luxrenderer.
I want to integrate this renderer into maya to make it an experimental alternative renderer.

I can use the command renderer to regist some procedures to maya now, but I’m not sure how to implement the render interfaces of my renderer for maya. I took a look at Gelato and Mango(Gelato’s pulgin for maya). Mango uses command renderer to register itself as a maya renderer, and it also uses mango.mll which may implement the interfaces of Gelato for maya. My question is how to implement the interfaces of my renderer for maya. I think maya may defined some specifics for custom renderer, but where is the documents?
Could you give me some suggestions?

Thank you.



Replies: 1
/img/forum/dark/default_avatar.png

You have to use the renderer command to add your renderer to the Render Settings (renderer -addGlobalsTab). Make your plug-in create a node to contain all the values set in the new tab. You can also integrate some settings in the first tab (Common), but it a difficult task.

You can send your rendering in the Render View with the MRenderView class.

The most difficult is to integrate your renderer in the Hypershade. It’s a nightmare.

Be careful : integrating a renderer in Maya is a lot of work.

Author: oodini

Replied: 08 April 2010 10:50 PM  




   
  Settings Choose Theme color: