From marc.price@rd.bbc.co.uk Thu Nov 14 09:00:56 2002 Received: with ECARTIS (v1.0.0; list info-inventor-dev); Thu, 14 Nov 2002 09:00:59 -0800 (PST) Received: from gateh.kw.bbc.co.uk (gateh.kw.bbc.co.uk [132.185.132.17]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gAEH0tuR000662 for ; Thu, 14 Nov 2002 09:00:56 -0800 Received: from sunf0.rd.bbc.co.uk (ddmailgate.rd.bbc.co.uk [132.185.128.104]) by gateh.kw.bbc.co.uk (8.11.2/8.11.2) with SMTP id gAEH2Zs06001 for ; Thu, 14 Nov 2002 17:02:36 GMT Received: from sunf3.rd.bbc.co.uk by sunf0.rd.bbc.co.uk; Thu, 14 Nov 02 17:02:27 GMT Received: from rd.bbc.co.uk by sunf3.rd.bbc.co.uk; Thu, 14 Nov 2002 17:02:27 GMT Message-Id: <3DD3D683.67639F3@rd.bbc.co.uk> Date: Thu, 14 Nov 2002 16:59:47 +0000 From: Dr M Price Organization: BBC R&D X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en Mime-Version: 1.0 To: info-inventor-dev@oss.sgi.com Subject: use of engines with glut Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-archive-position: 31 X-ecartis-version: Ecartis v1.0.0 Sender: info-inventor-dev-bounce@oss.sgi.com Errors-to: info-inventor-dev-bounce@oss.sgi.com X-original-sender: marc.price@rd.bbc.co.uk Precedence: bulk X-list: info-inventor-dev I'm modifying an inventor-based renderer we have, which uses glut. I have tried loading an inventor scene (eg windmill.iv) with engines, but the animations don't work. I think that the engine outputs aren't being propagated when the SoGLRenderAction is applied. Is there some other action that needs to be applied to force this propagation? I don't believe this to be a bug in the renderer I have, as I have tried mod'ing the inventor/glut examples (ie "globe" and "glutduck") to load in arbitrary .iv files, and the same problem occurs. Any hints greatly appreciated - I don't want to have to re-write this renderer to use SoXtRenderArea instead of glut. Many thanks Marc -- Dr Marc Price ------------------------------------------------------------------------ BBC Research and Development, Kingswood Warren, Tel: +44 (0)1737 839789 Tadworth, email: Marc.Price@rd.bbc.co.uk Surrey KT20 6NP Fax: +44 (0)1737 839665 From mortene@sim.no Thu Nov 14 11:52:43 2002 Received: with ECARTIS (v1.0.0; list info-inventor-dev); Thu, 14 Nov 2002 11:52:45 -0800 (PST) Received: from sim.no (trh.sim.no [213.236.166.75]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gAEJqfuR001961 for ; Thu, 14 Nov 2002 11:52:42 -0800 Received: (qmail 21789 invoked by uid 1114); 14 Nov 2002 19:54:24 -0000 To: info-inventor-dev@oss.sgi.com Subject: Re: use of engines with glut References: <3DD3D683.67639F3@rd.bbc.co.uk> From: Morten Eriksen Organization: Systems in Motion Date: 14 Nov 2002 20:54:24 +0100 In-Reply-To: Dr M Price's message of "Thu, 14 Nov 2002 16:59:47 +0000" Message-ID: <51adkcvsen.fsf@nfs.trh.sim.no> Lines: 26 User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-archive-position: 32 X-ecartis-version: Ecartis v1.0.0 Sender: info-inventor-dev-bounce@oss.sgi.com Errors-to: info-inventor-dev-bounce@oss.sgi.com X-original-sender: mortene@sim.no Precedence: bulk X-list: info-inventor-dev Dr M Price writes: > I'm modifying an inventor-based renderer we have, which uses glut. > I have tried loading an inventor scene (eg windmill.iv) with > engines, but the animations don't work. I think that the engine > outputs aren't being propagated when the SoGLRenderAction is > applied. Is there some other action that needs to be applied to > force this propagation? This probably happens because you are not processing the sensor queues. I have also written a small example that shows how to use GLUT with the Inventor API, see . This example contains some animated entities in the scene. Note that the sensor queue handling is not perfect, though. To get it completely right, you should really take a look at the source code of either SGI's InventorXt, or one of our SoQt/SoWin/SoXt/SoGtk libraries. (See URL in my signature.) And be aware that it is not entirely trivial to get right. Regards, Morten -- From joshuarobinson@cox.net Mon Nov 18 20:26:26 2002 Received: with ECARTIS (v1.0.0; list info-inventor-dev); Mon, 18 Nov 2002 20:26:30 -0800 (PST) Received: from fed1mtao03.cox.net (fed1mtao03.cox.net [68.6.19.242]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gAJ4QQuR007343 for ; Mon, 18 Nov 2002 20:26:26 -0800 Received: from cox.net ([68.5.228.37]) by fed1mtao03.cox.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20021119042822.BCNJ2201.fed1mtao03.cox.net@cox.net> for ; Mon, 18 Nov 2002 23:28:22 -0500 Message-ID: <3DD9BE90.6040808@cox.net> Date: Mon, 18 Nov 2002 20:31:12 -0800 From: Joshua Robinson User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: inventor Subject: error unpacking and compiling Content-Type: multipart/alternative; boundary="------------010401030502050507000903" X-archive-position: 33 X-ecartis-version: Ecartis v1.0.0 Sender: info-inventor-dev-bounce@oss.sgi.com Errors-to: info-inventor-dev-bounce@oss.sgi.com X-original-sender: joshuarobinson@cox.net Precedence: bulk X-list: info-inventor-dev --------------010401030502050507000903 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi, I am a newbie to OpenInventor (one day 5 hours 37 minutes 2 seconds :-) - don't ask how I know! ). _*my settings:*_ IVROOT=/home/joshuar/inventor LIBTYPE and FREETYPE are not set, using default. I have downloaded the Linux version and ran gmake as it says in the README.FIRST file, It compiled with the following errors: --------------------------------- /home/joshuar/inventor//usr/lib/InventorDebug/libInventor.so: undefined reference to `pthread_getspecific' /home/joshuar/inventor//usr/lib/InventorDebug/libInventor.so: undefined reference to `XextAddDisplay' /home/joshuar/inventor//usr/lib/InventorDebug/libInventor.so: undefined reference to `pthread_key_create' /home/joshuar/inventor//usr/lib/InventorDebug/libInventor.so: undefined reference to `XextFindDisplay' /home/joshuar/inventor//usr/lib/InventorDebug/libInventor.so: undefined reference to `XextCreateExtension' /home/joshuar/inventor//usr/lib/InventorDebug/libInventor.so: undefined reference to `XextRemoveDisplay' /home/joshuar/inventor//usr/lib/InventorDebug/libInventor.so: undefined reference to `XMissingExtension' /home/joshuar/inventor//usr/lib/InventorDebug/libInventor.so: undefined reference to `pthread_setspecific' collect2: ld returned 1 exit status gmake[3]: *** [ivman] Error 1 gmake[3]: Leaving directory `/home/joshuar/inventor/doc/man/ivman' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/home/joshuar/inventor/doc/man' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/home/joshuar/inventor/doc' gmake: *** [all] Error 1 --------------------------------- Any help will be appreciated, Cheers, -Joshua- --------------010401030502050507000903 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi,

I am a newbie to OpenInventor (one day 5 hours 37 minutes 2 seconds :-)   - don't ask how I know! ).

my settings:
IVROOT=/home/joshuar/inventor
LIBTYPE and FREETYPE are not set, using default.

I have downloaded the Linux version and ran gmake as it says in the README.FIRST file, It compiled with the following errors:
---------------------------------
/home/joshuar/inventor//usr/lib/InventorDebug/libInventor.so: undefined reference
 to `pthread_getspecific'
/home/joshuar/inventor//usr/lib/InventorDebug/libInventor.so: undefined reference
 to `XextAddDisplay'
/home/joshuar/inventor//usr/lib/InventorDebug/libInventor.so: undefined reference
 to `pthread_key_create'
/home/joshuar/inventor//usr/lib/InventorDebug/libInventor.so: undefined reference
 to `XextFindDisplay'
/home/joshuar/inventor//usr/lib/InventorDebug/libInventor.so: undefined reference
 to `XextCreateExtension'
/home/joshuar/inventor//usr/lib/InventorDebug/libInventor.so: undefined reference
 to `XextRemoveDisplay'
/home/joshuar/inventor//usr/lib/InventorDebug/libInventor.so: undefined reference
 to `XMissingExtension'
/home/joshuar/inventor//usr/lib/InventorDebug/libInventor.so: undefined reference
 to `pthread_setspecific'
collect2: ld returned 1 exit status
gmake[3]: *** [ivman] Error 1
gmake[3]: Leaving directory `/home/joshuar/inventor/doc/man/ivman'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/home/joshuar/inventor/doc/man'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/home/joshuar/inventor/doc'
gmake: *** [all] Error 1
---------------------------------

Any help will be appreciated,

Cheers,
-Joshua-
--------------010401030502050507000903--