sort

sorting part of a structure

Swiftlikeninja's picture

Hello again everybody,

You all have been extremely useful thus far in assisting me in grasping quartz composer. I need some further assistance though. I have a structure with two of the indexes out of order. I only need to sort those two and not the entire structure, can anybody assist me with this.

thanks in advanced

kineme structure to file and structure from file troubles

Swiftlikeninja's picture

Ok, Im using the structure to file plugin to write a plist of a structure that is 7500 indexes long. When I use the structure from file plugin to bring the plist back into quartz the structure is in no decernable order, is there any way to sort this list,

Ive tried the structure sort (not to sure on all the keys to use with it though) but it jumps the structure names and sorts the values which is not what I want.

the plist structure is laid out as follows

0:"quartzstructure_5987"=0.4985
1:"quartzstructure_10034"=0.5874

as I stated previously, only the final value would get sorted but I need the "quartzstructure_####" sorted instead.

If anybody could shed some light and assist me it would be greatly appreciated

Tuio client with reactivision

Swiftlikeninja's picture

Hello everybody, I have been messing with the TuioClient plugin with quartz running on leopard using the reactivision program for fiducial tracking and ran into a snag. If I have one tracker set up to use the xpos, it works without a hitch if I'm only using one tracker. How can I have certain symbols do different things, the reactivision comes with 200+ built in symbols but depending on the order presented then currently that dictates the function. I know the tuioclient has a structure for the c_id but how can I have it do a function based on that and not the initial structure order without having 200+ macro patches set to enable if c_id string matches. I am not a javascripter so if this is the route needed I will need some more assistant but any help world be greatly appreciated.

Forgive me if I'm not making any since just ask and I will clarify