From owner-ogl-sample@oss.sgi.com Fri May 25 13:24:02 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4PKO2s11149 for ogl-sample-outgoing; Fri, 25 May 2001 13:24:02 -0700 Received: from ifi.informatik.uni-stuttgart.de (ifi.informatik.uni-stuttgart.de [129.69.211.1]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f4PKO1F11146 for ; Fri, 25 May 2001 13:24:01 -0700 Received: from bebop.informatik.uni-stuttgart.de (bebop [129.69.215.68]) by ifi.informatik.uni-stuttgart.de (8.9.3/2.2) with ESMTP id WAA22161 for ; Fri, 25 May 2001 22:23:47 +0200 (MET DST) Received: from techno.informatik.uni-stuttgart.de (magallon@techno.informatik.uni-stuttgart.de [129.69.218.24]) by bebop.informatik.uni-stuttgart.de (8.11.0/2.2) with SMTP id f4PKNxu28811 for ; Fri, 25 May 2001 22:23:59 +0200 Received: by techno.informatik.uni-stuttgart.de (sSMTP sendmail emulation); Fri, 25 May 2001 22:23:59 +0200 Date: Fri, 25 May 2001 22:23:59 +0200 From: "Marcelo E. Magallon" To: ogl-sample@oss.sgi.com Subject: [ogl-sample] Description for .spec files? Message-ID: <20010525222359.A16277@informatik.uni-stuttgart.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i X-Operating-System: Linux techno 2.4.4-ac11 Sender: owner-ogl-sample@oss.sgi.com Precedence: bulk Reply-To: ogl-sample@oss.sgi.com Hi, Is there a description for the .spec files available somewhere? I have figured out most of the fields, but I'm still left with a couple of questions... TIA, -- Marcelo From owner-ogl-sample@oss.sgi.com Sun May 27 12:49:38 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4RJncm29557 for ogl-sample-outgoing; Sun, 27 May 2001 12:49:38 -0700 Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22]) by oss.sgi.com (8.11.3/8.11.3) with SMTP id f4RJmKd29114 for ; Sun, 27 May 2001 12:49:37 -0700 Received: from oddhack.engr.sgi.com (oddhack.engr.sgi.com [130.62.54.158]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id IAA05705 for ; Sun, 27 May 2001 08:06:32 -0700 (PDT) mail_from (ljp@oddhack.engr.sgi.com) Received: (from ljp@localhost) by oddhack.engr.sgi.com (SGI-8.9.3/8.9.3) id IAA15973; Sun, 27 May 2001 08:05:12 -0700 (PDT) Message-ID: <20010527080512.A13646@oddhack.engr.sgi.com> Date: Sun, 27 May 2001 08:05:12 -0700 From: Jon Leech To: ogl-sample@oss.sgi.com Subject: Re: [ogl-sample] Description for .spec files? References: <20010525222359.A16277@informatik.uni-stuttgart.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1 In-Reply-To: <20010525222359.A16277@informatik.uni-stuttgart.de>; from Marcelo E. Magallon on Fri, May 25, 2001 at 10:23:59PM +0200 Sender: owner-ogl-sample@oss.sgi.com Precedence: bulk Reply-To: ogl-sample@oss.sgi.com On Fri, May 25, 2001 at 10:23:59PM +0200, Marcelo E. Magallon wrote: > Hi, > > Is there a description for the .spec files available somewhere? I have > figured out most of the fields, but I'm still left with a couple of > questions... Hi Marcello, There isn't a formal description of the .spec file. Ask away. I am on vacation at the moment and probably won't reply until after this upcoming week, but someone else in my group may see this and respond earlier. Jon From owner-ogl-sample@oss.sgi.com Tue May 29 12:13:03 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4TJD3810451 for ogl-sample-outgoing; Tue, 29 May 2001 12:13:03 -0700 Received: from studsv07.studserv.uni-stuttgart.de (studsv07.studserv.uni-stuttgart.de [129.69.21.37]) by oss.sgi.com (8.11.3/8.11.3) with SMTP id f4TJCtd10446 for ; Tue, 29 May 2001 12:12:56 -0700 Received: from ysabell.wh.vaih [129.69.166.244] by studsv07.studserv.uni-stuttgart.de with ESMTP (SMTPD32-6.06) id A4B23CCC0124; Tue, 29 May 2001 21:12:50 +0200 Received: from marcelo by ysabell.wh.vaih with local (Exim 3.22 #1 (Debian)) id 154ovG-0003Jr-00 for ; Tue, 29 May 2001 21:12:54 +0200 Date: Tue, 29 May 2001 21:12:54 +0200 From: "Marcelo E. Magallon" To: ogl-sample@oss.sgi.com Subject: Re: [ogl-sample] Description for .spec files? Message-ID: <20010529211254.A12716@ysabell.wh.vaih> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010527080512.A13646@oddhack.engr.sgi.com> User-Agent: Mutt/1.3.18i X-Operating-System: Linux ysabell 2.4.4-xfs Sender: owner-ogl-sample@oss.sgi.com Precedence: bulk Reply-To: ogl-sample@oss.sgi.com Hi John, > There isn't a formal description of the .spec file. Ask away. I think I figured out all I needed. In case I find something I don't understand I'll ask here. I do have one problem though... I'm parsing enum.spec and I found the following undefined references ("use Foo_enum BAR"): PixelFormat{LUMINANCE16_ALPHA8_ICC_SGIX} PixelFormat{R5_G6_B5_A8_ICC_SGIX} PixelFormat{LUMINANCE16_ICC_SGIX} PixelFormat{ALPHA16_ICC_SGIX} SGIX_icc_texture{INTENSITY16_ICC_SGIX} SGIX_icc_texture{INTENSITY_ICC_SGIX} SGIX_icc_texture{LUMINANCE16_ALPHA8_ICC_SGIX} SGIX_icc_texture{ALPHA_ICC_SGIX} SGIX_icc_texture{RGBA_ICC_SGIX} SGIX_icc_texture{LUMINANCE16_ICC_SGIX} SGIX_icc_texture{LUMINANCE_ALPHA_ICC_SGIX} SGIX_icc_texture{RGB_ICC_SGIX} SGIX_icc_texture{R5_G6_B5_A8_ICC_SGIX} SGIX_icc_texture{LUMINANCE_ICC_SGIX} SGIX_icc_texture{ALPHA16_ICC_SGIX} MapTarget{TEXTURE_DEFORMATION_SGIX} PixelInternalFormat{R5_G6_B5_A8_ICC_SGIX} PixelInternalFormat{RGBA_ICC_SGIX} PixelInternalFormat{LUMINANCE_ALPHA_ICC_SGIX} PixelInternalFormat{INTENSITY_ICC_SGIX} PixelInternalFormat{LUMINANCE_ICC_SGIX} PixelInternalFormat{INTENSITY16_ICC_SGIX} PixelInternalFormat{ALPHA_ICC_SGIX} PixelInternalFormat{LUMINANCE16_ALPHA8_ICC_SGIX} PixelInternalFormat{RGB_ICC_SGIX} PixelInternalFormat{LUMINANCE16_ICC_SGIX} PixelInternalFormat{ALPHA16_ICC_SGIX} SGIX_polynomial_ffd{DEFORMATIONS_MASK_SGIX} SGIX_polynomial_ffd{TEXTURE_DEFORMATION_SGIX} GetPName{DEFORMATIONS_MASK_SGIX} MaterialParameter{DIFFUSE} MaterialParameter{SPECULAR} FfdTargetSGIX{TEXTURE_DEFORMATION_SGIX} LightProperty{DIFFUSE} LightProperty{SPECULAR} sorry about the hideous format, I was trying to figure out why my script was leaving some stuff undefined... it's enumName{enumKey}. Looking for, say, LUMINANCE16_ALPHA8_ICC_SGIX in the enum file you'll note that PixelFormat references it, but SGIX_icc_texture is commented out, which means the definition for LUMINANCE16_ALPHA8_ICC_SGIX doesn't exist. I'm parsing the file in one pass, which is why my script "knows" about SGIX_icc_texture (PixelFormat references it, my script notes this and leaves it undefined). The list of referenced undefined symbols is: SGIX_icc_texture{INTENSITY16_ICC_SGIX} SGIX_icc_texture{INTENSITY_ICC_SGIX} SGIX_icc_texture{LUMINANCE16_ALPHA8_ICC_SGIX} SGIX_icc_texture{ALPHA_ICC_SGIX} SGIX_icc_texture{RGBA_ICC_SGIX} SGIX_icc_texture{LUMINANCE16_ICC_SGIX} SGIX_icc_texture{LUMINANCE_ALPHA_ICC_SGIX} SGIX_icc_texture{RGB_ICC_SGIX} SGIX_icc_texture{R5_G6_B5_A8_ICC_SGIX} SGIX_icc_texture{LUMINANCE_ICC_SGIX} SGIX_icc_texture{ALPHA16_ICC_SGIX} SGIX_polynomial_ffd{DEFORMATIONS_MASK_SGIX} SGIX_polynomial_ffd{TEXTURE_DEFORMATION_SGIX} LightProperty{DIFFUSE} LightProperty{SPECULAR} as I said, SGIX_icc_texture is commented out. SGIX_polynomial_ffd looks like: # SGIX_polynomial_ffd enum: GEOMETRY_DEFORMATION_SGIX = 0x8194 TEXTURE_DEFORMATION_SGIX = 0x8195 DEFORMATIONS_MASK_SGIX = 0x8196 # 1 I MAX_DEFORMATION_ORDER_SGIX = 0x8197 that is, the enum line is commented out but the keys are not (hmm... I have to split on '^#+$' afterall...). LightProperty is actually LightParameter. -- Marcelo From owner-ogl-sample@oss.sgi.com Thu May 31 06:58:38 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4VDwcU12464 for ogl-sample-outgoing; Thu, 31 May 2001 06:58:38 -0700 Received: from sgi.com (sgi.SGI.COM [192.48.153.1]) by oss.sgi.com (8.11.3/8.11.3) with SMTP id f4VDwXh12458 for ; Thu, 31 May 2001 06:58:33 -0700 Received: from studsv07.studserv.uni-stuttgart.de (studsv07.studserv.uni-stuttgart.de [129.69.21.37]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id GAA01219 for ; Thu, 31 May 2001 06:58:13 -0700 (PDT) mail_from (marcelo.magallon@informatik.uni-stuttgart.de) Received: from ysabell.wh.vaih [129.69.166.244] by studsv07.studserv.uni-stuttgart.de with ESMTP (SMTPD32-6.06) id ADF28B890152; Thu, 31 May 2001 15:58:10 +0200 Received: from marcelo by ysabell.wh.vaih with local (Exim 3.22 #1 (Debian)) id 155Sxo-0000Jn-00 for ; Thu, 31 May 2001 15:58:12 +0200 Date: Thu, 31 May 2001 15:58:12 +0200 From: "Marcelo E. Magallon" To: ogl-sample@oss.sgi.com Subject: [ogl-sample] Another buglet Message-ID: <20010531155812.A1213@ysabell.wh.vaih> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.18i X-Operating-System: Linux ysabell 2.4.4-xfs Sender: owner-ogl-sample@oss.sgi.com Precedence: bulk Reply-To: ogl-sample@oss.sgi.com Hi, In glu.spec it reads: TexFilterFuncSGI(target, filtertype, parms, n, weights) return Int32 out value param target TextureTarget in value param filtertype Filter4TypeSGIS in value param parms Float32 in array [2] param n Int32 in value param weights Float32Pointer out value but Filter4TypeSGIS is not defined in the typemaps. I can't find documentation for the function gluTexFilterFuncSGI (I looked on a couple of IRIX 6.5 boxes). By looking at glTexFilterFuncSGIS I guess Filter4TypeSGIS is TextureFilterSGIS... is that right? -- Marcelo