Skip to main content

[SOLVED] 3D HUD Positioning

1 reply [Last post]
conzar
Offline
Joined: 2003-07-15

Hello.
I was rending my hud graphics ontop of the canvas, but as explained in a previous thread; this was too much of a performance hog.

So I've converted to using seperate QuadArrays for each hud component. By doing this, I am having trouble positioning the components in the scene.

Meaning, how do I know where the edge of the screen is inside of the canvas? With the previous method (drawing ontop of the canvas), I could get the size of the Frame to determine where the components were placed.

Is there a way to do this in J3D? I now this should be dependent on the Z coordinate. Has anyone figured this out before?

Thanks

Message was edited by: conzar

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
conzar
Offline
Joined: 2003-07-15