Re: [Plib-users] I need help i don't know how to....
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2004-03-24 00:35:11
|
lahiani moti wrote: > Hello > 1. > I use the example viewer (plib_examples-1.6.0\src\ssg\viewer ) to load a 3ds model. > And when it loaded I need to print all the model vertex ,texture vertex ,triangles normal and so on . > How can I print them ? The SSG base class has: print ( FILE *fd ) ; So use: root_node -> print ( stdout ) ; ...or something. > 2. > How can I open one more window that react some buttons that I want to add the viewer exemple window.?? Is it possible??? Depends on which windowing library you are using. Our new built-in 'PW' windowing system only supports one window - so don't use that. However, if you use GLUT, you could copy the example in plib/examples/src/pui/complex.cxx - it opens three windows. ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- |