I 'm making a game in C++ and I need some help, I want to display a bmp image. I want to read a a bmp file and save the color ids in a matrix. Could you please help me. :)
NickyU 0 Newbie Poster
Recommended Answers
Jump to PostI kinda want to do it my self , no DirectX. I want some help like a piece of code to explain, something more explicit than the Wikipedia article.
Download the source code for OpenGL and you will find the code you want. Otherwise that wiki article looks like it …
Jump to PostStart with a really simple BMP file (edit it using mspaint).
RRGG RRGG BBWW BBWW
Where Red, Green, Blue and White pixels.
So you have a 4x4 pixel image, and not much else.Then load it into an editor capable of showing you hex characters, then …
All 10 Replies
Salem 5,265 Posting Sage
CoolGamer48 65 Posting Pro in Training
NickyU 0 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Salem 5,265 Posting Sage
NickyU 0 Newbie Poster
CoolGamer48 65 Posting Pro in Training
NickyU 0 Newbie Poster
dark_lord 0 Newbie Poster
mrnutty 761 Senior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.