Hi everyone. I have two (hopefully quick) questions:
- I am simply trying to use glFrustum for a graphics program. However, no matter
what I do, when I use it instead of glOrtho, nothing will come up on the screen.
Could someone tell me exactly where it needs to go (display, init, main, etc.) and what I need to do to make it work?
And…
- Is there a simple way to texture map a small rectangular picture onto a rectangle? I’m trying to use a small picture to make a TV look like there is a video game on it, and while my books describe texture mapping, it seems to be way too complicated for something simple like this. It is a jpeg, but I could convert it to anything else through a graphics program I have.
Just FYI, I’m using OpenGL with MSVC++.
Thanks so much to anyone who helps.