Access to vector attributes

Hydra Solaris
Post Reply
michaelskripin
Licensed Customer
Posts: 23
Joined: Mon Jul 20, 2020 4:58 pm

Hello again.

I want to get attributes from SOP to use them for material customization.

I can attach float attributes through the "Float_Vertex_Attribute" node with no problem.
But I have no way to see any vector attributes (except the built-in color attribute) with "Vector_Vertex_Attribute".

What is the correct way to output/get vector attributes?
MacOS 15.4.1, M1 Max, Houdini 20.5, Octane 2025.1
BK
OctaneRender Team
Posts: 1436
Joined: Mon Oct 31, 2016 7:54 pm

michaelskripin wrote:Hello again.

I want to get attributes from SOP to use them for material customization.

I can attach float attributes through the "Float_Vertex_Attribute" node with no problem.
But I have no way to see any vector attributes (except the built-in color attribute) with "Vector_Vertex_Attribute".

What is the correct way to output/get vector attributes?
Hi Michael,

Thanks for the post again. We have made all two named vertex color arrays and four named float arrays dynamic so Houdini can read the vertex arrays.
Btw, have you also checked the name change in LOP workflow?

https://www.sidefx.com/docs/houdini/sol ... mport.html


cheers
Kind Regards

bk3d
michaelskripin
Licensed Customer
Posts: 23
Joined: Mon Jul 20, 2020 4:58 pm

Hi. I checked the attribute mapping in Arnold and Karma - everything works fine.

Let me show you a simple example of how I work with Octane.

In "sop create" I create a simple "grid". I create float and vector attributes for it.
Screenshot 2024-05-03 at 14.13.37.png
Screenshot 2024-05-03 at 14.13.47.png
When I connect "float_vertex_attribute" to "baseColor", I can see in the viewer that the attributes are displayed in the material.
Screenshot 2024-05-03 at 14.15.34.png
When I connect "color_vertex_attribute" to "baseColor", nothing happens.
Screenshot 2024-05-03 at 14.15.50.png
Where am I making a mistake?
I attach a hip file just in case.
Attachments
vector_attr_mix.hiplc.zip
(118.29 KiB) Downloaded 364 times
MacOS 15.4.1, M1 Max, Houdini 20.5, Octane 2025.1
michaelskripin
Licensed Customer
Posts: 23
Joined: Mon Jul 20, 2020 4:58 pm

This is interesting. Same scene, but I added a "scatter" node after the grid.
Float attribute, which was displayed on the surface of the grid when rendering,
is no longer displayed on the points. What is the trick?

Screenshot 2024-05-03 at 22.36.29.png
Screenshot 2024-05-03 at 22.36.46.png
MacOS 15.4.1, M1 Max, Houdini 20.5, Octane 2025.1
BK
OctaneRender Team
Posts: 1436
Joined: Mon Oct 31, 2016 7:54 pm

michaelskripin wrote:Hi. I checked the attribute mapping in Arnold and Karma - everything works fine.

Let me show you a simple example of how I work with Octane.

In "sop create" I create a simple "grid". I create float and vector attributes for it.
Screenshot 2024-05-03 at 14.13.37.png
Screenshot 2024-05-03 at 14.13.47.png
When I connect "float_vertex_attribute" to "baseColor", I can see in the viewer that the attributes are displayed in the material.
Screenshot 2024-05-03 at 14.15.34.png
When I connect "color_vertex_attribute" to "baseColor", nothing happens.
Screenshot 2024-05-03 at 14.15.50.png
Where am I making a mistake?
I attach a hip file just in case.
Hi Michael,

Thank you for reporting this issue.
We have fixed this for the next release.

Regarding the scatter issue, could you try using Texture instance color node and assign the *alpha4k_map.ppm* from the plugin's *tex* folder?

cheers
Kind Regards

bk3d
michaelskripin
Licensed Customer
Posts: 23
Joined: Mon Jul 20, 2020 4:58 pm

BK wrote:
Regarding the scatter issue, could you try using Texture instance color node and assign the *alpha4k_map.ppm* from the plugin's *tex* folder?

cheers
Hi BK,

I attached the "Texture instance color" with "alpha4k_map.ppm" to the "Base color" of the "Standard surface" node.
I'm not sure what the result should be, but nothing seems to be happening.


Update.
Texture instance color works as expected.


I must have made a mistake somewhere. My bad.

Random color works as expected too.

Attributes didn't work. I rechecked several times.
Attachments
Screenshot 2024-05-07 at 15.01.20.png
MacOS 15.4.1, M1 Max, Houdini 20.5, Octane 2025.1
BK
OctaneRender Team
Posts: 1436
Joined: Mon Oct 31, 2016 7:54 pm

michaelskripin wrote:
BK wrote:
Regarding the scatter issue, could you try using Texture instance color node and assign the *alpha4k_map.ppm* from the plugin's *tex* folder?

cheers
Hi BK,

I attached the "Texture instance color" with "alpha4k_map.ppm" to the "Base color" of the "Standard surface" node.
I'm not sure what the result should be, but nothing seems to be happening.


Update.
Texture instance color works as expected.


I must have made a mistake somewhere. My bad.

Random color works as expected too.

Attributes didn't work. I rechecked several times.
Thank you Michael,
Glad to know the random color works as expected.
we will investigate further on attribute issues.

Cheers
Kind Regards

bk3d
Post Reply

Return to “Hydra Solaris”