add a new object using OO-concept
Hi all,
Is it possible to use the OO-concept to make a new object ?
For example, I have a patch to be a texture object which can load and assign
an image to its outlet. I wish to have a multiple of them but do not want to
"copy-and-paste" multiple static instance of them. Would it be possible to
load it and place it in the right place with correct links dynamically ?
(^_^)
William
I too have run in to this 'issue', the best methodology ive found is
using bpatchers (or subpatchers) (so you can have one 'object' [the
patcher/bpatcher you can update as you wish), and 'instantiate it' by
either hard coding it in the patch (ie manually), or scripting its
instantiation with thispatcher scripting. This is taking the max
approach to solution. The other method would be to use java /
javascript to manage your objects for you.
I have run into performance issues with thispatcher scripting, but I
think it has to do with the fact that im using a decent amount of
JSUI objects. Ive yet to experiment in any real way with using
javascript/thispatcher or java to manage this sort of thing at all.
Id love to hear strategies besides this.
v a d e //
www.vade.info
abstrakt.vade.info
Have you looked at Max Tutorial 27?
Looks like the answer to your question.
-- Peter
-------------- http://www.bek.no/~pcastine/Litter/ --------------
Peter Castine | ^
| Litter Power & Litter Bundle for Jitter
pcastine@gmx.net |
pcastine@bek.no | iCE: Sequencing, Recording, and Interface Building
4-15@kagi.com | for Max/MSP
| Extremely cool
| http://www.dspaudio.com
| http://www.dspaudio.com/software/software.html