Hi,
I fixed that problem.
Originally the code looked like this
_examinerViewer = new SoXtExaminerViewer(_frame9, "examinerViewer", TRUE);
_gLwMDrawingArea5 = XtCreateManagedWidget("gLwMDrawingArea5",
glwMDrawingAreaWidgetClass,
_frame8,
args,
ac);
I swapped the order of those calls, and now
it works fine. (I guess that's a bug in
Inventor on Linux?),
Regards,
Paul.
From: jlim@xxxxxxxxxxxxxxxxxxxx (Jonathan Lim)
To: pabeardsley@xxxxxxxxxxx (Paul Beardsley)
CC: info-inventor-dev@xxxxxxxxxxx
Subject: Re: Inventor on Linux
Date: Wed, 15 Nov 2000 14:20:46 -0800 (PST)
On Wed Nov 15 14:12:43 2000, pabeardsley@xxxxxxxxxxx wrote:
>
> I am porting that program to Linux, and downloaded
> OpenInventor for Linux from the SGI web site.
> The installation went fine, and the program build went
> fine. The program runs, and everything appears to be working
> correctly, apart from one thing - images don't appear in the
> OpenGl display area (even though everything is working as
> normal and the required calls to OpenGL are being
> made - just not actioned).
When you say "OpenGL display area", do you mean the rendering area in one
of
the Inventor viewers? How are you rendering the image and what format is
it?
Does the application work when remote displayed, e.g. to your Octane? Do
you
have a simple test case to reproduce the problem?
> I have another program which is identical to
> the first in all ways, except for not using
> Inventor. With that program, images are displayed
> correctly in the Linux version.
>
>
---------------------------------------------------------------------------
> Paul Beardsley
> MERL - A Mitsubishi Electric Research Laboratory, tel: +(617) 621
7569
> 201 Broadway, Cambridge, MA 02139, USA fax: +(617) 621
7550
Jonathan Lim _ Silicon Graphics _ Mountain View
GPS Graphics Computer Systems CA, USA
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
|