Solved

OpenGL (very simple) Loading a bitmap

Posted on 2003-11-30
3
676 Views
Last Modified: 2010-04-02
How do I load a bitmap not as a texture but just as an image in an OpenGL window . For use as a backround.
0
Comment
Question by:Paladin_VB
3 Comments
 
LVL 6

Accepted Solution

by:
PlanetCpp earned 80 total points
ID: 9847966
its been a little while since ive done any opengl but the way i used to make backgrounds in 3d was to use a texture. you make a surface like a large square and texture it. theres also tricks you can use, when i wrote a small 3d world (just a grassy field with mountains in the background, a house and sky) i used a sphere that was textured with the sky image. the sphere was big enough so that the rest of the world was inside of it. the mountains were a ring around the center inside the sphere, like a wall. that was textured. and the grass was a large floor of polygon squares all textured with random grass textures.
0
 
LVL 9

Expert Comment

by:tinchos
ID: 10286258
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: PlanetCpp {http:#9847966}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Tinchos
EE Cleanup Volunteer
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now