Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

Expose custom params from within instanced geom

Still a little green? Ask your beginner's questions here

Expose custom params from within instanced geom

Postby petitsapin » Fri May 10, 2019 3:28 pm

Hi,

I have some instanced geometry that is made up of a sphere and a noise CHOP and I would like to change the seed for the noise so that all my instances have a different noise seed.

Is there a way I can expose that param so that I can set a value per instance? Just like the instance tab where you can set the position, rotation...

Thanks.
petitsapin
 
Posts: 10
Joined: Wed Aug 29, 2018 4:10 am

Re: Expose custom params from within instanced geom

Postby nettoyeur » Sat May 11, 2019 12:57 pm

Instancing geometry is exactly that - it displays multiple instances of the same geometry object - which is also why it is so fast. What you want is to show lots of different geometries, look into the Replicator COMP to create multiple Geo COMPs. Then you can set the noise seed in each COMP to its parent().digit for instance. See some examples of Replicator COMP in Help-Operator snippets
Idzard Kwadijk | freelance TouchDesigner consultant | IdzArd.com
Checkout ChopChopChop.org - the TouchDesigner marketplace!
nettoyeur
 
Posts: 1176
Joined: Mon Oct 15, 2012 12:00 pm
Location: Amsterdam, The Netherlands

Re: Expose custom params from within instanced geom

Postby petitsapin » Mon May 13, 2019 4:33 am

Of course, that makes so much sense! Thanks a lot, it works a charm.
petitsapin
 
Posts: 10
Joined: Wed Aug 29, 2018 4:10 am


Return to Beginners

Who is online

Users browsing this forum: Google [Bot] and 17 guests