Working with Native Instances Attributes

Hydra Solaris
Post Reply
User avatar
Terryvfx
Licensed Customer
Posts: 375
Joined: Tue Dec 30, 2014 12:43 am

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.
BK
OctaneRender Team
Posts: 1436
Joined: Mon Oct 31, 2016 7:54 pm

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
User avatar
Terryvfx
Licensed Customer
Posts: 375
Joined: Tue Dec 30, 2014 12:43 am

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 184 times
BK
OctaneRender Team
Posts: 1436
Joined: Mon Oct 31, 2016 7:54 pm

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
User avatar
Terryvfx
Licensed Customer
Posts: 375
Joined: Tue Dec 30, 2014 12:43 am

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.
joncorv
Licensed Customer
Posts: 1
Joined: Tue Jul 22, 2014 8:59 pm
Contact:

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!
Post Reply

Return to “Hydra Solaris”