PacktPublishing / Mastering-Graphics-Programming-with-Vulkan

MIT License
562 stars 77 forks source link

Do any of the glTF-Sample-Models work ? #14

Closed mslinklater closed 1 year ago

mslinklater commented 1 year ago

I've tried a few of the glTF-Sample-Models with Chapter 1 and none of them render anything. I get the two windows rendering fine but no model... it's just a green background. I've tried Box, Cube. Suzanne... all load without error but don't actually render anything. Am I doing something wrong ?

theWatchmen commented 1 year ago

I think I know what this is: we hardcoded the model scale for Sponza, so most of the other models are too small to be seen. You can change the scale in the code or from the UI. We do the right thing in the next chapters, I'll see how easy it is to port that change to chapter 1.

mslinklater commented 1 year ago

Thanks. I've just tried Sponza and it's rendering fine. Good to know it's working 8)

theWatchmen commented 1 year ago

I am going to close this issue as it looks like it's been resolved. Feel free to reopen it if needed :)