appleseedhq / appleseed

A modern open source rendering engine for animation and visual effects
https://appleseedhq.net/
MIT License
2.2k stars 329 forks source link

Add shortcut to frame selection and modify camera pivot #356

Open jonathantopf opened 10 years ago

jonathantopf commented 10 years ago

A helpful feature would be the ability to frame the current selection in the viewport and change the camera pivot to the object's centre using a shortcut. I suggest 'f' as the shortcut

jammm commented 10 years ago

On it, will start right away.

dictoon commented 10 years ago

Great, marking it as assigned then.

jonathantopf commented 10 years ago

looking forward to this one

On Tue, Mar 18, 2014 at 7:31 AM, François Beaune notifications@github.comwrote:

Great, marking it as assigned then.

Reply to this email directly or view it on GitHubhttps://github.com/appleseedhq/appleseed/issues/356#issuecomment-37905838 .

jammm commented 10 years ago

I might need some help though, which sources am I looking at?

jonathantopf commented 10 years ago

I'm not sure about the appleseed internal stuff but looking at the render widget code should help. Presumably in there there is already the code for modifying the camera position with cmd+drag

../appleseed/src/appleseed.studio/mainwindow/rendering/renderwidget.h

On Tue, Mar 18, 2014 at 10:14 AM, jammm notifications@github.com wrote:

I might need some help though, which sources am I looking at?

Reply to this email directly or view it on GitHubhttps://github.com/appleseedhq/appleseed/issues/356#issuecomment-37916560 .

dictoon commented 10 years ago

Not really. There are many things to consider, this feature is not necessarily a piece of cake:

This is not an easy task and will likely take you a couple weeks to get right. If you still feel comfy about it, I'll be glad to guide you through the actual code. If however you're looking for an easier task (is that for GSoC qualification?) then there are definitely better options. Look for tasks with the Easy tag (this isn't one of them).

jammm commented 10 years ago

Yes, this is for a GSoC qualification :) If it does really take this long, I guess for now it's better if I concentrate on the easier tasks.