add a new object using OO-concept
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 ?
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 /
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
Id love to hear strategies besides this.
v a d e //
Have you looked at Max Tutorial 27?
Looks like the answer to your question.
————– http://www.bek.no/~pcastine/Litter/ ————–
Peter Castine | ^
| Litter Power & Litter Bundle for Jitter
firstname.lastname@example.org | iCE: Sequencing, Recording, and Interface Building
email@example.com | for Max/MSP
| Extremely cool