Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

How to tear a grid into pieces like puzzles in TD

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

How to tear a grid into pieces like puzzles in TD

Postby KuraMatata » Mon Feb 11, 2019 10:40 pm

Hi all, I wanna ask how to tear a grid into pieces in random shapes, like a voronoi effect, or a puzzle effect. I want every piece can be rotated separately.

I have tried using instancing to copy many little grids and rotate them separately, but fail to change the shape of each grid.

Should I use instancing in this case?
Any ideas?

like this
puzzle2.PNG
puzzle2.PNG (128.67 KiB) Viewed 308 times
KuraMatata
 
Posts: 23
Joined: Mon Nov 26, 2018 3:05 am

Re: How to tear a grid into pieces like puzzles in TD

Postby Gallo » Tue Feb 12, 2019 6:20 am

Hi,

Not a TD master here, but i would try to create the grid into the SOP world and use Facet SOP to separate primitives ?
Last edited by Gallo on Sun Feb 17, 2019 7:54 am, edited 1 time in total.
Gallo
 
Posts: 139
Joined: Fri Mar 24, 2017 5:46 am
Location: Paris

Re: How to tear a grid into pieces like puzzles in TD

Postby KuraMatata » Thu Feb 14, 2019 9:51 pm

Thank you! I changed the positions of the points inside the grid and use the facet sop and primitive sop as you said. It works! Thanks so much!
KuraMatata
 
Posts: 23
Joined: Mon Nov 26, 2018 3:05 am

Re: How to tear a grid into pieces like puzzles in TD

Postby sm87 » Sun Feb 17, 2019 4:54 am

Hi KuraMatata,
can you please post an example? Thanks a lot!!!
sm87
 
Posts: 5
Joined: Mon Jul 24, 2017 4:21 am

Re: How to tear a grid into pieces like puzzles in TD

Postby KuraMatata » Sun Feb 17, 2019 11:05 pm

puzzles_in_random_pieces.tox
(2.44 KiB) Downloaded 12 times


I use a table to store the new points' positions and use a Datto SOP to change the points' positions. I don't know if it is a good way to do it. If anyone has a better method, please share :D
KuraMatata
 
Posts: 23
Joined: Mon Nov 26, 2018 3:05 am

Re: How to tear a grid into pieces like puzzles in TD

Postby nettoyeur » Tue Feb 19, 2019 10:46 am

cool!
Here's a variant using only SOPs. As the Noise SOP works in the direction of the normal this setup has two Noise SOPs, first is for the normals, second the point position. The Point SOP makes sure there is only noise in X and Y direction, not Z.
Attachments
primitives_from_grid.tox
(1.53 KiB) Downloaded 7 times
Idzard Kwadijk | freelance TouchDesigner consultant | LinkedIn
Checkout ChopChopChop.org - the TouchDesigner marketplace!
nettoyeur
 
Posts: 1006
Joined: Mon Oct 15, 2012 12:00 pm
Location: Amsterdam, The Netherlands

Re: How to tear a grid into pieces like puzzles in TD

Postby guarana » Tue Feb 19, 2019 11:24 pm

Nice stuff!!
That got me playing a bit with the idea

The fractalSOP breaks the grid into triangles, then by using two passes of point normal noise + position noise (one bigger 'general' distort and one smaller to add angles) it ends with tiles that aren't too bad (but still quite different from the original post image)
Attachments
Capture.JPG
Capture.JPG (49.33 KiB) Viewed 51 times
prims from grid edit.1.toe
(4.85 KiB) Downloaded 5 times
// Philippe Provencher
guarana
 
Posts: 65
Joined: Sun Apr 27, 2014 10:13 pm


Return to Beginners

Who is online

Users browsing this forum: No registered users and 16 guests