Solved

OpenGL (very simple) Loading a bitmap

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

708 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

15 Experts available now in Live!

Get 1:1 Help Now