alexis bory wrote: > Did anybody asked about a way to keep the hud's marks inside the hud > screen ? >
If you are talking about the HUDs controlled by the 'h' key, I don't know the answer but I know it can be done so long as you want to constrain them to a rectangle. If you are talking about the kind of HUDs made from 3D objects, then read on. I was thinking about this just last night. I came up with a solution based on layering of transparent images. Rendering a transparent poly that is a) between some object and the viewpoint and b) listed before that object in the scenegraph will cause that object to become invisible wherever it is obscured by the transparent object. This is the genesis of many layering problems for 3D modelers. My idea is to create such an object as a mask that goes around the edge of the HUD. You put it almost last in the scenegraph so it doesn't cause this problem with bits of the cockpit, but you put the objects with the HUD markings after it in the scenegraph, and located physically out at the focal point of the projector. This point will probably be somewhere just out past the windscreen. When your head is in the right spot, you will see the markings through the hole that is cut in the middle of the screen, but if the markings or your viewpoint moves too far off to the side the markings get obscured by the mask. I'm planning on trying this method with the 3D model for Lee E's CanberraBI8. Josh ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel