Nodal Logic: Let's get cracking!

Hello BlenderArtists!
I was searching around and doing some updates on the Blender Game Engine Wiki pages, when i came across the Nodal Logic page.
I myself have almost no spare time at the moment, apart from school i have many different projects that i’m juggling. But, i would like to get involved in the Nodal Logic source code.
From what i’ve heard, it’s a matter of time. the code is relatively complete, with some call backs that need looking at, but essentially it needs a few people to make some regular commits (correct me if i’m wrong)
Therefore i wish to ask if there is anyone who wishes to help me start work on the Nodal Logic? it’s written in C++ (obviously), and i know that there are a few people here on the forum that do not speak the language. however, anyone who’s worked with Python will tell you that the jump from Python to C++ is more of a baby leap. Once you understand the fundamental difference between the two (one is a higher level (Python), one lower (C++)), it’s not too hard at all. I think it would be of benefit to get some work started on the project, or else i fear it shall die a death!
I look forward to your thoughts!
agoose77

I actually want this finished as well, nodal logic would be an impressive setup, and would allow the game engine to be more adept.
PLEASE Continue work on this!

sadly i dont know python…i know alittle c++ and im willing to help (and have plenty of time) but I really dont have a clue about python (except for maybe some extremitys, like print and such…)

so unless your willing to teach as we work, i wont be much help…

Nodal logic is already being worked on by a student for his master’s project. I don’t have any contact info, but you might want to get a hold of him before going too crazy.

Here is the email that i received in August:

Call me thick, but what is the difference between nodal logic and logic bricks? What makes it so good?

It allows for data transfer between logic bricks primarily.
This would mean, being able to get the list of hit objects by a near sensor, rather than just the one in logic bricks. Do some reading :smiley:

here is diferences

the logic bricks can only be used in their apropriate sections, and can only be connected to something in another section

the logic NODES could connect to literally any other logic node, and still be working

Well, here is how logic bricks works :

certain number of events - a controller - certain number of reaction

Nodal system would work more like the compositor. You have an imput, and after the imput you have any number of nodes that can be conditions, events or else and these nodes can be one after the other. For instance, this could be a simple node setup :

if player press buton(imput) near the cheast -> play animation, suspend controls and set a delay -> once the delay is finished, move the camera, start another delay, start music -> once the second delay is finished, play other animation print what was in the cheast, print message and wait for the player pressing “A” -> make the message disapear, restitute control, reposition camera, add object to the player inventory.

Then you could take all this, make a group and call it “opening cheast” and reuse it as you do in the compositor. Now, it might not be exactly like it but I used the unreal nodal system in my classes and it was pretty much as it worked.

http://download.udk.com/tutorials/using-udk/kismet.zip
This is a link to download the videos given by unreal to explain their nodal system. I’ve taken that link here : http://udn.epicgames.com/Three/VideoTutorials.html

I am personnaly very excited by this nodal system and I really hope it will see the day.

me too, it is an excellent idea, and with all this work to the renderer, you would think they would up their game too!

Nodal logic sounds like a great idea, and has a lot of potential.

However, I looked at the documentation for it, and I didn’t see anything about math operations, such as multiplication. Will things like that be included? I would love to see a nodal logic system that offers almost as much flexibility as Python.

Do we have a concept for a nodal system available? Or is it all in someones mind?

It’s on the Blender Wiki ->Game Engine

It looks like (from poking around Graphicall) the node logic is in the Dressing branch, so watch for that!

Thanks, I got it. For whatever reason this “simple” example looks not much simple.

here’s a simple example, and something I have been wanting to be able to do for YEARS.

if key is pressed OR key is pressed AND object is near another object, do action.

basically 2 key press sensors link into an OR controller, and then the ouput of the OR controler and a near sensor link into an AND controller, and the output of that links into an actuator.

Do we have a concept for a nodal system available? Or is it all in someones mind?

Some design documents produced for the GSoC can be found here.

thanks for that maybe some of us can start working on it!

You can use the expression controller:

(key1 or key2) and near1

just use the names of your sensors

Nodal.logic could be the second.great. implementation (first was.GLSL).
I personnaly wish you GOOD.LUCK!
I wish i know to script.

Thanks BB!
We need to get a team together; people who can program in C++ or a low level language (or python as an exception!)