[Plib-devel] proper plib coding example
Brought to you by:
sjbaker
From: Bram S. <br...@sa...> - 2005-02-26 15:47:57
|
Hi there, I found out, that nowhere in plib examples, we show people how to properly write a plib application. The main problem is that none of the demos properly handles resizing of the window. After a resize, the aspect ratio is likely to change. This causes distorted geometry in the rendering (Spheres look like elipses). Also, I understand that the current recommended way to implement a plib app, is to use ssgContext. However, none of the demos does this. tuxkart, tux-aqfh and flightgear have the same problems.... so where to turn to for a recommended plib app implementation? Well, I've modified examples/src/ssg/viewer so that at least 1 app is available that uses ssgContext, and properly handles window resizes. Maybe it makes sense to fix all plib examples? bram |