Community
Arnold for Houdini Forum
Rendering with Arnold in Houdini and Solaris using the HtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

points as volumes

16 REPLIES 16
Reply
Message 1 of 17
nwebber5Z7PJ
686 Views, 16 Replies

points as volumes

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

16 REPLIES 16
Message 2 of 17

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

Any help is appreciated.

Thanks

Message 3 of 17
peterDTE7K
in reply to: AkiraEndo2521

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.

Message 4 of 17
nwebber5Z7PJ
in reply to: peterDTE7K

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

Message 5 of 17
AkiraEndo2521
in reply to: peterDTE7K

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.

Message 6 of 17


@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
Message 7 of 17

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

Message 8 of 17
nwebber5Z7PJ
in reply to: nwebber5Z7PJ

AkiraEndo is correct. Its doesnt seem to work.

Message 9 of 17
nwebber5Z7PJ
in reply to: nwebber5Z7PJ

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.

Message 10 of 17


@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
Message 11 of 17

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.

Message 12 of 17

Got an example scene you can share?



// Stephen Blair
// Arnold Renderer Support
Message 13 of 17
nwebber5Z7PJ
in reply to: nwebber5Z7PJ

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

Message 14 of 17
nwebber5Z7PJ
in reply to: nwebber5Z7PJ

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

Message 15 of 17

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
Message 16 of 17

Thank you! That did it.

Message 17 of 17

Yep it works! Thanks Stephen!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report