Accueil › Forums › Créer avec IanniX › Max->OSC->IanniX Question
Hi there –
I’m currently trying to generate curves and cursors with Max, but finding a strange behavior after my first curve/cursor.
Here is the process:
/add curve auto
Then, a numbering convention: I generate a 1 and a 2.
The 1 is sent to /setpos and /setsmoothpoint, both of which have random values for the XYZ positions.
/add cursor auto
Then /setcurve is set for 2 1, in accordance with the gui helper.
So far so good. A curve with a cursor attached.
I begin again, generate a new curve/cursor set for 4 3, as soon as I add the cursor, though, the first cursor/curve deselects.
Subsequent iterations, 6 5, 8 7, 10 9 – all seem to work fine..
Any thoughts on what is happening here?
Hmmm, I have to test your example.
BUT, you can simplify these ID thanks to « current » (last ID used or generated) and « lastCurve » (last curve ID used or generated) keyword.
Example:
add curve auto
setPos current x y z
set………… current …………
add cursor auto
setCurve current lastCurve
setSpeed current ………………
🙂
© IanniX Association
Qu'est-ce que IanniX ? | Téléchargement | Showcase | Forum | Recherche | À propos
Cookie | Durée | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |