]> git.mxchange.org Git - flightgear.git/commit
Syd Adams:
authorcurt <curt>
Tue, 5 Sep 2006 20:28:48 +0000 (20:28 +0000)
committercurt <curt>
Tue, 5 Sep 2006 20:28:48 +0000 (20:28 +0000)
commit2c193be0ca73278046d63de186127bba22a32edc
treea78afc05fc6edb598ce427ec4952cb120ccb2987
parent789779d532410e0f3b8abbdc4866f78f1ab73db6
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...
src/Cockpit/panel.cxx