How I can bind gl.texture to gl.sketch in js?
I’ve looked through tutorials, but could not find an example.
I’m thinking about something like max patch method – sending message to sketch "texture ZZZ"…
For setting the global sketch attribute like you would in a patcher with "texture ZZZ":
mysketchobj.texture = "ZZZ";
For using it as a gl command, read up a little on redbook and use:
More info and some example cases in the forums (problems, discussions, and solutions):
Log in to reply
C74 IN YOUR INBOX
C74 RSS Feed | © Copyright Cycling '74 | Terms & Conditions
Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.