select one random polygon per frame

   1634   3   1
User Avatar
Member
30 posts
Joined: March 2006
Offline
I'm trying to extrude one randomly selected polygon per frame, on a grid. I'm using the group node and the expression mode to select, but i just can't seem to get it working. Any suggestions?
User Avatar
Member
670 posts
Joined: Sept. 2013
Online
$FF in group pattern?

Attachments:
random_poly.hipnc (57.6 KB)

https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
User Avatar
Member
1743 posts
Joined: May 2006
Offline
Or lazy way, sort sop in random mode (with the seed as @Frame), then make your extrude group be 0, ie, the first prim it finds, which will change every frame.

Attachments:
rand_extrude_sort.hipnc (52.8 KB)

http://www.tokeru.com/cgwiki [www.tokeru.com]
https://www.patreon.com/mattestela [www.patreon.com]
User Avatar
Member
30 posts
Joined: March 2006
Offline
oh yeah the sort way does it perfect, thanks.
  • Quick Links