MrKepzie / Natron

Open-source compositing software. Node-graph based. Similar in functionalities to Adobe After Effects and Nuke by The Foundry.
www.natron.fr
GNU General Public License v2.0
1.49k stars 163 forks source link

nodegraph 'navigator' issue #819

Closed rcspam closed 9 years ago

rcspam commented 9 years ago

The navigator is not handle corrently: screenshot

captainmpc commented 9 years ago

Indeed navigator is weird. It's hard to target a specific area. It seems made with an intelligent bounds adaptation but it doesnt work well. Often out of focus

captainmpc commented 9 years ago

Say we have a virtual unlimited node graph canvas. Navigator is one domain of this canvas and help us to move our working area while this area is smaller than our domain (zoom in). Mouse drag view using delta pos multiply by inverse of zoom factor or something like this ( i'am a bad student). Anyway, this is a linear function. Ok. Now we need to define domain boundaries. In Nuke boundaries are defined by the whole graph boundaries , this makes totally sense. Navigator help us to navigate and work on graph. not the empty infinity space. Say an graph focused navigator. Natron navigator boundaries varies accordingly union of graph with view bounds. Mouse click on visible graph in navigator works well because boundaries barely doesnt change. But while mouse drags , domain is constantly changing make it behave like view (zoom and pan). Natron navigator is a view of a view of canvas. Mouse drag equation is not linear at all. Add to this, centroid changing. It is not human predictable, doesnt make sense and not very handy.

Could Natron navigator be simpler ?

MrKepzie commented 9 years ago

This is due to how internally QGraphicsView works. There is nothing we can do about it, except recode it ourselves.

MrKepzie commented 9 years ago

See https://github.com/MrKepzie/Natron/issues/815