Cycling 74 » Topic: how to copy full matrices into bigger ones?
http://cycling74.com/forums/topic/how-to-copy-full-matrices-into-bigger-ones/feed
Fri, 25 Apr 2014 01:13:08 +0000http://bbpress.org/?v=2.5.3-5249en-UShttp://cycling74.com/forums/topic/how-to-copy-full-matrices-into-bigger-ones/#post-63760<![CDATA[how to copy full matrices into bigger ones?]]>
http://cycling74.com/forums/topic/how-to-copy-full-matrices-into-bigger-ones/#post-63760
Sat, 28 Jul 2012 10:15:40 +0000d-track
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 10000×10000 pixel resolution white image with a 300×200 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.
]]>
http://cycling74.com/forums/topic/how-to-copy-full-matrices-into-bigger-ones/#post-229964<![CDATA[Re: how to copy full matrices into bigger ones?]]>
http://cycling74.com/forums/topic/how-to-copy-full-matrices-into-bigger-ones/#post-229964
Sat, 28 Jul 2012 11:33:48 +0000dtr
see jit.matrix’s usedstdim, dstdimstart, dstdimend attributes.
]]>
http://cycling74.com/forums/topic/how-to-copy-full-matrices-into-bigger-ones/#post-229965<![CDATA[Re: how to copy full matrices into bigger ones?]]>
http://cycling74.com/forums/topic/how-to-copy-full-matrices-into-bigger-ones/#post-229965
Sat, 28 Jul 2012 11:53:37 +0000d-track
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
]]>
http://cycling74.com/forums/topic/how-to-copy-full-matrices-into-bigger-ones/#post-229966<![CDATA[Re: how to copy full matrices into bigger ones?]]>
http://cycling74.com/forums/topic/how-to-copy-full-matrices-into-bigger-ones/#post-229966
Sat, 28 Jul 2012 12:49:41 +0000dtr
check out jitter tutorial 14, does it all
]]>
http://cycling74.com/forums/topic/how-to-copy-full-matrices-into-bigger-ones/#post-229967<![CDATA[Re: how to copy full matrices into bigger ones?]]>
http://cycling74.com/forums/topic/how-to-copy-full-matrices-into-bigger-ones/#post-229967
Sat, 28 Jul 2012 13:51:28 +0000d-track
yess! thanks!
]]>