Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

Splice CHOP splice multisamples by index

Send us your requests for enhancements (RFEs)

Splice CHOP splice multisamples by index

Postby elburz » Thu Mar 29, 2018 4:44 pm

I find this situation to be very common when working with instancing, when you want to trigger animations efficiently for a large number of elements with individual control (i.e. using render picking or similar).

The example file is easiest to understand than it is to explain. I wrote a quick Script CHOP that provides one version of the desired functionality, which is feeding in 2 multi-sample channels, one being the index to splice into, and the other being the event/ramp/data. The 2 problems with this being that:

1. the Script CHOP is quite slow as sample count increases
2. new users struggle with Script ops in general, meaning these kind of techniques can be out of their reach due to complexity of implementation and not complexity of idea, especially when you consider how easy it is to do instancing, controlling your instances seems wildly more difficult
Attachments
NewProject.3.toe
(5.18 KiB) Downloaded 31 times
--
Elburz Sorkhabi
Creative + Technology
nVoid Art-Tech Limited
http://nvoid.com
elburz
 
Posts: 1996
Joined: Fri Jun 01, 2012 6:55 pm
Location: Toronto, Canada

Re: Splice CHOP splice multisamples by index

Postby jmt4zj » Fri Mar 30, 2018 10:21 am

Nice trick!

Moving this logic to a C++ CHOP would cut down on overhead, right?
Jonathan Thompson
@pointshader
http://particularexperienc.es
User avatar
jmt4zj
 
Posts: 100
Joined: Mon Nov 01, 2010 3:15 am
Location: NYC

Re: Splice CHOP splice multisamples by index

Postby elburz » Sat Mar 31, 2018 2:54 am

Yup, wouldn't be hard to make, but I feel like it's pretty essential "splice" functionality.
--
Elburz Sorkhabi
Creative + Technology
nVoid Art-Tech Limited
http://nvoid.com
elburz
 
Posts: 1996
Joined: Fri Jun 01, 2012 6:55 pm
Location: Toronto, Canada

Re: Splice CHOP splice multisamples by index

Postby greg » Sun Apr 01, 2018 2:25 am

Hey all, Could you use the Splice CHOP to solve this one? (Yes, I see you are splicing in several places.)

Or maybe a Delete CHOP (delete/preserve samples based on value) and a Merge CHOP?
User avatar
greg
Staff
 
Posts: 529
Joined: Tue Nov 13, 2007 1:08 am

Re: Splice CHOP splice multisamples by index

Postby elburz » Sun Apr 01, 2018 7:58 am

I had spent a while trying to figure out if I could use Splice CHOP to solve this, but I wasn't able to get something that was relatively simple and could handle arbitrary number of events. Happy to see an example of the contrary, or perhaps using delete/merge combo.
--
Elburz Sorkhabi
Creative + Technology
nVoid Art-Tech Limited
http://nvoid.com
elburz
 
Posts: 1996
Joined: Fri Jun 01, 2012 6:55 pm
Location: Toronto, Canada


Return to Wishlist and RFEs

Who is online

Users browsing this forum: No registered users and 3 guests