Solved

OpenGL (very simple) Loading a bitmap

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
C++ assignment question 7 266
Writing a parser for java language 4 91
Why isn't object file created? 6 86
How do I get Window Title of all opened process? 4 32
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
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 goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

679 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