Login | Register 
Products Applications Downloads Features Wiki forum Store
 

sort custom grid points

General discussion about anything TouchDesigner

sort custom grid points

Postby alemap » Sat Jul 21, 2012 7:22 pm

hi

how to change order points of the grid, to a line follow this:
for example:
lin.jpg
lin.jpg (3.02 KiB) Viewed 260 times

i try this in that toe, i used sort and primitive SOP
Attachments
lineas.toe
(4.99 KiB) Downloaded 26 times
alemap
 
Posts: 5
Joined: Wed Oct 12, 2011 11:01 am

Re: sort custom grid points

Postby ab30 » Sun Jul 22, 2012 11:16 am

hello, i'm no expert at all in SOPs, but did you try to look at the Skin CHOP ?

It looks like one can control the flow of vertices with the skin CHOP, but really, again, i never used them yet (SOPs), so sorry if it is a wrong direction.

Edit: Or perhaps it could be done with some vertex shader in GLSL.


Easier: a point table with a dat to sop
Attachments
Lines_from_Point_Table.tox
(710 Bytes) Downloaded 27 times
ab30
 
Posts: 243
Joined: Fri Apr 27, 2012 10:36 am

Re: sort custom grid points

Postby alemap » Sun Jul 22, 2012 2:29 pm

thanks ab30

i tested with the select group (SOP editor) and create groups...,
without much luck

for the moment the best results i have archived has been whith the DAT reorder.
I hope to find other solutions and prove your comment, this program always surprises me.

i edit this post i dont see your attach file, incredible i came to the same solution, DAT using

here the test whith DAT reorder
Attachments
lineastab.toe
(4.86 KiB) Downloaded 32 times
alemap
 
Posts: 5
Joined: Wed Oct 12, 2011 11:01 am

Re: sort custom grid points

Postby ab30 » Mon Jul 23, 2012 7:07 am

yes, tables are useful in many ways.

Good continuation with TD.
ab30
 
Posts: 243
Joined: Fri Apr 27, 2012 10:36 am


Return to General TouchDesigner Discussion

Who is online

Users browsing this forum: No registered users and 3 guests