[Bf-committers] Compositor nodes-rerouting

j.bakker at atmind.nl j.bakker at atmind.nl
Wed Aug 31 10:18:22 CEST 2011


Hi Daniel, 

OT: I +1 the add 0 solution :) I never thought about that one...

The modifier click has the same risk as for cut link. Have you had any
issue that lines were cut accidentally?

Jeroen.

Original Message:
-----------------
From: Daniel Salazar - 3Developer.com zanqdo at gmail.com
Date: Wed, 31 Aug 2011 02:05:46 -0600
To: j.bakker at atmind.nl, bf-committers at blender.org
Subject: Re: [Bf-committers] Compositor nodes-rerouting


Just a comment, I'll prefer if no modifier click is needed to add the
re-route point, a mistake in adding a point would be harmless anyway
so no point in hiding the point (pun!)

Daniel Salazar
3Developer.com



On Wed, Aug 31, 2011 at 1:57 AM, Daniel Salazar - 3Developer.com
<zanqdo at gmail.com> wrote:
> I like it, i currently use dummy nodes like "add 0" to get this kind
> of "extension" nodes for organization
>
> http://3developer.com/tmp/extension_nodes.png
>
> of course your way looks so much better, good thinking :)
>
> Daniel Salazar
> 3Developer.com
>
>
>
> On Wed, Aug 31, 2011 at 1:49 AM, j.bakker at atmind.nl <j.bakker at atmind.nl>
wrote:
>> Hi all,
>>
>> I want to discuss this proposal. Many people have requested it, but I
want
>> to be sure if it is satisfying, or that there are other things that can
be
>> introduced.
>>
>> I have limited the proposal to the Compositor tree, but it could be done
>> for other tree's.
>>
>> ===== Proposal =====
>>
>> This proposal is a UI enhancement on the node editor to allow better
>> workflow with large node systems.
>>
>> ==== Noodle line ====
>>
>> By using MouseClick-SHIFT on a noodle a point will appear. The user can
>> positioned this point (Reroute point).
>> This point can attach noodles at North, South, East, West
>> An arrow will be drawn on noodles between two reroute points
>> If noodles reach a certain length, an arrow will be drawn. This way users
>> can see the direction of the line.
>> Every point can have multiple outputs. Eg you can add multiple points
this
>> way if you can connect the Combined socket of the renderlayer to other
>> nodes in a structured way.
>>
>> Current patch is limited to the compositor node tree.
>>
>> http://www.youtube.com/watch?v=l_gyLt-TAzk
>> http://projects.blender.org/tracker/index.php?func=detail&aid=28443
>>
>>
>> ===== Impact =====
>>
>> ==== DNA ====
>>
>> There is a new NODE_FLAG and SOCK_FLAG called NODE_REROUTE and
>> SOCK_REROUTE. telling the UI that it need to draw differently.
>>
>> ==== UI ====
>> The point is a special node, "RerouteNode". All nodetree will have one.
it
>> will be in a new submenu named "Helper" in the add node menu. This
sub-menu
>> will not be visible on screen.
>>
>> === Operators ===
>>
>> a new operation will be added where the user can click on a line holding
a
>> certain key and this will add a RoutingNode in that position.
>>
>> === drawnode.c ===
>>
>> For the RoutingNode a new function is introduced to draw the node.
>> When drawing bNodeLink that is connected to a routingnode a different
>> algorithm will be used for drawing the bezier.
>>
>> If the distance traveled on the x-axis is longer than the y-axis the link
>> will be connected to the east or west of the node. If the y-axis is
longer
>> it will be the north of south.
>>
>> When it is connected to the north of source, the bezier will be adjusted
to
>> draw it correctly.
>>
>> When a line will be between two reroute nodes, an arrow will be draw on
the
>> line. This way the user know where the line is heading to.
>>
>> ==== nodes/???_ ====
>>
>> All node types will get a RerouteNode. currently only the compositor will
>> get one.
>> A rerouting node contains one input socket and one output socket and uses
>> pass buffer to pass the data to the next node
>>
>> --------------------------------------------------------------------
>> mail2web - Check your email from the web at
>> http://link.mail2web.com/mail2web
>>
>>
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
>

--------------------------------------------------------------------
mail2web.com - Microsoft® Exchange solutions from a leading provider -
http://link.mail2web.com/Business/Exchange




More information about the Bf-committers mailing list