instance geo and rotate points with VOPS

   4815   4   0
User Avatar
Member
5 posts
Joined: Nov. 2013
Offline
Hi there , I'm trying to recreate a setup I have in Softimage ice which controls seats in a football stadium. i have around 5000 to 10000 seats instanced on a grid fliping down as a falloff object passes over them.

I am basically doing a linear interpolation between 0-90 based on per point blend value

I have a similar setup in Houdini with the copy sop which works great but obviously is very slow with only a fraction of the amount of seats
so I have been attempting to use the instance node and rotate the points directly with VOPs but not having much success.

would this be the correct approach for something like this? i have attached my copy SOP scene which is the behavior i'm after but I want instances!

Very new to Houdini so any pointers would be much appreciated

Sam
User Avatar
Member
2539 posts
Joined: June 2008
Offline
Hi Sam,

Here is a link to a file that demonstrates how to use Instancing like the Copy SOP. Instancing is faster so you probably want to go that route with your stadium.
http://forums.odforce.net/topic/23294-houdini-16-wishlist/?do=findComment&comment=143811 [forums.odforce.net]

Here is links page to other example files on the OdForum.
http://forums.odforce.net/topic/25173-atoms-link-page/ [forums.odforce.net]

Also check out Tokeru, there are a lot of example files there as well.
http://www.tokeru.com/cgwiki/?title=Houdini [tokeru.com]
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
5 posts
Joined: Nov. 2013
Offline
Thanks for these , lots of useful info in there.

I see in that instacing.hip file he is randomizing the point normals orientation with a vex wrangler. How would one
do this in a VOP? The node based approach is just more familiar to me at the moment.

Thanks again



User Avatar
Member
1743 posts
Joined: May 2006
Offline
Had a look, the sample_sphere vop can be used to generate a random orient, this might give you some ideas.

Attachments:
rand_orient_vop.hipnc (111.0 KB)

http://www.tokeru.com/cgwiki [www.tokeru.com]
https://www.patreon.com/mattestela [www.patreon.com]
User Avatar
Member
5 posts
Joined: Nov. 2013
Offline
Great , thank you
  • Quick Links