To soften Wouter's message - the Bezier node in Nuke has two parts, the node 
panel Knob UI which is tied to support code in Nuke itself, and the bezier 
rasterizer which is not and just uses DDImage.

The Bezier Node's panel UI does have some customizations that requires the Qt 
toolkit (specifically the shape knob), but not all of the UI requires Qt.  The 
popup menu gui in the Viewer is directly supported in DDImage so you can write 
custom Knob types that handle that level of UI plus arbitrary pickable OpenGL.  
Some of the custom node panel Qt stuff could be moved to knobs added to a 
Viewer strip in order to avoid Qt.

The bezier rasterizer itself is straightforward and doesn't depend on any 
external libraries.  It's unfortunate that the bezier support structures are 
not included in DDImage so they could be reused in other nodes and parts of the 
rasterizer embedded in DDImage for the same reason.  Regardless of the method 
used to create the underlying bezier curve, DDImage itself should be able to 
rasterize a curve.  This is one of the reasons why there's a general Render 
class in DDImage, though it never got extended to the point where it could 
rasterize non-polygonal primitives besides Points.  Curves and Text were on the 
list...


Wouter, my understanding is that the Qt license is supposed to be opened up in 
6.3 to allow developers to write custom knobs that contain Qt widgets - is this 
not the case?  If it is then it seems that the Bezier code falls into that 
category.


-jonathan


On May 11, 2011, at 10:37 AM, Wouter Klouwen wrote:

> On 11/05/2011 17:49, Steven Booth wrote:
> 
>> First, I really don't think that modifying the current RotoPaint node is 
>> feasible [..] the RP node was never designed [..]  Making changes to it 
>> would imply [..] investment
> 
> Very little is likely to change for 6.3 but there are plans for after that.
> 
>> However, I would think that customizing and extending the old 'Bezier' node 
>> would be relatively easy, if the code was available, as it is for many of 
>> the other basic nodes.
> 
> The old Bezier node is integrated into Nuke, the source of this Node being 
> available to you would be quite useless as you wouldn't be able to compile 
> it. (Unless you became a Foundry employee and found yourself lucky enough to 
> be on the Nuke team.)
> 
>> As far as the UI interactions I'm interested in, they have to do with our 
>> specific workflow at Legend, and the way we do Roto.  I would be interested 
>> in changing the editing functionality of Bezier curve verticies.
> 
> Editing the functionality of beziers would probably a no go area unless there 
> are really specific things we could do to aid your workflow. If you don't 
> feel comfortable sharing these on the list, feel free to email support.
> 
> Sorry to be the bearer of bad news.
> 
> -- 
> Wouter Klouwen, Software Engineer
> The Foundry, 6th Floor, The Communications Building,
> 48 Leicester Square, London, WC2H 7LT, UK
> T: +442079686828 - F: +442074341550 - thefoundry.co.uk
> The Foundry Visionmongers Ltd - Reg.d in England and Wales No: 4642027
> _______________________________________________
> Nuke-dev mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to