A rectangle in the top left of the screen showing whats behind me...
Hello!
I came here to ask a question that I am trying to solve since 1 week.
My game is a very simple 3D world (just for learning how to work with OpenGl).
Its in first person (like Half Life engine). I want to put a rectangle in the Top Left of my screen, when playing, showing whats behind me (player).
How to do? Where to put? I have no idea of how to do this...
Its something like a Mirror that is in my back, that i am able to see whats on my back (behind)
Really thank you!
You can render to texture and texture a quad in the corner.
For rendering to textures see the tutorial at the bottom of this page:
http://www.gametutorials.com/Tutorials/opengl/OpenGL_Pg2.htm
I don''t know if it''s the best solution, but it would work just fine.
Marty
For rendering to textures see the tutorial at the bottom of this page:
http://www.gametutorials.com/Tutorials/opengl/OpenGL_Pg2.htm
I don''t know if it''s the best solution, but it would work just fine.
Marty
_____ /____ /|| | || MtY | ||_____|/Marty
You should read what people said about this issue in the other two posts you made instead of making a third one.
---------------------------------
For an overdose of l33tness, flashbang.nu
[edited by - lc_overlord on February 27, 2004 8:24:09 AM]
---------------------------------
For an overdose of l33tness, flashbang.nu
[edited by - lc_overlord on February 27, 2004 8:24:09 AM]
www.flashbang.se | www.thegeekstate.com | nehe.gamedev.net | glAux fix for lesson 6 | [twitter]thegeekstate[/twitter]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement