Solved

OpenGL (very simple) Loading a bitmap

Posted on 2003-11-30
3
677 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
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.

810 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