You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an Avara user, in spectator mode, I should be able to switch between witnessing through other players' views (currently implemented), and a free-flight mode where the camera can be rotated and moved anywhere in the level space.
Bonus points:
Ability to pick a focus object or player, so that the camera always rotates to keep that object or player in view, no matter the position of the camera
Implement in such a way that it is easily added to BSPViewer and a future phase game film playback mode
Keep SDL input handling to a single class (avoid adding more places where SDL_Events must be handled)
Extra extra bonus points:
Move all input handling into its own class (no SDL_Events anywhere else in the code base)
The text was updated successfully, but these errors were encountered:
PRs #391 and #392 have added a free flight camera used in spectator mode. A new file CFreeCam.cpp was added to contain all the handling for the new camera. Additional code was added outside the new class to make the new camera view get used at the proper time.
Here are the features that align with this issue:
Free camera can toggle on/off during spectator mode.
When toggled on:
Free camera can strafe in the six orthogonal directions in 3d space
Camera can rotate in a complete sphere around the sphere's center (camera always looks at the center)
Camera can zoom in and out (changes radius of the sphere)
User can select a player to follow using the existing Spectate Next/Previous controls
Camera sphere will stay centered on the selected spectate player until the following occurs:
Free cam is toggled off
Spectate Next/Previous controls are pressed again
The camera is moved in any of the 6 orthogonal directions. Zooming or rotating the camera will keep the camera centered on the spectate player.
At the time of this comment, HECTOR's are the only in-game object that the free camera can center on
Please review if the free camera implementation is "easily added to BSPViewer" as I don't know the requirements for this goal.
As far as I can tell, the free cam has not added more SDL_Event handling but the FunctionTable for keyboard keys is read inside of CFreeCam.cpp.
My PRs have no other changes to SDL_events.
I will not close this issue yet due to the unfinished tasks in the bonus section.
As an Avara user, in spectator mode, I should be able to switch between witnessing through other players' views (currently implemented), and a free-flight mode where the camera can be rotated and moved anywhere in the level space.
Bonus points:
SDL_Event
s must be handled)Extra extra bonus points:
SDL_Event
s anywhere else in the code base)The text was updated successfully, but these errors were encountered: