Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Sandwich on July 29, 2002, 05:18:38 pm

Title: Do away with the 2D HUD for 3D?
Post by: Sandwich on July 29, 2002, 05:18:38 pm
Just a thought... partly because I read about the slowness of penguin's (I think it was his) OpenGL port in 2D, and partly because of the fact the I have Elsa 3D glasses, and the depth positioning of the HUD in FS2 is crap.

Basically, the idea would be to have the existing 2D HUD display/render not as 2D objects, but as textures on a 3D plane. A true 3D radar map would then be possible, I'd think.

I also believe that the code for something like this already exists, because the 3D display of a targeted ship in the lower-left corner is, well, 3D! :)

It's not a very important change to make, of course, but it just may be something that would actually make things easier in the long run, as well as open up new doors of possibilities.

Any thoughts?
Title: Re: Do away with the 2D HUD for 3D?
Post by: aldo_14 on July 29, 2002, 05:23:50 pm
Quote
Originally posted by sandwich
Just a thought... partly because I read about the slowness of penguin's (I think it was his) OpenGL port in 2D, and partly because of the fact the I have Elsa 3D glasses, and the depth positioning of the HUD in FS2 is crap.

Basically, the idea would be to have the existing 2D HUD display/render not as 2D objects, but as textures on a 3D plane. A true 3D radar map would then be possible, I'd think.

I also believe that the code for something like this already exists, because the 3D display of a targeted ship in the lower-left corner is, well, 3D! :)

It's not a very important change to make, of course, but it just may be something that would actually make things easier in the long run, as well as open up new doors of possibilities.

Any thoughts?


I dunno..... I don't really see it as a major benefit, to be honest.  A true virtual cockpit could be neat - but then again, that coulkd hurt the gameplay by blocking visiblity(?)
Title: Re: Do away with the 2D HUD for 3D?
Post by: penguin on July 29, 2002, 05:41:38 pm
Quote
Originally posted by sandwich
Just a thought... partly because I read about the slowness of penguin's (I think it was his) OpenGL port in 2D, and partly because of the fact the I have Elsa 3D glasses, and the depth positioning of the HUD in FS2 is crap.
Most of the slowness is due to my own OpenGL ignorance :blah:  But I think I know how to fix it now.

Maybe this week I'll address tweaking the OpenGL/Linux port, since I have some time on my hands for a change...
Title: Re: Re: Do away with the 2D HUD for 3D?
Post by: Sandwich on July 29, 2002, 05:46:07 pm
Quote
Originally posted by penguin
Most of the slowness is due to my own OpenGL ignorance :blah:  But I think I know how to fix it now.

Maybe this week I'll address tweaking the OpenGL/Linux port, since I have some time on my hands for a change...


Ok, well it was just a thought. :)

While I'm asking, would anyone know where to change the Z-buffer setting for the HUD, to fix the 3D glasses problem?