-
Notifications
You must be signed in to change notification settings - Fork 927
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
Tutorial 05: trying my own .bmp files turns out black #103
Comments
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 ***@***.***> 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
<#103 (comment)>,
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 ***@***.***
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! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: