STORM-IRIT / Radium-Engine

Research 3D Engine for rendering, animation and processing
https://storm-irit.github.io/Radium-Engine/
Apache License 2.0
100 stars 50 forks source link

Camera manipulators #545

Open dlyr opened 4 years ago

dlyr commented 4 years ago

It seems that current camera manipulators "intelligence" is inside qt object. It can be a good idea to decorrelated this intelligence from qt, so the qt object only handles events, and translate them into raw camera call. So that fitScene, rotateAroundTarget, rotateAroundPos etc should be method of camera (or a newly created cameraManipulator class), and the widget just translate parameters and call them. Maybe camera should have a target, optionally used, or we need two types of camera (free and target).

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.