- Jun 13, 2021
-
-
Vanessa Karolek authored
1) Now there is only one camera class (no inheritance anymore). Furthermore, the camera object is separated from camera controls and only manages camera specific information, such as the view matrix, projection matrix, the position, etc. Camera controls are now handled via camera controller objects. 2) The CameraManager now manages an arbitrary number of camera controllers, such as PilotCameraController or TrackballCameraController (TraceCameraController will be implemented soon!). Before you can use a camera object in your render loop, you need to add at least one camera. You do not have to use a camera controller to render something, but you need to implement camera movements yourself... If you want to CONTROL a camera object, you can make use of the existing camera controller objects. To create a controller, you need to add a camera controller object to the camera manager and specify which camera should be used for this controller. You can change the bound camera whenever you like to. To switch between all existing camera controllers, you can use the active controller in the render loop and change the cycle between all camera controllers via Tab. See the example projects for an examplary application. 3) Currently, events are only handled for the active camera controller. 4) DISCUSSION: We use the 'new' keyword within the camera manager class. Unfortunately, we did not find any other way to create an object (such as the camera controller) inside the scope of one function and make use of the inheritance (only pointers seem to support this) or to refer to an object that updates everywhere where it is refered. To not lose the object at specified memory location, we need to create it via 'new' and ensure that all allocated objects are deleted within the destructor of the camera manager. Find this lines at the 'TODO' marked locations. If you have a better idea to solve this problem, please let us know. :)
-
- Jun 07, 2021
-
-
Vanessa Karolek authored
Vulkan uses a left handed coordinate system. Thus, we need to define GLM_FORCE_LEFT_HANDED and adjust left and right movement of the camera. We also need to define GLM_DEPTH_ZERO_TO_ONE for the depth values which range between 0 and 1 in Vulkan. Although the up vector is pointing upwards again, it seems that the rendered scene is not flipped along y axis... is this correct?
-
- Jun 03, 2021
-
-
Sebastian Gaida authored
-
- Jun 01, 2021
-
-
Vanessa Karolek authored
Before, the camera object was just able to move along the xz plane. For vertical movement, you have to pan view and then use forward or backward movement to move up or down. This might be not so handy for the user. Now, you can use E to move up and use Q to move down (both along default world up vector).
-
Vanessa Karolek authored
For convenience reasons: - Right mouse movement leads to camera movement to the left (background changes to the right) - Left mouse movement leads to camera movement to the right (background changes to the left)
-
Vanessa Karolek authored
-
Vanessa Karolek authored
-
Vanessa Karolek authored
-
Alexander Gauggel authored
Resolve "Vulkan-Handles get destroyed if unused" Closes #62 See merge request !47
-
Tobias Frisch authored
Signed-off-by:
Tobias Frisch <tfrisch@uni-koblenz.de>
-
Vanessa Karolek authored
-
Vanessa Karolek authored
... because Vulkan is a bit different :D
-
Vanessa Karolek authored
-
Josch Morgenstern authored
-
Josch Morgenstern authored
-
Tobias Frisch authored
Signed-off-by:
Tobias Frisch <tfrisch@uni-koblenz.de>
-
Tobias Frisch authored
Signed-off-by:
Tobias Frisch <tfrisch@uni-koblenz.de>
-
- May 31, 2021
-
-
Vanessa Karolek authored
Just comment/uncomment lines to switch between normal camera and trackball camera (:
-
Vanessa Karolek authored
-
Artur Wasmut authored
Resolve "Texture the cube" Closes #53 See merge request !42
-
- May 30, 2021
-
-
Tobias Frisch authored
Signed-off-by:
Tobias Frisch <tfrisch@uni-koblenz.de>
-
Vanessa Karolek authored
-
Alexander Gauggel authored
-
Alexander Gauggel authored
Resolve "Sampler-Klasse" Closes #32 See merge request !34
-
Tobias Frisch authored
Signed-off-by:
Tobias Frisch <tfrisch@uni-koblenz.de>
-
Tobias Frisch authored
Resolve "Pass additional vertex attributes to cube shader" Closes #52 See merge request !41
-
Tobias Frisch authored
Signed-off-by:
Tobias Frisch <tfrisch@uni-koblenz.de>
-
Tobias Frisch authored
Signed-off-by:
Tobias Frisch <tfrisch@uni-koblenz.de>
-
Tobias Frisch authored
Signed-off-by:
Tobias Frisch <tfrisch@uni-koblenz.de>
-
Alexander Gauggel authored
-
Alexander Gauggel authored
Resolve "Image-Klasse" Closes #31 See merge request !32
-
Alexander Gauggel authored
-
Tobias Frisch authored
Signed-off-by:
Tobias Frisch <tfrisch@uni-koblenz.de>
-
Tobias Frisch authored
Signed-off-by:
Tobias Frisch <tfrisch@uni-koblenz.de>
-
Alexander Gauggel authored
-
Alexander Gauggel authored
-
Tobias Frisch authored
Signed-off-by:
Tobias Frisch <tfrisch@uni-koblenz.de>
-
Tobias Frisch authored
Signed-off-by:
Tobias Frisch <tfrisch@uni-koblenz.de>
-
- May 29, 2021
-
-
Tobias Frisch authored
Signed-off-by:
Tobias Frisch <tfrisch@uni-koblenz.de>
-
Tobias Frisch authored
Signed-off-by:
Tobias Frisch <tfrisch@uni-koblenz.de>
-