Java-Gaming.org
Java4K winners:
[
by our judges
|
by the community
]
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members
News
: Read the
Java Gaming Resources
, or peek at
the official Java tutorials
Home
Help
Search
Login
Register
Java-Gaming.org
>
Java Game APIs & Engines
>
OpenGL Development
>
JOGL Development
>
3D widget in HUD?
Pages: [
1
]
Print
3D widget in HUD?
(Read 682 times)
0 Members and 1 Guest are viewing this topic.
ajmas
Jr. Member
Posts: 66
Miles away from here!
3D widget in HUD?
«
on:
2005-12-15 17:24:12
»
I am in the process of writing a program that provides a view of a virtual world. In front of th viewer's view is a HUD, where I wish to add a few 3D widgets, that would be updated in real time. I don't want the 3D widgets on the HUD to be affected by the perspective used to display the 3D world. Do you have any ideas on how to do ensure the perspectives are different for the world and the HUD?
hvor2
Sr. Member
Posts: 278
Beyond mind, there is an awareness...
Re: 3D widget in HUD?
«
Reply #1 on:
2005-12-16 03:33:13
»
The way I am doing this is to render all of my 3d world first, and then at the end of render process, do something like this:
1
2
3
4
GL11
.
glPushMatrix
();
GL11
.
glLoadIdentity
();
drawGeometryIndependantOfTheWorld
();
GL11
.
glPopMatrix
();
That is used for 3d geometry put in HUD. For 2d, you should consider ortho mode.
<a href="
http://hvor.madpage.com/monstrumo.htm
">Monstrumo</a> | <a href="
http://hvor.madpage.com/magicwoodslwjgl.htm
">MagicWoods</a>
Pages: [
1
]
Print
Jump to:
Please select a destination:
-----------------------------
Games Center
-----------------------------
=> Featured Games
=> Showcase
=> Contests
===> LWJGL16k - 2011
===> 4K Game Competition - 2012
===> JGO Comp Petite
===> Finished Contests
=====> 4K Game Competition - 2011
=====> 4K Game Competition - 2010
=====> 4K Game Competition - 2009
=====> 4K Game Competition - 2008
=====> 4K Game Competition - 2007
=====> 4K Game Competition - 2006
=====> 4K Game Competition - 2005
=====> Tiny Game 2010
=====> JGO Comp 2009
=====> 16K LWJGL Competition - 2005
=====> Java Technology Game Development Contest - 2004
-----------------------------
Discussions
-----------------------------
=> General Discussions
===> Suggestions
=> Business and Project Discussions
===> Jobs and Resumes
===> Community & Volunteer Projects
=> Miscellaneous Topics
-----------------------------
Game Development
-----------------------------
=> Newbie & Debugging Questions
=> Articles & tutorials
=> Game Play & Game Design
=> Game Mechanics
===> Artificial Intelligence
=> Networking & Multiplayer
=> Performance Tuning
=> Shared Code
-----------------------------
Java Game APIs & Engines
-----------------------------
=> Engines, Libraries and Tools
===> Java 3D
===> JInput
===> jMonkeyEngine
===> Xith3D Forums
===> Tools Discussion
=> Java 2D
===> JavaFX
=> OpenGL Development
===> JOGL Development
===> LWJGL Development
=> Java Sound & OpenAL
===> JOAL Development
=> Java on Mobile Devices
===> Android
===> J2ME
Loading...