=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2006-09-05_15:28:48 (curt) /var/cvs/FlightGear-0.9/source/src/Cockpit/panel.cxx
Syd Adams: - Well I finally licked it, the clipping works great now, in 16 and 32 bpp mode, on 2d and 3d panels. - I tried glScissors, didnt work because clipping was done in screen co-ordinates. - Stencil buffer methods worked great for 2d panel, but messed up 3d panels,(depth buffer problems I think), and only worked in 32 bpp mode. - I then tried clip planes , and so far it appears to work with no problem, and no framerate drop like I had with the stencil buffer method... I'm attaching the panel.cxx file for testing... 2f585eeea02e2c79d7b1d8c4963bae2d ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel