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: 

Houdini multiple ASS scatter

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
Connor_Paterson
408 Views, 4 Replies

Houdini multiple ASS scatter

Hey,

I'm trying to get some basic .ASS scatters going using the attribute wrangle method:

1605107204240.png

I've been looking around but can't seem to find any info on how to scatter multiple .ASS files, opposed to a single path.

I'm sure it's something simple like an additional bit of VEX to randomize the path selection. Though I'm not a Houdini artist by trade, therefore working this stuff out is a little slow at the moment.

Anyone know the best way to hook up this up using the method mentioned above?

Cheers,


Tags (1)
Labels (1)
4 REPLIES 4
Message 2 of 5

If you have four ass files example1, example2, example3, example4, then you can get a random ass file by setting instancefile like this:


`int(1 + 4 * rand($PT+48249))`.ass


48249 is just some number



// Stephen Blair
// Arnold Renderer Support
Message 3 of 5

Something like this?

1605113295993.png

Message 4 of 5

Something like:


h_box_00`int(1 + 2 * rand($PT+48249))`.ass


You can use the Geometry spreadsheet to check the values.




// Stephen Blair
// Arnold Renderer Support
Message 5 of 5

Sorry, I missed this.
It worked though, thanks 🙂

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

Post to forums  

Autodesk Design & Make Report