points as volumes

nwebber5Z7PJ
Participant
Participant

points as volumes

nwebber5Z7PJ
Participant
Participant

Hi, is there a way to render points as volumes in Solaris? Something I need to set? (other than converting to vdb which can be quite heavy)

 

Cheers

0 Likes
Reply
776 Views
16 Replies
Replies (16)

AkiraEndo2521
Explorer
Explorer

I'm also very interested to find out how to render points as volume in Solaris.

Any help is appreciated.

Thanks

0 Likes

peterDTE7K
Advocate
Advocate

I guess there is no other way than converting points to VDB. There are multiple ways to do this in Houdini. Points from volume node to generate dense volume of points from geometry. Attribute wrangle (points) node to add density to points (f@density=1;). Volumerasterizeattributes node to convert points to vdb - set attributes to density and set proper voxel size and particle scale. Assign material with arnold standard volume.

 

Arnold will not work with standard houdini volumes, you always want to convert those to VDB with convert node before rendering.

0 Likes

nwebber5Z7PJ
Participant
Participant

thanks for your reply, but this is not what I'm asking. I am am looking for the solaris equivalent of this:

2024-04-26 16_16_07-untitled.hip - Houdini FX 19.5.752 - Py3.7.png

0 Likes

AkiraEndo2521
Explorer
Explorer

Thank you for clarification. That's what I feared.

Based on a smoke sim I already animated points with the help of popadvectbyvolume.

And finetuned pop motion by age and traveled distance. 

I did hope, I could avoid to convert it all again to a volume.

0 Likes

Stephen.Blair
Community Manager
Community Manager

@nwebber5Z7PJ wrote:

thanks for your reply, but this is not what I'm asking. I am am looking for the solaris equivalent of this:

2024-04-26 16_16_07-untitled.hip - Houdini FX 19.5.752 - Py3.7.png


Render Geometry Settings?



// Stephen Blair
// Arnold Renderer Support
0 Likes

AkiraEndo2521
Explorer
Explorer

It seems, this option does not work.

It does not change anything. It doesn't matter which values I enter at step size.

Points will always render as points.

Screenshot 2024-04-26 172343.png

0 Likes

nwebber5Z7PJ
Participant
Participant

AkiraEndo is correct. Its doesnt seem to work.

0 Likes

nwebber5Z7PJ
Participant
Participant

Also, tried this in a wrangle, but no effect:

usd_setprimvar(0, "/sopimport2/FX/Particles0", "primvars:arnold:ar_step_size",.4);

 

It seems to work on meshes, just not points.

0 Likes

Stephen.Blair
Community Manager
Community Manager

@nwebber5Z7PJ wrote:

Also, tried this in a wrangle, but no effect:

usd_setprimvar(0, "/sopimport2/FX/Particles0", "primvars:arnold:ar_step_size",.4);

 

It seems to work on meshes, just not points.


There is no Arnold parameter named "ar_step_size"

The "ar_" is something used by the HtoA plugin only.

 

It would be primvars:arnold:step_size



// Stephen Blair
// Arnold Renderer Support
0 Likes

nwebber5Z7PJ
Participant
Participant

This is what I have:

usd_setprimvar(0, "/sopimport1/points_0", "primvars:arnold:mode", "sphere");
usd_setprimvar(0, "/sopimport1/points_0", "primvars:arnold:step_size",.4);

 

I have a volume shader assigned. Yet they do not render.

0 Likes

Stephen.Blair
Community Manager
Community Manager

Got an example scene you can share?



// Stephen Blair
// Arnold Renderer Support
0 Likes

nwebber5Z7PJ
Participant
Participant

I'll make a simple scene for you to test.

0 Likes

nwebber5Z7PJ
Participant
Participant

heres  a simple test scene to try,. Hopefully i've just done something stupid.

0 Likes

Stephen.Blair
Community Manager
Community Manager

Thanks for the scene file.

 

In this case, there's a bug. HtoA isn't processing the shader connected to the volume port, so the points are rendered with a simple fallback surface shader.

 

Workaround: connect the standard_volume to the surface port of OUT_Material. It will show an error, but now the points will render with a volume shader.



// Stephen Blair
// Arnold Renderer Support

AkiraEndo2521
Explorer
Explorer

Thank you! That did it.

0 Likes

nwebber5Z7PJ
Participant
Participant

Yep it works! Thanks Stephen!

0 Likes