Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SceneViewer shows nothing but dark screen #10

Open
wumo opened this issue Nov 1, 2023 · 5 comments
Open

SceneViewer shows nothing but dark screen #10

wumo opened this issue Nov 1, 2023 · 5 comments

Comments

@wumo
Copy link

wumo commented Nov 1, 2023

image

@gboisse
Copy link
Collaborator

gboisse commented Nov 2, 2023

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?

@hbk723
Copy link

hbk723 commented Nov 10, 2023

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.

@gboisse
Copy link
Collaborator

gboisse commented Nov 10, 2023

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/

@hbk723
Copy link

hbk723 commented Nov 11, 2023

Really appreciate the response, I'll try Pix. Awesome work by the way!

@invertibleMatrix
Copy link

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
Screenshot (14)

Hineven added a commit to Hineven/Capsaicin that referenced this issue May 22, 2024
Hineven added a commit to Hineven/Capsaicin that referenced this issue May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants