appleseedhq / appleseed

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

Improve camera controller #351

Open dictoon opened 10 years ago

dictoon commented 10 years ago

The camera controller is the piece of code that allows the user to manipulate the camera during interactive rendering. It works reasonably well but rotation and translation get difficult to use when strongly zoomed in or out.

The camera controller code is here: https://github.com/appleseedhq/appleseed/blob/master/src/appleseed/foundation/ui/cameracontroller.h

marius-avram commented 10 years ago

I have a suggestion regarding camera control. I don't know if it falls in the same category or a separate issue should be made, but it would be nice if you could also zoom in or out by also moving the mouse left and right not only up and down. If I recall correctly maya allows both.

dictoon commented 10 years ago

I'm not opposed to this. It can be done as part of this issue.

crest01 commented 10 years ago

Can i work on this as part of my GSoC-Applicaton-thingy?

dictoon commented 10 years ago

Sure, but please check with Marius if he's already on it or not.

On Friday, March 14, 2014, Karl Haubenwallner notifications@github.com wrote:

Can i work on this as part of my GSoC-Applicaton-thingy?

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

marius-avram commented 10 years ago

I'm not. You can have it.

dictoon commented 10 years ago

Alright Karl, it's all yours then. Marking it as assigned.

jonathantopf commented 10 years ago

I'm not sure if this is out of the scope of this issue but a very common and handy shortcut is pressing f to frame the selected object. It also centres the camera pivot around that object which further improves scene navigation.

I'm not sure if this is hard or simple but it seems related

On Saturday, March 15, 2014, François Beaune notifications@github.com wrote:

Alright Karl, it's all yours then. Marking it as assigned.

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

dictoon commented 10 years ago

Jon: it's something I've planned to have for a long time now, would be very useful, but it's not completely trivial to do so we should create a separate issue. Can you do it?

jonathantopf commented 10 years ago

sure thing

On Sat, Mar 15, 2014 at 10:06 AM, François Beaune notifications@github.comwrote:

Jon: it's something I've planned to have for a long time now, would be very useful, but it's not completely trivial to do so we should create a separate issue. Can you do it?

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

dictoon commented 10 years ago

The camera is easier to control at high zoom levels. A few directions for fine tuning: