Setting PBR Instance Properties from scripts

Forums: Setting PBR Instance Properties from scripts
A public forum for discussing and asking questions about the Octane for Unity Alpha

Moderator: ChrisHekman

Setting PBR Instance Properties from scripts

Postby jalley » Mon Sep 18, 2017 3:00 pm

jalley Mon Sep 18, 2017 3:00 pm
Hi all,

We are wondering whether it is possible to modify PBR Instance Properties attributes such as "RenderLayerID" and/or "BakingGroupID" from Unity external scripts.
It is possible from the UI interface but what if you want to assign many (hundreds of meshes) to another layer ID, it would require huge manual effort making it a daunting task (selecting multiple objects and modifying these attributes does not work).

It looks an extremely useful feature to organize render layers/passes for a moderatly sized scene without manual intervention, but simply automatizing it from scripts.
Otherwise a multiple-selection one single assignment could also work.

Any clue on how to approach this problem?

Thanks,
- jalley

PD. Another interesting case would be to create a custom info/shader pass, but I don't think this is yet supported, Am I right?.
jalley
Licensed Customer
Licensed Customer
 
Posts: 27
Joined: Thu Aug 31, 2017 6:00 pm

Re: Setting PBR Instance Properties from scripts

Postby ChrisHekman » Wed Sep 20, 2017 9:10 am

ChrisHekman Wed Sep 20, 2017 9:10 am
There is currently no supported way to do this.
We are looking into providing a API and exposing these variables.

Ill take a look why it is not possible to edit multple components at once.
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 968
Joined: Wed Jan 18, 2017 3:09 pm

Re: Setting PBR Instance Properties from scripts

Postby MikeGardiner » Thu Sep 28, 2017 6:20 am

MikeGardiner Thu Sep 28, 2017 6:20 am
Yep this is something we need badly - either exposing the component through script or at least fixing the issue with editing multiple items. I'll add my vote to this, to hopefully get fixed soon!
MikeGardiner
 
Posts: 11
Joined: Wed Sep 27, 2017 5:36 am

Re: Setting PBR Instance Properties from scripts

Postby SamuelAB » Mon Dec 31, 2018 6:08 pm

SamuelAB Mon Dec 31, 2018 6:08 pm
Thanks Chris,

Looking forward to a resolution on this :)

Baking my lighting in Octane ofr Unity will be a major game changer. Hopefully there are solutions, API access and tutorials coming soon.
User avatar
SamuelAB
Licensed Customer
Licensed Customer
 
Posts: 168
Joined: Sun Apr 15, 2012 8:25 pm

Re: Setting PBR Instance Properties from scripts

Postby ChrisHekman » Mon Jan 14, 2019 12:32 pm

ChrisHekman Mon Jan 14, 2019 12:32 pm
SamuelAB wrote:Thanks Chris,

Looking forward to a resolution on this :)

Baking my lighting in Octane ofr Unity will be a major game changer. Hopefully there are solutions, API access and tutorials coming soon.



It has been put in the planning.
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 968
Joined: Wed Jan 18, 2017 3:09 pm

Return to Octane for Unity


Who is online

Users browsing this forum: No registered users and 4 guests

Thu Mar 28, 2024 10:50 pm [ UTC ]