» Logic
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Logic

Russian | Italian | Spanish | French

Separate Logic from Content

To program interaction logic, sequences or any other more complex tasks, you should NOT start to weave the logic part deep into your patches but rather have a central command station where you handle all the logical states in an abstract way and send them as needed to other places in your patch.

Basic logic programming

Related nodes

...

Note, if you see too many of these nodes in your patch and the logic gets more and more confusing it's time to switch to State Machine.

Conditions

Wondering how to control data flow in manner of if-else statements? See Conditions.

State Machine

Related nodes

Automata

Use Automata (Animation) for complex logical structures. Automata allows you to distill complex logic into a textual description. See it's extensive helppatch.

Qfsm graphical tool is good for drawing State Machines, it allows you to export state machine statements for the Automata (Animation).

Automata UI

There is also a much more convenient Automata UI contributed by u7angel which enables you to design your program logic with states and transitions as well as giving them a duration within a visual editor.

Sequence based logic

Use Timeliner (Animation) for more sequence based logic. It has an Automata track to jump in the timeline. How to use Timeliner.



This is the landing page of the category Logic

anonymous user login

Shoutbox

~1d ago

joreg: absolutely. if it is for a repo that is public, just submit a pullrequest. otherwise please start a forum thread.

~1d ago

benjawmino: @joreg I ended up figuring out BezierSegment yesterday, so nevermind! Tell me, could a user submit a help patch? :)

~1d ago

joreg: @benjawmino please elaborate on this question a bit in a new forum thread. otherwise it is hard to answer..

~3d ago

benjawmino: so are there no splines/curves in gamma yet??

~6d ago

skyliner: wanna do drone shows or applications? then check this super cool project of our man e1n

~11d ago

NoseBleedIndustries: Thanks Joreg! The few minutes I was able to see, very good workshops!

~11d ago

joreg: @NoseBleedIndustries please give us some days, we'll have an announcement soon...

~11d ago

NoseBleedIndustries: I could not assist the Node20 (workshops ) Any Idea when we will have access to the links of the recordings?

~12d ago

bjoern: unity has c# bindings for usd, under apache license: https://github.com/Unity-Technologies/usd-unity-sdk