-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Mesh viewer -> 'VS in' -> preview - Y axis orientation for Vulkan captures #1971
Description
Description
Hi, I've been using RenderDoc for Vulkan mesh debugging which has been an absolute Godsend, thank you!
Just one thing I'd like to suggest though, is it possible to invert the Y axis on the Mesh Viewer | VS in preview display?
The reason for this feature request is because I've spent about two days trying to figure out a bug in my Vulkan engine code, and several times I forgot that the Y axis in the previewer is positive up (GL), as opposed to positive down (Vulkan) which means that triangle face direction appears to be reversed. I got quite confused why VK_CULL_MODE_BACK_BIT with VK_FRONT_FACE_CLOCKWISE was culling what I thought were clockwise triangles. It was because the 'clockwise front face' triangles in the VS previewer were actually counter-clockwise front face (the mesh was all CCW front facing triangles).
So I was wondering, if a Vulkan capture was performed, maybe the previewer Y axis direction could be automatically flipped?
Or maybe a dropdown box for Vulkan/GL coord system selection in the VS previewer?
The red, green and blue axis lines could then also show the green line going down indicating a positive down Y axis.
Anyway, thank you so much for a great debugging tool!
Environment
- RenderDoc version: v1.8
- Operating System: Xubuntu 20.04
- Graphics API: Vulkan