Jump to content
Follyx

scatter amount via vex

Recommended Posts

Posted (edited)

is there a chance to control the scatter amount via a pointwrangle? There is just a checkbox for exporting the density attribute... hm... Or is there a hda outside where the npts is controllable by a pointwrangle?

Edited by Follyx

Share this post


Link to post
Share on other sites

The scatter SOP will use any attribute you want for density and you can write them to your geometry with VEX as per usual.

Attached is a demo scene - normally I'd call the attribute 'density' as the scatter SOP expects that but to show that you can use anything I called it 'scatter_density'

scatter_density.hiplc

  • Like 1

Share this post


Link to post
Share on other sites
Posted (edited)

thank you, so far, so good. But I dont have a chance to influence the npts parameter in the scatter Sop via vex, or? The Density per se is so vague. I prefer the exatly amount of scatterpoints. Or maybe I have the wrong approach in using the density. i

i.E: a box 10 x 10 x 5. I want exaclty maybe 540 scatterpoints. How could I organize that via the wrangle node with density?

Edited by Follyx

Share this post


Link to post
Share on other sites

Yes! Had a brain fade there...

Share this post


Link to post
Share on other sites

ok, thank you to all and sorry for the late reply...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×