insert symbol into gl command
Hi
Is there a way to pass a symbol into a message for a gl command similar to passing integers/floats?
If I use three number boxes and a pak into a message like so...
glenable texture, glbindtexture tex1 , gltranslate $1 $2 $3, plane 0.5, gldisable texture
that works how would I insert a different texture each time into this command?
a+
gar
May be the last on-line tutorial can help you?
oh, very useful. I'd figured out a workaround using coll for my specific need but this tutorial example seems much more flexible. Thanks for that.
a+
gar
I don't really understand your question though.
Messages handle symbols just like floats/ints? What am i not getting?
My question is how do they handle messages as I can't get them to come into the standard $1-9 variables. I can't see your patch as I'm on max 4.6 so you'll need to post a screenshot if you want me to see it.
a+
gar
Okay, went back in time to check this out, cos I couldn't remmember how this was in Max4. Below is the patch I posted here, only in Max4, where it doesn't work, lol.
Note that you can't send lists in which the first atom is a symbol. Just make sure the first element is some kind of number, and you can add symbols after that. In Max5, this is fixed, that's why I was wondering why this was an issue at all.