From owner-info-inventor@oss.sgi.com Fri Feb 15 03:19:44 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1FBJiF13966 for info-inventor-outgoing; Fri, 15 Feb 2002 03:19:44 -0800 Received: from camukmail.camitrouk ([208.48.249.243]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1FBJf913963 for ; Fri, 15 Feb 2002 03:19:41 -0800 Received: by camukmail.camitrouk.com with Internet Mail Service (5.5.2653.19) id <1K70YH9J>; Fri, 15 Feb 2002 10:24:54 -0000 Message-ID: From: "Saunders, Brett" To: "'info-inventor@oss.sgi.com'" Subject: Patches; how do I commit them? Date: Fri, 15 Feb 2002 10:24:53 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-inventor@oss.sgi.com Precedence: bulk Hi There, I've made a couple of changes to OIV, and am wondering two things: 1) Are they worth commiting to the source base? 2) How do I commit them? These are the things I've changed: * I've added mouse wheel support to the wheel widgets in SoXt. This allows a user to place the mouse over a wheel widget and use the mouse wheel to move them. * I've modified SoXtExaminerViewer so that the mouse wheel zooms the camera in. This is great in ivview. * I've modified SoTexture2 so that it loads tiff images. I did this so that I could load alpha-channel textures. -Brett From owner-info-inventor@oss.sgi.com Mon Feb 18 07:28:09 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1IFS9E00921 for info-inventor-outgoing; Mon, 18 Feb 2002 07:28:09 -0800 Received: from camukmail.camitrouk ([208.48.249.243]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1IFS2900918; Mon, 18 Feb 2002 07:28:03 -0800 Received: by camukmail.camitrouk.com with Internet Mail Service (5.5.2653.19) id <1K70Y2BN>; Mon, 18 Feb 2002 14:33:18 -0000 Message-ID: From: "Saunders, Brett" To: "'info-inventor@oss.sgi.com'" , "'info-inventor-dev@oss.sgi.com'" Subject: Crash in SoXtMouse::enable(...) and DRI problems --- Help reques ted Date: Mon, 18 Feb 2002 14:33:17 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-inventor@oss.sgi.com Precedence: bulk Hi Guys, Got a couple of problems that I haven't figured out yet; help would be greatly appreciated: I cannot get any of the sample widgets (color wheel, texture editor etc..) to work on my computer at all. Everytime I attempt to run one of the widgets I get a segfault in the SoXtMouse::enable(...) function. The problem is that the "this" pointer is null in the function. If I trace the call up the stack the "mouse" pointer is clearly valid when called from MyColorWheel::buildWidget (for example). The widget w (which I believe should be the top-level widget) is always zero. These widgets work fine on my computer at home. The only difference is that the computer at home uses the vendor-supplied NVidia GLX drivers. The second problem that I am getting is an exception in /usr/X11R6/lib/modules/dri/radeon_dri.so in the function gl_test_os_katmai_exception_support(). I can continue this exception successfully; however removing the openGL libraries in /usr/lib (forcing the libraries in /usr/X11R6/lib to be used instead) as suggested online causes an immediate crash. Any ideas? The computer that I am having problems on is a Pentium 4 with an ATI Radeon 64 graphics card. The OS is RedHat linux 7.2. I am using the openmotif libraries supplied with redhat 7.1 to compile and link OIV against; however I experience the same problems with lesstif (version 1.2 or 2.1). Any help would be greatly appreciated. Cheers, -Brett From owner-info-inventor@oss.sgi.com Sun Feb 24 11:15:41 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1OJFfm03932 for info-inventor-outgoing; Sun, 24 Feb 2002 11:15:41 -0800 Received: from ipk.ipk.fhg.de (ipk.ipk.fhg.de [153.96.56.2]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1OJFa903926 for ; Sun, 24 Feb 2002 11:15:36 -0800 Received: from kiwi.ipk.fhg.de (kiwi.ipk.fhg.de [192.102.176.105]) by ipk.ipk.fhg.de (8.9.3/8.9.3) with ESMTP id TAA23392; Sun, 24 Feb 2002 19:15:18 +0100 (MET) Received: from kuerbis.ipk.fhg.de (kuerbis.ipk.fhg.de [153.97.89.17]) by kiwi.ipk.fhg.de (980427.SGI.8.8.8/8.6.4) with ESMTP id TAA16334; Sun, 24 Feb 2002 19:15:17 +0100 (MEZ) Received: by kuerbis.ipk.fhg.de (980427.SGI.8.8.8) id TAA42046; Sun, 24 Feb 2002 19:15:04 +0100 (MEZ) Date: Sun, 24 Feb 2002 19:15:04 +0100 From: Nico Schmidt To: "Saunders, Brett" Cc: info-inventor@oss.sgi.com Subject: Re: Patches; how do I commit them? Message-ID: <20020224191504.A1098414@kuerbis.ipk.fhg.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from bsaunders@camitro.com on Fri, Feb 15, 2002 at 10:24:53AM -0000 Sender: owner-inventor@oss.sgi.com Precedence: bulk On Fri, Feb 15, 2002 at 10:24:53AM -0000, Saunders, Brett wrote: > Hi There, > > I've made a couple of changes to OIV, and am wondering two things: > 1) Are they worth commiting to the source base? > 2) How do I commit them? > > These are the things I've changed: > * I've added mouse wheel support to the wheel widgets in SoXt. This > allows a user to place the mouse over a wheel widget and use the mouse wheel > to move them. > * I've modified SoXtExaminerViewer so that the mouse wheel zooms the > camera in. This is great in ivview. > * I've modified SoTexture2 so that it loads tiff images. I did this so > that I could load alpha-channel textures. > > -Brett Hi Brett, I implemented wheel mouse support about a year ago and posted some patches to this list. But by the time there wasn't so much response. I discussed the thing with Jonathan back then ( search the list for "wheel"). Maybe you want to have a look at the stuff. It's available at: http://gurke.ipk.fhg.de/~nschmidt/OpenInventor/ You will find a Node that uses the new SoMouseWheelEvent, the SgThumbWheel using the wheel event, and the SoXtExaminerViewer zooming in and out on wheel events. I introduced an X resource to SgThumbWheel called wheelDelta, so you can specify the amount the value changes each step. Tell me what you think. Maybe we should promote it once again. Have fun, Nico From owner-info-inventor@oss.sgi.com Sun Feb 24 14:28:49 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1OMSns07122 for info-inventor-outgoing; Sun, 24 Feb 2002 14:28:49 -0800 Received: from smtp5.andrew.cmu.edu (SMTP5.ANDREW.CMU.EDU [128.2.10.85]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1OMSj907119 for ; Sun, 24 Feb 2002 14:28:46 -0800 Received: from thresher (DYN-77-22.WV.CC.CMU.EDU [128.2.77.22]) (user=soa mech=KERBEROS_V4 (0 bits)) by smtp5.andrew.cmu.edu (8.12.2.Beta3/8.12.2.Beta3) with ESMTP id g1OLSgYJ029052 for ; Sun, 24 Feb 2002 16:28:42 -0500 Date: Sun, 24 Feb 2002 16:28:43 -0500 From: Stuart To: info-inventor@oss.sgi.com Subject: OffscreenRenderer Error + Solution Message-ID: <955841648.1014568123@thresher> Originator-Info: login-token=Mulberry:01orXjjBUkRMzXOWQV5/FG9isjUcvkHmYX40jw6Q==; token_authority=postmaster@andrew.cmu.edu X-Mailer: Mulberry/2.0.3 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-inventor@oss.sgi.com Precedence: bulk Hi, In SoOffscreenRenderer.cpp the call to glXChooseVisual is made with an attribute list that requests a visual without a double buffer. If if cannot acquire such a list it returns error. The correct behavior would be to then make a second call to glXChooseVisual with a second attribute list that will accept a double buffered visual and only fail if this second call failed. (It's an unfortunate point in the design of glX that the DOUBLEBUFFER element of the attribList is mutually exclusive). This caused offscreen rendering to fail on a few machines in my lab that only supported double buffered visuals at certain color depths. -- Stuart Anderson