From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 31660 invoked from network); 13 Oct 1999 23:46:34 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 13 Oct 1999 23:46:34 -0000 Received: from ns-mx.uiowa.edu (ns-mx.uiowa.edu [128.255.56.78]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id TAA04321 for ; Wed, 13 Oct 1999 19:46:33 -0400 Received: from uiowa.edu (barracuda.eng.uiowa.edu [128.255.22.253]) by ns-mx.uiowa.edu (8.9.1/8.9.1/ns-mx-1.7) with ESMTP id SAA33164 for ; Wed, 13 Oct 1999 18:46:33 -0500 Sender: bcarlson@ns-mx.uiowa.edu Message-ID: <380519D8.EB676C2C@uiowa.edu> Date: Wed, 13 Oct 1999 18:46:32 -0500 From: "Blake L. Carlson" X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.3.17 i686) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Any tips for using GLUT References: <11EB515FBDB3D111BF270000F84A9ED60436C8A7@shrexc1.shr.dec.com> <3804F5BE.7720ED88@paralleldata.com> <3804FBB4.53528568@uiowa.edu> <380510EC.5A293AC1@paralleldata.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Wes - That's the problem. I switched into 8-bit depth and got the GLUT_INDEX stuff to work no sweat. Same fix also works for NT (switch to 255 colors). Now, we need a work-around so INDEX mode will still work in 16/24/32 bit modes. It seems that this problem must plague all flavors of Linux and Win people. Hmmmm... I'll hunt for a fix. Thanks everyone for your help! Sorry if this thread was off topic for the list. - Blake wsb@paralleldata.com wrote: > > "Blake L. Carlson" wrote: > > > > I've been playing with the Mesa demos and they seem to be working okay. > > I tried going to 32 bit display depth and that didn't change anything. > > 24-bit crashed my graphics adapter. > > > > I looked at the GLUT spec and it also supports indexed color, > which would be your normal 8 bit display. Possibly your > using 16/32 which uses the TrueColor visual in X and you told > it you want indexed color, which is 8 bit. At one point I > messed with this because I looked at porting my own 8 bit indexed > colormap X code to true color and didn't find a simple way to > get it working. Each screen has a list of visuals it supports > and you can retrieve that list using an X call. I did see that > in 16/24/32 bit modes, there was no 8 bit visual available to > use that I could find. That was the trick I had planned on trying > with my code. If anyone knows how to do this, please let me know. > > > Here's the error - > > GLUT: Fatal Error in (unamed): visual with necessary capabilities not > > found. > > > > What if my program is trying to use double-buffered display for images? > > I think I may be requesting a quality of service from Mesa/graphics > > system (??) which isn't supported. I'll try removing the double > > buffering. If that's not it, it's gotta be the colormap. > > > > Since Mesa is in SW, it probably isn't using HW mode double > buffering (a guess). > > Wes > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com