SceneViewer shows nothing but dark screen
Hi, could you make sure that your working directory is set to be the repository's root directory? (i.e., Capsaicin)
If that doesn't fix your issue, could you share the content of the console output in here?
I have the same / similar issue. It works fine when launching from Visual Studio, but trying to launch from RenderDoc just gives that black screen.
Using Executable Path: "F:\Capsaicin\build\bin\RelWithDebInfo\scene_viewer.exe" and Working Directory: "F:\Capsaicin\build\bin\RelWithDebInfo" immediately closes the program on launch, changing Working Directory to "F:\Capsaicin" runs the program as in the screenshot with the gui up but a black scene.
Edit: I don't see the console output because it only gives the black scene when launching outside of Visual Studio.
I also tried copying the binaries into "F:\Capsaicin" and can successfully launch from the command line by changing directory to "F:\Capsaicin" and typing "scene_viewer", but setting the Executable Path to "F:\Capsaicin\scene_viewer.exe" and Working Directory to "F:\Capsaicin" in RenderDoc still gives the black scene.
Hi @hbk723, unfortunately RenderDoc does not support DXR, so the extension is forcibly disabled when replaying a capture and the shaders fail to compile, hence the black screen.
I'd recommend using Pix if you want to debug a frame: https://devblogs.microsoft.com/pix/download/
Really appreciate the response, I'll try Pix. Awesome work by the way!
Same issue with me. My scene_viewer.exe opens fine but only shows environment map and not the scene objects. also there is no output on the console