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

Black earth with no imagery #3

Open
mingweiLIU opened this issue Feb 26, 2023 · 5 comments
Open

Black earth with no imagery #3

mingweiLIU opened this issue Feb 26, 2023 · 5 comments

Comments

@mingweiLIU
Copy link

Hi, I finally make the project work with no network error, but I encountered another problem: the earth is black with no images, what's more, the PC will shut down munites after the application is running. There is no error or warning in the console, and I've updated the GPU Driver ( GPU is RXT2080), do you think is there any other information I have missed?
image

@timoore
Copy link
Owner

timoore commented Feb 26, 2023

How are you running the program - from the command line? Under a MSVC debugger? It looks like it's not finding the shader source code -- you can use VSG_FILE_PATH to set the path to the data directory if you haven't installed the program. If your machine is shutting down, that could mean that there are Vulkan problems; adding the --debug flag on startup will run the Vulkan validation layer and should report any problems.

@mingweiLIU
Copy link
Author

I have copied the data files into the project directory in the build directory, actually, there will be an error that PBR could not find the shader if the shader source code is missing. The --debug information is :
image

@timoore
Copy link
Owner

timoore commented Feb 28, 2023

There are two workarounds for not finding the shaders:

  1. Install vsgCs. The data directory will be where the code expects. There may be issues running vsgCS from the installed location; I will look into that today.
  2. Set the VSG_FILE_PATH environment variable to point to vsgCS/data, wherever it is.
    I will add some documentation about this.

@mingweiLIU
Copy link
Author

I have set the VSG_FILE_PATH, and I don't think this is due to the reason that vsgCS could not find the shaders, since the images/Cesium_ion_256.png could be found, which is in the same folder the shaders are. Also, there are no warnings and errors for the shader missing.

@timoore
Copy link
Owner

timoore commented Mar 1, 2023

I've pushed changes to master that fix problems with an installed vsgCs, including a missing shader file issue. The required version of VSG is now 1.0.3, so you might need to refresh your VSG install.

coopergogo pushed a commit to ecopia-map/vsgCs that referenced this issue Jan 7, 2025
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

2 participants