Closed leo-nerd closed 4 years ago
Do you have anything reported to the console? Maybe file was not found.
BMP has multiple format and we only support one in the loader. as per: http://www.opengl-tutorial.org/beginners-tutorials/tutorial-5-a-textured-cube/#loading-bmp-images-yourself
Our bmp loader is more for curious mind that want to see all the details. Not really something that should be used anywhere. Maybe you could instead use a proper image loading library like https://github.com/nothings/stb for instance.
Damien Mabin website: http://www.opengl-tutorial.org/ http://www.opengl-tutorial.org/ Game dev @ Supercell
On Sun, 26 Apr 2020 at 22:41, Seva Borisoff notifications@github.com wrote:
Do you have anything reported to the console? Maybe file was not found.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/opengl-tutorials/ogl/issues/103#issuecomment-619613643, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADAXISKN7XC3ITMPZHBCEADROSE6VANCNFSM4MGHBXFQ .
-- You received this message because you are subscribed to the Google Groups "Contact opengl-tutorial.org" group. To unsubscribe from this group and stop receiving emails from it, send an email to contact-opengl-tutorialorg+unsubscribe@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/contact-opengl-tutorialorg/opengl-tutorials/ogl/issues/103/619613643%40github.com https://groups.google.com/d/msgid/contact-opengl-tutorialorg/opengl-tutorials/ogl/issues/103/619613643%40github.com?utm_medium=email&utm_source=footer .
Right - that's what I suspected, thanks for the info!
Hello. I'm trying to replace the included .bmp textures with other images. I'm keeping them 512x512. The cube renders all black. What am I missing? Thanks.