Andrei Kortunov
2d869ca9ff
Fix node masks signed/unsigned mismatch
4 years ago
Andrei Kortunov
4ee15ddcb9
Fix many Coverity Scan warnings
6 years ago
Andrei Kortunov
e06f0b797a
Replace all NULLs to nullptr
6 years ago
Miloslav Číž
79527b746a
Remove unused variable
7 years ago
Miloslav Číž
b246580c63
Fix orbit camera axis
7 years ago
Miloslav Číž
d85f8deaa3
CS: Add fixed roll setting, plus ortho fix
7 years ago
Miloslav Číž
bfad5ebde4
CS: Fix camera orbit control with keys
7 years ago
Miloslav Číž
5e076ee015
CS: Fix camera orbit with arbitrary roll
7 years ago
Miloslav Číž
7d36dd68dc
CS: Make orbit camera not change roll
7 years ago
Rob Cutmore
0ff56677f6
Remove unused code
8 years ago
Rob Cutmore
84bad9316d
Editor: flag orbit camera for re-initialization
...
After swapping cells the orbit cam controller needs to be
re-initialized to properly center on the new cell.
8 years ago
Aesylwinn
bf2ab4ed45
Change the way modifiers are handled so they can be shared.
9 years ago
Aesylwinn
f251c3867d
Redesigned shortcut handler to be capable of dealing with child and
...
parent widgets. This should be the final design change. Also, some
various bug fixes.
9 years ago
Aesylwinn
455d227f3c
Changed shortcut design to allow a configurable second output. Also
...
re-added shift for temporarily changing camera speed.
9 years ago
Aesylwinn
1b5273f2b7
Finally re-added rendering stats, refactored some functions
...
to better fit new input structure, removed unneeded shortcut
declarations in headers, and changed the cell marker
interaction to use primary/secondary select instead of
shift + primary/secondary edit.
9 years ago
Aesylwinn
faa84e0a35
- Further extended usage of new shortcut class
...
- Refactored camera classes to take advantage of Qt's reference counting
- Removed some of the old implementation
9 years ago
Aesylwinn
e8626e588a
Changes in shortcut design.
...
- Handle input in centralized class for potential conflict resolution.
- Remove wrapper class for QShortcut; it should be unnecessary.
- Added customizable shortcut usage to orbit camera mode.
9 years ago
Aesylwinn
40297701d0
Base key config/shortcut implementation
9 years ago
Aesylwinn
2f39a6e20d
Fix camera input not being reset when focus for widget is lost.
9 years ago
Aesylwinn
b111febfc9
Add pitch constraint for first person camera.
9 years ago
Aesylwinn
e07687ee01
Add button for camera mouse inversion in user preferences, and separate the
...
sensitivity settings for orbit and free cameras.
9 years ago
Aesylwinn
ec25998b12
Cleanup, use setTraversalMask instead of setNodeMaskOverride
9 years ago
Aesylwinn
0ef7c778e0
Cleanup, isModified was a remnant of an old design and is only used in the first person camera mode.
9 years ago
Aesylwinn
4ef9981544
Add ability to set orbit camera center outside of class.
9 years ago
Aesylwinn
99e9017242
Cleanup, externalize mask used to pick center
9 years ago
Aesylwinn
a4cc891383
Cleanup, move setup to CameraController class
9 years ago
Aesylwinn
efa2ec21ff
Cleanup, no need to inherit and override osg::ComputeBoundsVisitor
9 years ago
Aesylwinn
7d9dddfa38
Place camera farther away, improves preview camera placement.
9 years ago
Aesylwinn
09bce73c33
Fix starting distance not being correctly set.
9 years ago
Aesylwinn
35ff4ec4b1
Normalize default camera controls so that is appears as if the camera is
...
the object being moved. Also, allow mouse inversion for secondary movement.
9 years ago
Aesylwinn
fbe9177f5d
Better center picking for the Orbit Camera.
9 years ago
Aesylwinn
a0fb242bf8
Slight improvement to camera placement.
9 years ago
Aesylwinn
dede171886
Fix the secondary navigation method for OrbitCameraController.
9 years ago
Aesylwinn
3c83128abc
Add more customization.
9 years ago
Aesylwinn
3a676fc456
Revert "Create a visual representation of the center of the orbit camera."
...
This reverts commit 2c894acd98
.
# Conflicts:
# apps/opencs/view/render/cameracontroller.cpp
# apps/opencs/view/render/cameracontroller.hpp
9 years ago
Aesylwinn
342d31de76
More fixes to the orbit manipulator
9 years ago
Aesylwinn
2903271331
Correct the center position for the orbit camera controller
9 years ago
Aesylwinn
2c894acd98
Create a visual representation of the center of the orbit camera.
...
For debugging purposes.
9 years ago
Aesylwinn
4374f69a60
Reduce mouse sensitivity
9 years ago
Aesylwinn
2b72a04e7a
Update 1st person up axis ASAP.
9 years ago
Aesylwinn
999869da24
Position camera above, near, and looking at the scene.
9 years ago
Aesylwinn
fcccacc0fa
Define a constant for the World Up vector
9 years ago
Aesylwinn
08fe914ba1
Preliminary editor camera
9 years ago