Re: [Flightgear-devel] Hud coordinate system

2006-05-23 Thread Erik Hofman
Drew wrote: I've discovered through experimentation that drawing at coordinate (614,614) will draw a pixel at the absolute upper-right corner of the screen, and (0,0) is the lower left, regardless of the field of view selected. However, if I change the look angle to -5 degrees, the image

Re: [Flightgear-devel] Hud coordinate system

2006-05-23 Thread Drew
Thanks for the response. How do you implement a 2D hud? I can't find any documentation on this, and it apparently is defaulting to 3d behavior. Drew On 5/23/06, Erik Hofman [EMAIL PROTECTED] wrote: Drew wrote: I've discovered through experimentation that drawing at coordinate (614,614) will draw

Re: [Flightgear-devel] Hud coordinate system

2006-05-23 Thread Jim A
Drew [EMAIL PROTECTED] wrote: Thanks for the response. How do you implement a 2D hud? I can't find any documentation on this, and it apparently is defaulting to 3d behavior. Drew command line arg --disable-hud-3d results in 2d HUD Jim

Re: [Flightgear-devel] Hud coordinate system

2006-05-23 Thread Drew
Perfect, thanks. Now with the 2d hud, the window is 640x480 like Ihad expected. Drew On 5/23/06, Jim A [EMAIL PROTECTED] wrote: Drew [EMAIL PROTECTED] wrote: Thanks for the response. How do you implement a 2D hud?I can't find any documentation on this, and it apparently is defaulting to 3d

[Flightgear-devel] Hud coordinate system

2006-05-22 Thread Drew
Hi all, I'm trying to draw a custom overlay on the FlightGear display, and am modifying the HUD capability to accomplish this. However, I'm a bit confused about the coordinate system I should be using. To give some background, I'd like to be able to draw on the screen no matter what my viewing