Working with Native Instances Attributes

Forums: Working with Native Instances Attributes
Hydra Solaris

Working with Native Instances Attributes

Postby Terryvfx » Mon Dec 19, 2022 3:20 pm

Terryvfx Mon Dec 19, 2022 3:20 pm
Hi, are there any work-arounds to work with Native Instances Attributes in Solaris right now?

I know my way around standard Octane but right now I'm trying to figure out a way to load at least displayColor and ID attribute when Using Native Instances.
User avatar
Terryvfx
Licensed Customer
Licensed Customer
 
Posts: 358
Joined: Tue Dec 30, 2014 12:43 am

Re: Working with Native Instances Attributes

Postby BK » Tue Dec 20, 2022 4:01 am

BK Tue Dec 20, 2022 4:01 am
Terryvfx wrote:Hi, are there any work-arounds to work with Native Instances Attributes in Solaris right now?

I know my way around standard Octane but right now I'm trying to figure out a way to load at least displayColor and ID attribute when Using Native Instances.


Hi Terry,

Thanks for the post. Have you tried SOP import?
The Cd from SOP is automatically converted as displayColor in OctaneSolaris.

If it does not work then please share a sample file to investigate.


cheers
Kind Regards

bk3d
BK
OctaneRender Team
OctaneRender Team
 
Posts: 1323
Joined: Mon Oct 31, 2016 7:54 pm

Re: Working with Native Instances Attributes

Postby Terryvfx » Tue Dec 20, 2022 5:47 pm

Terryvfx Tue Dec 20, 2022 5:47 pm
Hi BK, thanks for the reply, the problem is not converting the attribute, that works but only (at least in my testing) if you are importing a solid "baked" mesh, if you are dealing with the Native Instances that SOP import creates when loading packed geometry then Octane is unable to load displayColor or any other attribute, I should stress how important this.

I created an hip file illustrating this, in the file if you turn on the Unpack node you will see displayColor load just fine since Sop import can't create instances from this but if you leave it off then Sop import create the Native Instances and the problem occurs. I also made a branch illustrating how karma does this no matter what.

PD: I stashed everything so even if you get a couple of errors it should work fine.
Octane Solaris Forum Native Instances 001.zip
(245.5 KiB) Downloaded 126 times
User avatar
Terryvfx
Licensed Customer
Licensed Customer
 
Posts: 358
Joined: Tue Dec 30, 2014 12:43 am

Re: Working with Native Instances Attributes

Postby BK » Wed Dec 21, 2022 4:58 am

BK Wed Dec 21, 2022 4:58 am
Hi Terry,

Thank you so much for the scene. It is very helpful.
We are currently investigating if we can implement the same workflow as our main plugin!

cheers
Kind Regards

bk3d
BK
OctaneRender Team
OctaneRender Team
 
Posts: 1323
Joined: Mon Oct 31, 2016 7:54 pm

Re: Working with Native Instances Attributes

Postby Terryvfx » Wed Dec 21, 2022 6:08 pm

Terryvfx Wed Dec 21, 2022 6:08 pm
Thanks for the reply BK, I think having support for attributes on instances at the core level is better for both versions because in the main plugin reading a Cd attribute on an instance is sort of a trick anyway.
User avatar
Terryvfx
Licensed Customer
Licensed Customer
 
Posts: 358
Joined: Tue Dec 30, 2014 12:43 am

Re: Working with Native Instances Attributes

Postby joncorv » Wed Jan 25, 2023 6:07 pm

joncorv Wed Jan 25, 2023 6:07 pm
Thanks Terry for putting together that scene. I'm in agreement with you that Otoy developing primvar support will make the renderer that much better. A single attribute on the primitive (as opposed to geometry point level attributes) should be pretty lightning fast to calculate as well!
joncorv
Licensed Customer
Licensed Customer
 
Posts: 1
Joined: Tue Jul 22, 2014 8:59 pm

Return to Hydra Solaris


Who is online

Users browsing this forum: No registered users and 23 guests

Sat Apr 27, 2024 7:09 am [ UTC ]