MaterialID or ObjectID - a little precise how to please!

Forums: MaterialID or ObjectID - a little precise how to please!
Autodesk Maya (Plugin developed by JimStar)

Moderator: JimStar

MaterialID or ObjectID - a little precise how to please!

Postby dnsfactory » Fri May 08, 2015 8:51 am

dnsfactory Fri May 08, 2015 8:51 am
Hi all,

currently we are rendering many automotive stills and short sequences.
to finetune the very large renderings it would be nice to render out an
objectID or materialID pass. my passes all shows red in red in red. no other
color :(

so please a little how-to on:

HOW TO ASSIGN MAT OR OBJECTID IN MAYA
AND RENDER IT OUT WITH OCTANE?

thank you very much.
dnsfactory
Licensed Customer
Licensed Customer
 
Posts: 4
Joined: Tue Sep 30, 2014 4:26 pm

Re: MaterialID or ObjectID - a little precise how to please!

Postby dnsfactory » Fri May 08, 2015 9:12 am

dnsfactory Fri May 08, 2015 9:12 am
SOLVED! :)

everything works fine now with the brand new Maya-Octane-Plugin-Release :)
dnsfactory
Licensed Customer
Licensed Customer
 
Posts: 4
Joined: Tue Sep 30, 2014 4:26 pm

Re: MaterialID or ObjectID - a little precise how to please!

Postby maverickpixel » Thu Jun 16, 2016 1:12 am

maverickpixel Thu Jun 16, 2016 1:12 am
any chance you want to reveal how it was fixed?
maverickpixel
Licensed Customer
Licensed Customer
 
Posts: 3
Joined: Mon Jan 11, 2016 2:48 am

Re: MaterialID or ObjectID - a little precise how to please!

Postby calus » Thu Jun 16, 2016 9:46 am

calus Thu Jun 16, 2016 9:46 am
maverickpixel wrote:any chance you want to reveal how it was fixed?


The MaterialID pass works out of the box.

The ObjectID pass, on the other hand, doesn't make any sense :? , it has a very convoluted usage.


To make it work, you have to :

:arrow: For all shapes in the scene, change the "octane:geometry type" to something else than "global".

:arrow: For all shapes in the scene, change the "octane:layer ID" to "2".

:arrow: In render settings/render layers/ enable "enable layer" and put "active layer ID" to "2".

:arrow: Obviously to see the pass you have to enable it and choose it in "preview pass".


Yes object ID pass have nothing to do with octane render layers but that's the awkward Maya way :shock:,
also the render layer ID 1 is reserved for "Global" geometry type.

Actually, everything in the Maya plugin promote the use of the "Global" geometry type,
which can make sense, if you render still picture and don't need any of the Octane advanced features, it renders quicker.
But for the Maya plugin, this was really a poor choice from Jimstar ,
as Maya is a sophisticated animation software, this use case is uncommon and makes usual Maya workflows extremely convoluted with Octane...

I guess this is going to change with one of the next Kai's release, with the new "geometry collector" system.
Pascal ANDRE
calus
Licensed Customer
Licensed Customer
 
Posts: 1308
Joined: Sat May 22, 2010 9:31 am
Location: Paris

Re: MaterialID or ObjectID - a little precise how to please!

Postby blackshore » Fri Apr 21, 2017 12:47 pm

blackshore Fri Apr 21, 2017 12:47 pm
@Jimstar, @k.a.schubert

I tried to extract a ID pass as in Octane. But it seems that I'm unable to edit\add a value.
In Vray it looks like this:
Image

One sets a value and once it renders it contains extra metadata in the exr file.
In post one then can mask out objects by simply changing the id number:
Image

There is no extra meta data in the exr files from octane as I'm aware of.
Can this be done using any extra attributs similar to MR?
Or are you able to add if it is currently non existent?
User avatar
blackshore
Licensed Customer
Licensed Customer
 
Posts: 117
Joined: Wed Jul 31, 2013 6:22 pm

Re: MaterialID or ObjectID - a little precise how to please!

Postby calus » Fri Apr 21, 2017 4:38 pm

calus Fri Apr 21, 2017 4:38 pm
I think that's not possible because Octane ID pass are not true ID pass, they are color pass not integer, so can't be used as expected out of the box.

You should ask for true ID pass in the Standalone section.
Pascal ANDRE
calus
Licensed Customer
Licensed Customer
 
Posts: 1308
Joined: Sat May 22, 2010 9:31 am
Location: Paris

Re: MaterialID or ObjectID - a little precise how to please!

Postby blackshore » Sat Apr 22, 2017 7:28 pm

blackshore Sat Apr 22, 2017 7:28 pm
Hopefully it's not that hard to add.
User avatar
blackshore
Licensed Customer
Licensed Customer
 
Posts: 117
Joined: Wed Jul 31, 2013 6:22 pm

Return to Autodesk Maya


Who is online

Users browsing this forum: No registered users and 11 guests

Fri Apr 19, 2024 4:01 am [ UTC ]