[PD] tracking the position of a repeated form in gem
cyrille henry
cyrille.henry at la-kitchen.fr
Tue Nov 29 13:46:40 CET 2005
hello,
pun chik a écrit :
> hi, i was experimenting with gemlist_info yesterday and its a really
> cool object, but it seems i just can track the last repeated geo of my
> gem chain. For example if i use the "repeat" object to repeat 20 spheres
> in one gem chain I just can track the position of the last sphere.
if your doing something like this :
gemhead
|
repeat 20
|
gemlist_info
|
translate
|
rotate
|
scale
|
sphere
then, the gemlist_info will (should) output data before each sphere.
you can use [print] to check that the data are available...
> How
> does gemlist_info works?
gemlist_info work as expected (i think) : it just output information
about the gemlist it receive....
> is it posible to track for example the second
> repeated geo or the fiftinth repeated geo?
if you want to track the position of the 1st, 2nd and last sphere in
your chain, you can do something like this :
gemhead
|
t a a a a a
| | | | |
| | | | gemlist_info : 1st sphere informations
| | | |
| | | s repeat_primitive
| | |
| | gemlist_info : 2nd sphere informations
| |
| repeat 18
| |
| s repeat_primitive
|
gemlist_info : last sphere informations
|
s repeat_primitive
r repeat_primitive
|
sphere
|
translate
|
rotate
|
scale
cyrille
> punchik
>
>
>
> On Wed, 23 Nov 2005 11:17:34 +0100, "IOhannes m zmoelnig"
> <zmoelnig at iem.at> said:
>
>>matias kapo wrote:
>>
>>>hi pd friends... i have a question
>>>, i been experimenting with the repeat object in gem to create visual
>>>stuff,
>>>i would like to know
>>>if its posible to track the position (in a x,y,z axis) of a repeated
>>>object ( sphere, cube, etc)
>>>here is a pic for a better understanding:
>>>http://www.racapapu.net/spheres.html
>>>
>>>Do anybody have tried something like this before? Any idea, patch, or
>>>suggestion would be really apreciated.
>>>
>>
>>[gemlist_info] gets the current transformation matrix. this should be
>>exactly what you want.
>>
>>
>>mfg.asdr.
>>IOhannes
>>
>>_______________________________________________
>>PD-list at iem.at mailing list
>>UNSUBSCRIBE and account-management ->
>>http://lists.puredata.info/listinfo/pd-list
More information about the Pd-list
mailing list