Community
Maya Programming
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya SDK topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Order rendering object in VP2

1 REPLY 1
Reply
Message 1 of 2
Anonymous
217 Views, 1 Reply

Order rendering object in VP2

I'm implementing a visual effect in Maya VP2. Basically there two objects A & B in the scene, I want to ensure A is always rendered first (A could be assigned with a standard blinn material), and the rendering result is grabbed into a render target texture. Then in next rendering pass, when B is rendered, the render target texture is used to do some lookup in a shader assigned to B.

 

The only way to I can figure out in VP2 is via MRenderOverride: create one MSceneRender just for A and another one for B. I haven't get my mind very clear yet especially when except for A & B, lots of other rendering object in scene, will scalability become a big problem. I'd like to get some opinion before diving into the implementation.

 

Thanks.

1 REPLY 1
Message 2 of 2
cheng_xi_li
in reply to: Anonymous

Hi,

 

I am afraid there is no API for ordering render objects in VP2. Sorry for the bad news.

 

Yours,

Li

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report