how to copy full matrices into bigger ones?

d-track's icon

I have a let's say "jit.matrix something 4 char 300 200" and a "jit.matrix bigsomething 4 char 10000 10000" and i'd like to copy the small one into the big matrix from position 400 500. The result would be a big 10000x10000 pixel resolution white image with a 300x200 small image in it.
jit.glue doesn't let me set the position and the algorithmic way of getcell - setcell is ulra slow so i'd need a way faster method for my project.
Thanks in advance. I hope this is something obvious i overloked in the tutorials.

dtr's icon

see jit.matrix's usedstdim, dstdimstart, dstdimend attributes.

d-track's icon

tried that but didn't work.
Could you give me a basic example patch of this?
I'm on 5.1.9 and OSX 10.6.8

dtr's icon

check out jitter tutorial 14, does it all

d-track's icon

yess! thanks!