-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to configure the scene world space coordinate system (#61)
## Description Fixes NVIDIAGameWorks/rtx-remix#432. `SceneManager::calculateSceneRight()` assumed a right-handed coordinate system, which meant it computed the wrong value for games using a left-handed coordinate system. This change adds an option `leftHandedCoordinateSystem` which makes the world space coordinate system configurable. I have exposed this option on the developer GUI alongside the `zUp` option. ## Testing Tested in Star Wars Galaxies which uses a left-handed coordinate system. The terrain baking previously failed due to the incorrect value computed by `SceneManager::calculateSceneRight()`:  Now works with the option enabled: 
- Loading branch information
Showing
3 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters