Solved

OpenGL (very simple) Loading a bitmap

Posted on 2003-11-30
3
681 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Grammars for C C++ and java 1 144
How to gracefully close the c++ 11 thread? 3 155
Adding items to a C# list incrementally 5 81
Can Live bindings change TGrid Cell Colour ? 1 60
Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
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.

739 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