dilevin / computer-graphics-shader-pipeline

Computer Graphics Assignment about the Shader Pipeline
2 stars 5 forks source link

Cannot run test-01.json #2

Closed harrychy8 closed 5 years ago

harrychy8 commented 5 years ago

Tried to run the program using Powershell, a small black window popped up at the top left corner then nothing happens. I am using Windows. Can someone help me? Thank you!

harrychy8 commented 5 years ago

There are not any error messages either

rarora7777 commented 5 years ago

This is just a guess, but I think it's because the default executable path in VS is different from *NIX systems. The (relative) shader paths are hardcoded in the test files, and your program is unable to find them. Try changing the output path in VS from /build/Release to /build. A similar effect can be achieved by running ./Release/shaderpipeline.exe from the /build folder.