RE: [Plib-devel] new viewer example
Brought to you by:
sjbaker
From: Fay J. F C. AAC/W. <joh...@eg...> - 2005-10-02 18:14:41
|
Bram, I've looked at the "pview.cxx" file, added a project file, and updated the workspace file. I made a few changes to the source code to allow it to compile without warnings under MSVC; you will probably want to look at them. John F. Fay Technical Fellow, Jacobs/Sverdrup TEAS Group joh...@eg... 850-729-6330 -----Original Message----- From: pli...@li... [mailto:pli...@li...] On Behalf Of Bram Stolk Sent: Sunday, August 21, 2005 4:17 AM To: pli...@li... Subject: [Plib-devel] new viewer example Hi there, examples/src/ssg/viewer/viewer.cxx has a non working orbit function. I think it's a HPR vs Quat issue, so that you can't orbit directly overhead of the model. When I started out fixing this, I noticed that viewer.cxx is quite complex, and not as lean as it could be. I've added a new viewer sample (pview.cxx), with the following benefits over viewer.cxx - orbit works properly (with what I call a virtual ball interface a la perfly) - mean/lean/clean (appr one 4th of viewer.cxx size) - better suited for instructional use for newbie ssg users due to smaller code. random notes: -It was tested on linux and irix. -I did not adapt the win32 project file. -I left out the freeglut include hack: i don't see why this is req'd: I use freeglut myself, but it is simple available as GL/glut.h bram ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ plib-devel mailing list pli...@li... https://lists.sourceforge.net/lists/listinfo/plib-devel |