|
From: Stephen J B. <sj...@li...> - 2002-02-26 14:36:37
|
On Tue, 26 Feb 2002, William Gacquer wrote: > It seems to me to be the fest thing to do. The code must be much more > compact > by avoiding external windowing functionalities. May I also understand > that by > using freeglut, I could map a user-interface on each side of a 3D cube ? I don't think so. freeglut uses glBitMap's to render fonts (same as GLUT-classic) - and these don't transform. Also, GLUT (and hence freeglut) only has a simple popup menu - it's hardly a full GUI. However, I've done that kind of thing with my own 'PUI' library (part of PLIB at http://plib.sf.net) - it's not hard to do. > (the question may seem stupid but it should be understood in > immersive/stereovision > applications) > > __________ > |\ A /| > | \______/ | > | B| E |C | > | |____| | > | / D \ | > |/________\| > > If the classical GLUT does 2D-windowing calls for displaying menus, it > cannot. Indeed. Check out PUI. It not only renders the boxes and such using polygons - but also has an option to use texture-mapped fonts which can be transformed as you require. > Another question : does freeglut compile and run on win32 ? I believe so - but I've never done that myself. ---- Steve Baker (817)619-2657 (Vox/Vox-Mail) L3Com/Link Simulation & Training (817)619-2466 (Fax) Work: sj...@li... http://www.link.com Home: sjb...@ai... http://www.sjbaker.org |