| <<O>> Difference Topic TwoDimensionalProjections (r1.1 - 02 Jan 2004 - PatrickHartling) |
| Line: 1 to 1 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Added: | ||||||||||
| > > |
Q: Is there an easy way to setup a 2D projection on the walls?I'm a CAVELib user that's trying to learn VR Juggler for a new project. Is there an easy way to setup a 2D projection on the walls? In CAVElib you'd do a CAVEWallTransform() which puts you in a 2D projection on the current wall so you can do 2D overlay stuff (disable lights and depth test, then a lot of glVertex2f()).A: Turn off depth buffer testing in an OpenGL-based application object.This is OpenGL specific. Turn off the depth buffer testing, and then draw your 3D geometry at the same position that the wall is at. Make sure you draw it last too. Also, don't transform the geometry with your navigation matrix. Back to: LiveFaq
| |||||||||
| Topic TwoDimensionalProjections . { View | Diffs | r1.1 | More } |
|
Revision - Revision r1.1 - 02 Jan 2004 - 16:20 - PatrickHartling |
Copyright © 1999-2008 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding VRJ Wiki? Send feedback |