Enrico Turri
d760f3bd1b
Fixed automatic update of perspective camera
2019-08-03 09:07:38 +02:00
Enrico Turri
5da69bee3a
1) Perspective camera set as default camera type
...
2) Camera type selection added to Preferences dialog
2019-06-24 15:55:14 +02:00
Enrico Turri
8e3b785b61
Adaptive perspective camera frustrum
2019-06-24 09:38:46 +02:00
Enrico Turri
90ffd289cb
Fixed build on MacOS
2019-06-20 11:05:05 +02:00
Enrico Turri
0e3b1d0a2f
Serialized camera type and fixed Mac build
2019-06-20 10:02:52 +02:00
Enrico Turri
eff108c58b
More camera related functionalities moved from GLCanvas3D to Camera
2019-06-19 14:18:51 +02:00
Enrico Turri
1f33c99726
Enabled perspective camera
2019-06-19 13:01:18 +02:00
Enrico Turri
9877945e2a
Tighter camera frustrum to reduce z-fighting
2019-06-14 10:38:09 +02:00
Enrico Turri
f4a72f19a2
Added support for distance between camera position and camera target
2019-06-13 09:12:44 +02:00
Enrico Turri
9240dcb206
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_perspective_camera
2019-06-13 08:48:19 +02:00
Enrico Turri
75ecf5792f
Fixed method Camera::get_position()
2019-06-13 08:47:38 +02:00
Enrico Turri
bd19f9591d
Fixed method Camera::get_dir_forward()
2019-06-13 08:38:49 +02:00
Enrico Turri
ccc522dd2b
Added imgui debug dialog for camera statistics
2019-05-20 09:39:57 +02:00
Enrico Turri
6a06a2882c
Camera refactoring: Frustrum calculations moved into Camera class
2019-05-16 15:54:11 +02:00
Enrico Turri
686d5f16c9
Fixed method Vec3d Camera::get_position() const
2019-05-16 12:06:02 +02:00
Enrico Turri
72e7c07401
Flip X mouse deltas if bed is upside down (when camera up vector has negative Z)
2019-04-30 15:09:25 +02:00
Enrico Turri
b5f9b8859d
Added missing include
2019-04-01 10:28:04 +02:00
Enrico Turri
0f657b772b
Camera refactoring
...
1) All camera related OpenGL calls moved into class
2) The Camera class now stores the view matrix, the projection matrix and the viewport
3) The Camera class now exposes methods to get the camera orientation vectors, the camera position, the view matrix, the projection matrix and the viewport
4) All the code operating on the camera or requiring camera data has been modified to use the new methods
2019-04-01 10:00:10 +02:00
Enrico Turri
444002e156
Code cleanup
2019-03-08 12:03:31 +01:00
Enrico Turri
55342be4a1
Use unique camera shared by 3d view and preview (experimental)
2019-03-08 12:03:17 +01:00