Hitman 2: Silent Assassin coordinate system rotates the scene depending on the camera and the terrain system bugs out because of that
Describe the bug
- When rotating the camera, the whole world rotate instead, so captures are slanted/rotated according to the camera in USD Composer.
- Runtime Version: Newest release 0.4.0
- RTX 3060 - 12GB
- Driver version: 546.33
- Game is from Steam Build
- Using DxWrapper
Hitman 2 Silent Assassin.zip The attached required files. The hitman2.ini has the general game settings. I experimented with many, including "DisableHWTnL" (Hardware Transformation and Lighting), with no success at all.
To Reproduce Steps to reproduce the behavior: 1 - With the provided rtx.conf, which already has the terrain textures set as such, the terrain only renders nicely if looking from a top-bottom direction. As the angle lowers, it falls apart as if the terrain is being overlaid from camera's forward vector direction. 2 - Try making and opening capture in USD Composer, it will be rotated according to the camera. 3 - Play around with Fused World-View settings, none of them work.
Expected behavior
- The runtime should be able to identify the game's coordinate system and undo the transformations so the terrain system doesn't glitches like the video shows.
Screenshots/Videos
Video
Hi @Ekozmaster, several fixes for better handling of capture handedness and orientation have gone in since your report. Can you please try the latest build and let us know whether you see more reasonable behavior?
Oh, Hi there @nv-nfreybler ! Sorry for a late response. Just tested it and still has the same issue. I noticed that the camera starts always positioned at the USD Composer's world origin, at 0,0,0, as if the game is performing all it's transformations in CPU side and updating the world every frame, yet the mesh hashes are all stable.
REMIX-2776
Hi again @Ekozmaster, we have once again made siginificant improvements in our auto detection of handedness and orientation, and have fixed some bugs related to how the captures correct for such cases. Can you please try once more for us? Thanks.
Hi there, @nv-nfreybler. Just tested it with #73/#565 and it didn't work. Tried many settings for fused world view matrices and nothing worked. This pic might be important. It is all zeroed.
@Ekozmaster I took another look at your configs. Have you confirmed that rtx.zUp is correct and the game is not y-up (False)? And I see the line rtx.captureInstanceStageName = capture_2024-01-23_23-19-11.usd is hardcoded in there and may be causing some trouble, capturing the same USD stage every time.
Can you please try changing your rtx.conf file accordingly, and wiping your rtx-remix/captures/ subdir entirely and try again?
@nv-nfreybler This time I didn't even capture anything, was looking purely at the terrain textures moving with the camera and remix menu showing cam coords at 0,0,0 during runtime