From buho-1@entelchile.net Mon May 2 08:08:29 2005 Return-Path: X-Original-To: gtkglext-list@gnome.org Delivered-To: gtkglext-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 7F9403B0CDC for ; Mon, 2 May 2005 08:08:29 -0400 (EDT) Received: from menubar.gnome.org ([12.107.209.248]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24501-02 for ; Mon, 2 May 2005 08:08:27 -0400 (EDT) Received: from ismtp6.entelchile.net (ismtp6.adm.mail.entelchile.net [164.77.61.68]) by menubar.gnome.org (Postfix) with ESMTP id E8D5B3B0C61 for ; Mon, 2 May 2005 08:07:17 -0400 (EDT) Received: from HAL ([164.77.241.168]) by ismtp6.priv2.mail.entelchile.net (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with SMTP id <0IFV006PC304I9@ismtp6.priv2.mail.entelchile.net> for gtkglext-list@gnome.org; Mon, 02 May 2005 08:07:16 -0400 (CLT) Date: Mon, 02 May 2005 08:08:06 -0400 From: Mauricio Henriquez To: Mauricio Henriquez , gtkglext-list@gnome.org Message-id: <01ae01c54f0f$99603510$1400a8c0@HAL> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Mailer: Microsoft Outlook Express 6.00.2800.1106 Content-type: multipart/alternative; boundary="Boundary_(ID_QAW1Swmjj4itOsKy2haIEQ)" X-Priority: 3 X-MSMail-priority: Normal References: <006e01c54c64$c316f770$1400a8c0@HAL> X-Virus-Scanned: by amavisd-new at gnome.org Cc: Subject: [GtkGLExt] GtkGlExt-Sharp source compilation help X-BeenThere: gtkglext-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of GtkGLExt, OpenGL Extension to GTK+" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2005 12:08:29 -0000 This is a multi-part message in MIME format. --Boundary_(ID_QAW1Swmjj4itOsKy2haIEQ) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Hi: I need to make the GtkGlExt-Sharp librarie to make some opengl rendering in a gtk window, but I can't build the necesarie libraries like gtkgl-sharp.dll, gdkgl-sharp.dll, and may be you can send me your libraries or help me to build my own, I all ready try to build the libraries (I download the gtkglext-sharp.0.1.0, and try this on Windows Xp), but I can't find in the package the files in the "generated" folder (_GL_ATIVertexAttribArrayObject.cs, etc.), may be can you send me this files or let me know where can I find them. I realy need to get this libraries to work on windows and linux, becouse for now I generate the all window context for opengl stuff with "glut" from TAO (succefully on windows and linux), but if I want some widgets in a gtk window to control the figure I have to lunch the "glut-window" from my gtk-window in a diferent thread (otherwise the "glutmainloop" call lock the gtk-window), and this can couse some extrange behavior on mono/linux, for example I have to suspend a reasume the thread in the mono/linux version of my program to refresh the opengl figure (surprisingly this is not needed in the windows version), so it seems to be a better way to have the opengl stuff inside the gtk-window. Please help with this... Mauricio from Chili --Boundary_(ID_QAW1Swmjj4itOsKy2haIEQ) Content-type: text/html; charset=iso-8859-1 Content-transfer-encoding: 7BIT
Hi:
 
I need to make the GtkGlExt-Sharp librarie to make some opengl rendering in a gtk window, but I can't build the necesarie libraries like gtkgl-sharp.dll, gdkgl-sharp.dll, and may be you can send me your libraries or help me to build my own, I all ready try to build the libraries (I download the gtkglext-sharp.0.1.0, and try this on Windows Xp), but I can't find in the package the files in the "generated" folder (_GL_ATIVertexAttribArrayObject.cs, etc.), may be can you send me this files or let me know where can I find them.
 
I realy need to get this libraries to work on windows and linux, becouse for now I generate the all window context for opengl stuff with "glut" from TAO (succefully on windows and linux), but if I want some widgets in a gtk window to control the figure I have to lunch the "glut-window" from my gtk-window in a diferent thread (otherwise the "glutmainloop" call lock the gtk-window), and this can couse some extrange behavior on mono/linux, for example I have to suspend a reasume the thread in the mono/linux version of my program to refresh the opengl figure (surprisingly this is not needed in the windows version), so it seems to be a better way to have the opengl stuff inside the gtk-window.
 
Please help with this...
 
Mauricio from Chili
 
--Boundary_(ID_QAW1Swmjj4itOsKy2haIEQ)-- From florent_teichteil@yahoo.fr Mon May 9 05:43:59 2005 Return-Path: X-Original-To: gtkglext-list@gnome.org Delivered-To: gtkglext-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 273F03B0B0C for ; Mon, 9 May 2005 05:43:59 -0400 (EDT) Received: from menubar.gnome.org ([12.107.209.248]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05361-10 for ; Mon, 9 May 2005 05:43:57 -0400 (EDT) Received: from briaree.onecert.fr (briaree.onecert.fr [134.212.190.4]) by menubar.gnome.org (Postfix) with ESMTP id 30FDE3B0ACB for ; Mon, 9 May 2005 05:43:57 -0400 (EDT) Received: from neree.onecert.fr (thetis.onecert.fr [134.212.178.12]) by briaree.onecert.fr (8.13.1/8.13.1/ONERA-SRI) with ESMTP id j499hs1a001549 for ; Mon, 9 May 2005 11:43:54 +0200 Received: from neree.onecert.fr (thetis.antiviral [127.0.0.1]) by neree.onecert.fr (8.13.1/8.13.1/ONERA-SRI) with ESMTP id j499hsNt012857 for ; Mon, 9 May 2005 11:43:54 +0200 Received: from xuadrus (xuadrus.cert.fr [134.212.240.2]) by neree.onecert.fr (8.13.1/8.13.1/ONERA-SRI) with SMTP id j499hsc8012852 for ; Mon, 9 May 2005 11:43:54 +0200 Received: from [134.212.240.203] by xuadrus (SMI-8.6/SMI-SVR4) id LAA18456; Mon, 9 May 2005 11:44:00 +0200 Message-ID: <427F30D9.6090402@yahoo.fr> Date: Mon, 09 May 2005 11:43:53 +0200 From: Florent Teichteil User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050331) X-Accept-Language: fr, en MIME-Version: 1.0 To: gtkglext-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (briaree.onecert.fr [134.212.190.4]); Mon, 09 May 2005 11:43:54 +0200 (CEST) X-Virus-Scanned: by amavisd-new at gnome.org Subject: [GtkGLExt] display lists sharing problem with texturing enabled X-BeenThere: gtkglext-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of GtkGLExt, OpenGL Extension to GTK+" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2005 09:43:59 -0000 Hi, I have too problems with gtkglextmm. 1) The gtkglextmm widget is not invalidated (redrawn) if the size of the gtkglextmm area is too small. I use this instruction (from the gtkglextmm examples): get_window()->invalidate_rect(get_allocation(), false); 2) I have multiple gtkglextmm widgets that share the same display lists and textures. In fact, textures are compiled in display lists so that I only call display lists to draw the scene. All work fine, but if I enable texturing and at the time I am switching to the view where the display lists were initialized, I get the following message in the console: Couldn't alloc placeholder sz 40000 ofs 7c0000 Memory heap 0x8e11ac0: Offset:00000000, Size:00040000, U. Offset:00040000, Size:00040000, U. Offset:00080000, Size:00040000, U. Offset:000c0000, Size:00040000, U. Offset:00100000, Size:00040000, U. Offset:00140000, Size:00040000, U. Offset:00180000, Size:00040000, U. Offset:001c0000, Size:00040000, U. Offset:00200000, Size:00040000, U. Offset:00240000, Size:00040000, U. Offset:00280000, Size:00040000, U. Offset:002c0000, Size:00040000, U. Offset:00300000, Size:00040000, U. Offset:00340000, Size:00040000, U. Offset:00380000, Size:00040000, U. Offset:003c0000, Size:00040000, U. Offset:00400000, Size:00400000, U. Offset:00800000, Size:00040000, U. Offset:00840000, Size:00040000, U. Offset:00880000, Size:00040000, U. Offset:008c0000, Size:00040000, U. Offset:00900000, Size:00040000, U. End of memory blocks No segmentation fault happens and the program just goes on. Note that this problem does not occur if I disable texturing. Any ideas ? Thanks in advance, Florent Teichteil. From luca.cappa@i-medlab.com Mon May 9 10:35:29 2005 Return-Path: X-Original-To: gtkglext-list@gnome.org Delivered-To: gtkglext-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 6B7C43B08FA for ; Mon, 9 May 2005 10:35:29 -0400 (EDT) Received: from menubar.gnome.org ([12.107.209.248]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24160-10 for ; Mon, 9 May 2005 10:35:28 -0400 (EDT) Received: from avalon.nekhem.com (avalon.nekhem.com [213.254.11.62]) by menubar.gnome.org (Postfix) with ESMTP id 7AB343B0765 for ; Mon, 9 May 2005 10:35:27 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by avalon.nekhem.com (Postfix) with ESMTP id 000452BCA2 for ; Mon, 9 May 2005 16:35:26 +0200 (CEST) Received: from avalon.nekhem.com ([127.0.0.1]) by localhost (avalon [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 16175-04 for ; Mon, 9 May 2005 16:35:26 +0200 (CEST) Received: from [10.0.1.211] (teotihuacan.nekhem.com [213.254.11.58]) by avalon.nekhem.com (Postfix) with ESMTP id 499812BC88 for ; Mon, 9 May 2005 16:35:26 +0200 (CEST) Message-ID: <427F74F8.7000902@i-medlab.com> Date: Mon, 09 May 2005 16:34:32 +0200 From: Luca Cappa User-Agent: Debian Thunderbird 1.0 (X11/20050116) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkglext-list@gnome.org Subject: Re: [GtkGLExt] display lists sharing problem with texturing enabled References: <427F30D9.6090402@yahoo.fr> In-Reply-To: <427F30D9.6090402@yahoo.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at nekhem.com X-Virus-Scanned: by amavisd-new at gnome.org X-BeenThere: gtkglext-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of GtkGLExt, OpenGL Extension to GTK+" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2005 14:35:29 -0000 Hello, Florent Teichteil wrote: >Hi, > >I have too problems with gtkglextmm. > >1) The gtkglextmm widget is not invalidated (redrawn) if the size of the >gtkglextmm area is too small. I use this instruction (from the >gtkglextmm examples): get_window()->invalidate_rect(get_allocation(), >false); > > I think you should instead use this code to accomplish that: Gdk::Rectangle lRect = get_allocation (); get_window ()->invalidate_rect (Gdk::Rectangle (0, 0, lRect.get_width (), lRect.get_height ()), false); >2) I have multiple gtkglextmm widgets that share the same display lists >and textures. In fact, textures are compiled in display lists so that I >only call display lists to draw the scene. All work fine, but if I >enable texturing and at the time I am switching to the view where the >display lists were initialized, I get the following message in the console: > >Couldn't alloc placeholder sz 40000 ofs 7c0000 >Memory heap 0x8e11ac0: > Offset:00000000, Size:00040000, U. > Offset:00040000, Size:00040000, U. > Offset:00080000, Size:00040000, U. > Offset:000c0000, Size:00040000, U. > Offset:00100000, Size:00040000, U. > Offset:00140000, Size:00040000, U. > Offset:00180000, Size:00040000, U. > Offset:001c0000, Size:00040000, U. > Offset:00200000, Size:00040000, U. > Offset:00240000, Size:00040000, U. > Offset:00280000, Size:00040000, U. > Offset:002c0000, Size:00040000, U. > Offset:00300000, Size:00040000, U. > Offset:00340000, Size:00040000, U. > Offset:00380000, Size:00040000, U. > Offset:003c0000, Size:00040000, U. > Offset:00400000, Size:00400000, U. > Offset:00800000, Size:00040000, U. > Offset:00840000, Size:00040000, U. > Offset:00880000, Size:00040000, U. > Offset:008c0000, Size:00040000, U. > Offset:00900000, Size:00040000, U. >End of memory blocks >No segmentation fault happens and the program just goes on. Note that > > >this problem does not occur if I disable texturing. > >Any ideas ? > > Try using BUGLE to track down the problem. It is hard to say why that happen :-) Gretings, Luca From florent_teichteil@yahoo.fr Mon May 9 11:23:51 2005 Return-Path: X-Original-To: gtkglext-list@gnome.org Delivered-To: gtkglext-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id C7B4D3B0980 for ; Mon, 9 May 2005 11:23:51 -0400 (EDT) Received: from menubar.gnome.org ([12.107.209.248]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28316-10 for ; Mon, 9 May 2005 11:23:50 -0400 (EDT) Received: from briaree.onecert.fr (briaree.onecert.fr [134.212.190.4]) by menubar.gnome.org (Postfix) with ESMTP id B76103B06D5 for ; Mon, 9 May 2005 11:23:49 -0400 (EDT) Received: from neree.onecert.fr (thetis.onecert.fr [134.212.178.12]) by briaree.onecert.fr (8.13.1/8.13.1/ONERA-SRI) with ESMTP id j49FNkBL003714; Mon, 9 May 2005 17:23:46 +0200 Received: from neree.onecert.fr (thetis.antiviral [127.0.0.1]) by neree.onecert.fr (8.13.1/8.13.1/ONERA-SRI) with ESMTP id j49FNkFm032232; Mon, 9 May 2005 17:23:46 +0200 Received: from xuadrus (xuadrus.cert.fr [134.212.240.2]) by neree.onecert.fr (8.13.1/8.13.1/ONERA-SRI) with SMTP id j49FNkah032227; Mon, 9 May 2005 17:23:46 +0200 Received: from [134.212.240.203] by xuadrus (SMI-8.6/SMI-SVR4) id RAA23399; Mon, 9 May 2005 17:23:52 +0200 Message-ID: <427F8081.1070204@yahoo.fr> Date: Mon, 09 May 2005 17:23:45 +0200 From: Florent Teichteil User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050331) X-Accept-Language: fr, en MIME-Version: 1.0 To: Luca Cappa Subject: Re: [GtkGLExt] display lists sharing problem with texturing enabled References: <427F30D9.6090402@yahoo.fr> <427F74F8.7000902@i-medlab.com> In-Reply-To: <427F74F8.7000902@i-medlab.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (briaree.onecert.fr [134.212.190.4]); Mon, 09 May 2005 17:23:47 +0200 (CEST) X-Virus-Scanned: by amavisd-new at gnome.org Cc: gtkglext-list@gnome.org X-BeenThere: gtkglext-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of GtkGLExt, OpenGL Extension to GTK+" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2005 15:23:52 -0000 Luca Cappa a écrit : > Hello, > > > Florent Teichteil wrote: > >> Hi, >> >> I have too problems with gtkglextmm. >> >> 1) The gtkglextmm widget is not invalidated (redrawn) if the size of the >> gtkglextmm area is too small. I use this instruction (from the >> gtkglextmm examples): get_window()->invalidate_rect(get_allocation(), >> false); >> >> > > I think you should instead use this code to accomplish that: > > Gdk::Rectangle lRect = get_allocation (); > get_window ()->invalidate_rect (Gdk::Rectangle (0, 0, > lRect.get_width (), lRect.get_height ()), > false); > Thanks, it solved the problem ! >> 2) I have multiple gtkglextmm widgets that share the same display lists >> and textures. In fact, textures are compiled in display lists so that I >> only call display lists to draw the scene. All work fine, but if I >> enable texturing and at the time I am switching to the view where the >> display lists were initialized, I get the following message in the >> console: >> >> Couldn't alloc placeholder sz 40000 ofs 7c0000 >> Memory heap 0x8e11ac0: >> Offset:00000000, Size:00040000, U. >> Offset:00040000, Size:00040000, U. >> Offset:00080000, Size:00040000, U. >> Offset:000c0000, Size:00040000, U. >> Offset:00100000, Size:00040000, U. >> Offset:00140000, Size:00040000, U. >> Offset:00180000, Size:00040000, U. >> Offset:001c0000, Size:00040000, U. >> Offset:00200000, Size:00040000, U. >> Offset:00240000, Size:00040000, U. >> Offset:00280000, Size:00040000, U. >> Offset:002c0000, Size:00040000, U. >> Offset:00300000, Size:00040000, U. >> Offset:00340000, Size:00040000, U. >> Offset:00380000, Size:00040000, U. >> Offset:003c0000, Size:00040000, U. >> Offset:00400000, Size:00400000, U. >> Offset:00800000, Size:00040000, U. >> Offset:00840000, Size:00040000, U. >> Offset:00880000, Size:00040000, U. >> Offset:008c0000, Size:00040000, U. >> Offset:00900000, Size:00040000, U. >> End of memory blocks >> No segmentation fault happens and the program just goes on. Note that >> >> >> this problem does not occur if I disable texturing. >> >> Any ideas ? >> >> > Try using BUGLE to track down the problem. It is hard to say why that > happen :-) BUGLE does not compile on my system (Debian unstable) :-( But the problem lies in the textures size, since it works fine only for small textures. I think this problem comes from Mesa... Cheers, Florent > > > Gretings, > Luca > _______________________________________________ > gtkglext-list mailing list > gtkglext-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkglext-list > From luca.cappa@i-medlab.com Mon May 9 11:52:35 2005 Return-Path: X-Original-To: gtkglext-list@gnome.org Delivered-To: gtkglext-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id ED17B3B0D6B for ; Mon, 9 May 2005 11:52:34 -0400 (EDT) Received: from menubar.gnome.org ([12.107.209.248]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30677-09 for ; Mon, 9 May 2005 11:52:32 -0400 (EDT) Received: from avalon.nekhem.com (avalon.nekhem.com [213.254.11.62]) by menubar.gnome.org (Postfix) with ESMTP id D6FB93B0D88 for ; Mon, 9 May 2005 11:51:45 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by avalon.nekhem.com (Postfix) with ESMTP id B41252BCA2 for ; Mon, 9 May 2005 17:51:45 +0200 (CEST) Received: from avalon.nekhem.com ([127.0.0.1]) by localhost (avalon [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 17036-10 for ; Mon, 9 May 2005 17:51:45 +0200 (CEST) Received: from [10.0.1.211] (teotihuacan.nekhem.com [213.254.11.58]) by avalon.nekhem.com (Postfix) with ESMTP id 28F182BC88 for ; Mon, 9 May 2005 17:51:45 +0200 (CEST) Message-ID: <427F86DB.2000504@i-medlab.com> Date: Mon, 09 May 2005 17:50:51 +0200 From: Luca Cappa User-Agent: Debian Thunderbird 1.0 (X11/20050116) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkglext-list@gnome.org Subject: Re: [GtkGLExt] display lists sharing problem with texturing enabled References: <427F30D9.6090402@yahoo.fr> <427F74F8.7000902@i-medlab.com> <427F8081.1070204@yahoo.fr> In-Reply-To: <427F8081.1070204@yahoo.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at nekhem.com X-Virus-Scanned: by amavisd-new at gnome.org X-BeenThere: gtkglext-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of GtkGLExt, OpenGL Extension to GTK+" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2005 15:52:35 -0000 Hello Florent Teichteil wrote: >Luca Cappa a =E9crit : > > =20 > > >>Try using BUGLE to track down the problem. It is hard to say why that >>happen :-) >> =20 >> > > >BUGLE does not compile on my system (Debian unstable) :-( >But the problem lies in the textures size, since it works fine only for >small textures. I think this problem comes from Mesa... > >Cheers, >Florent > =20 > I'm using debian testing (Sarge), and it is compiling fine. I'm sure it=20 will compile fine also for you. Just ask to the BUGLE developer for help. And remember to get the maximum size of a texture by=20 calling something like int maxSize; glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxSize); if i recall it correctly, and be sure your texture is power of 2. Greetings, Luca > =20 > >>Gretings, >>Luca >>_______________________________________________ >>gtkglext-list mailing list >>gtkglext-list@gnome.org >>http://mail.gnome.org/mailman/listinfo/gtkglext-list >> >> =20 >> > > > =20 > From buho-1@entelchile.net Mon May 2 08:08:29 2005 Return-Path: X-Original-To: gtkglext-list@gnome.org Delivered-To: gtkglext-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 7F9403B0CDC for ; Mon, 2 May 2005 08:08:29 -0400 (EDT) Received: from menubar.gnome.org ([12.107.209.248]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24501-02 for ; Mon, 2 May 2005 08:08:27 -0400 (EDT) Received: from ismtp6.entelchile.net (ismtp6.adm.mail.entelchile.net [164.77.61.68]) by menubar.gnome.org (Postfix) with ESMTP id E8D5B3B0C61 for ; Mon, 2 May 2005 08:07:17 -0400 (EDT) Received: from HAL ([164.77.241.168]) by ismtp6.priv2.mail.entelchile.net (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with SMTP id <0IFV006PC304I9@ismtp6.priv2.mail.entelchile.net> for gtkglext-list@gnome.org; Mon, 02 May 2005 08:07:16 -0400 (CLT) Date: Mon, 02 May 2005 08:08:06 -0400 From: Mauricio Henriquez To: Mauricio Henriquez , gtkglext-list@gnome.org Message-id: <01ae01c54f0f$99603510$1400a8c0@HAL> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Mailer: Microsoft Outlook Express 6.00.2800.1106 Content-type: multipart/alternative; boundary="Boundary_(ID_QAW1Swmjj4itOsKy2haIEQ)" X-Priority: 3 X-MSMail-priority: Normal References: <006e01c54c64$c316f770$1400a8c0@HAL> X-Virus-Scanned: by amavisd-new at gnome.org Cc: Subject: [GtkGLExt] GtkGlExt-Sharp source compilation help X-BeenThere: gtkglext-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of GtkGLExt, OpenGL Extension to GTK+" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2005 12:08:29 -0000 This is a multi-part message in MIME format. --Boundary_(ID_QAW1Swmjj4itOsKy2haIEQ) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Hi: I need to make the GtkGlExt-Sharp librarie to make some opengl rendering in a gtk window, but I can't build the necesarie libraries like gtkgl-sharp.dll, gdkgl-sharp.dll, and may be you can send me your libraries or help me to build my own, I all ready try to build the libraries (I download the gtkglext-sharp.0.1.0, and try this on Windows Xp), but I can't find in the package the files in the "generated" folder (_GL_ATIVertexAttribArrayObject.cs, etc.), may be can you send me this files or let me know where can I find them. I realy need to get this libraries to work on windows and linux, becouse for now I generate the all window context for opengl stuff with "glut" from TAO (succefully on windows and linux), but if I want some widgets in a gtk window to control the figure I have to lunch the "glut-window" from my gtk-window in a diferent thread (otherwise the "glutmainloop" call lock the gtk-window), and this can couse some extrange behavior on mono/linux, for example I have to suspend a reasume the thread in the mono/linux version of my program to refresh the opengl figure (surprisingly this is not needed in the windows version), so it seems to be a better way to have the opengl stuff inside the gtk-window. Please help with this... Mauricio from Chili --Boundary_(ID_QAW1Swmjj4itOsKy2haIEQ) Content-type: text/html; charset=iso-8859-1 Content-transfer-encoding: 7BIT
Hi:
 
I need to make the GtkGlExt-Sharp librarie to make some opengl rendering in a gtk window, but I can't build the necesarie libraries like gtkgl-sharp.dll, gdkgl-sharp.dll, and may be you can send me your libraries or help me to build my own, I all ready try to build the libraries (I download the gtkglext-sharp.0.1.0, and try this on Windows Xp), but I can't find in the package the files in the "generated" folder (_GL_ATIVertexAttribArrayObject.cs, etc.), may be can you send me this files or let me know where can I find them.
 
I realy need to get this libraries to work on windows and linux, becouse for now I generate the all window context for opengl stuff with "glut" from TAO (succefully on windows and linux), but if I want some widgets in a gtk window to control the figure I have to lunch the "glut-window" from my gtk-window in a diferent thread (otherwise the "glutmainloop" call lock the gtk-window), and this can couse some extrange behavior on mono/linux, for example I have to suspend a reasume the thread in the mono/linux version of my program to refresh the opengl figure (surprisingly this is not needed in the windows version), so it seems to be a better way to have the opengl stuff inside the gtk-window.
 
Please help with this...
 
Mauricio from Chili
 
--Boundary_(ID_QAW1Swmjj4itOsKy2haIEQ)-- From florent_teichteil@yahoo.fr Mon May 9 05:43:59 2005 Return-Path: X-Original-To: gtkglext-list@gnome.org Delivered-To: gtkglext-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 273F03B0B0C for ; Mon, 9 May 2005 05:43:59 -0400 (EDT) Received: from menubar.gnome.org ([12.107.209.248]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05361-10 for ; Mon, 9 May 2005 05:43:57 -0400 (EDT) Received: from briaree.onecert.fr (briaree.onecert.fr [134.212.190.4]) by menubar.gnome.org (Postfix) with ESMTP id 30FDE3B0ACB for ; Mon, 9 May 2005 05:43:57 -0400 (EDT) Received: from neree.onecert.fr (thetis.onecert.fr [134.212.178.12]) by briaree.onecert.fr (8.13.1/8.13.1/ONERA-SRI) with ESMTP id j499hs1a001549 for ; Mon, 9 May 2005 11:43:54 +0200 Received: from neree.onecert.fr (thetis.antiviral [127.0.0.1]) by neree.onecert.fr (8.13.1/8.13.1/ONERA-SRI) with ESMTP id j499hsNt012857 for ; Mon, 9 May 2005 11:43:54 +0200 Received: from xuadrus (xuadrus.cert.fr [134.212.240.2]) by neree.onecert.fr (8.13.1/8.13.1/ONERA-SRI) with SMTP id j499hsc8012852 for ; Mon, 9 May 2005 11:43:54 +0200 Received: from [134.212.240.203] by xuadrus (SMI-8.6/SMI-SVR4) id LAA18456; Mon, 9 May 2005 11:44:00 +0200 Message-ID: <427F30D9.6090402@yahoo.fr> Date: Mon, 09 May 2005 11:43:53 +0200 From: Florent Teichteil User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050331) X-Accept-Language: fr, en MIME-Version: 1.0 To: gtkglext-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (briaree.onecert.fr [134.212.190.4]); Mon, 09 May 2005 11:43:54 +0200 (CEST) X-Virus-Scanned: by amavisd-new at gnome.org Subject: [GtkGLExt] display lists sharing problem with texturing enabled X-BeenThere: gtkglext-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of GtkGLExt, OpenGL Extension to GTK+" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2005 09:43:59 -0000 Hi, I have too problems with gtkglextmm. 1) The gtkglextmm widget is not invalidated (redrawn) if the size of the gtkglextmm area is too small. I use this instruction (from the gtkglextmm examples): get_window()->invalidate_rect(get_allocation(), false); 2) I have multiple gtkglextmm widgets that share the same display lists and textures. In fact, textures are compiled in display lists so that I only call display lists to draw the scene. All work fine, but if I enable texturing and at the time I am switching to the view where the display lists were initialized, I get the following message in the console: Couldn't alloc placeholder sz 40000 ofs 7c0000 Memory heap 0x8e11ac0: Offset:00000000, Size:00040000, U. Offset:00040000, Size:00040000, U. Offset:00080000, Size:00040000, U. Offset:000c0000, Size:00040000, U. Offset:00100000, Size:00040000, U. Offset:00140000, Size:00040000, U. Offset:00180000, Size:00040000, U. Offset:001c0000, Size:00040000, U. Offset:00200000, Size:00040000, U. Offset:00240000, Size:00040000, U. Offset:00280000, Size:00040000, U. Offset:002c0000, Size:00040000, U. Offset:00300000, Size:00040000, U. Offset:00340000, Size:00040000, U. Offset:00380000, Size:00040000, U. Offset:003c0000, Size:00040000, U. Offset:00400000, Size:00400000, U. Offset:00800000, Size:00040000, U. Offset:00840000, Size:00040000, U. Offset:00880000, Size:00040000, U. Offset:008c0000, Size:00040000, U. Offset:00900000, Size:00040000, U. End of memory blocks No segmentation fault happens and the program just goes on. Note that this problem does not occur if I disable texturing. Any ideas ? Thanks in advance, Florent Teichteil. From luca.cappa@i-medlab.com Mon May 9 10:35:29 2005 Return-Path: X-Original-To: gtkglext-list@gnome.org Delivered-To: gtkglext-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 6B7C43B08FA for ; Mon, 9 May 2005 10:35:29 -0400 (EDT) Received: from menubar.gnome.org ([12.107.209.248]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24160-10 for ; Mon, 9 May 2005 10:35:28 -0400 (EDT) Received: from avalon.nekhem.com (avalon.nekhem.com [213.254.11.62]) by menubar.gnome.org (Postfix) with ESMTP id 7AB343B0765 for ; Mon, 9 May 2005 10:35:27 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by avalon.nekhem.com (Postfix) with ESMTP id 000452BCA2 for ; Mon, 9 May 2005 16:35:26 +0200 (CEST) Received: from avalon.nekhem.com ([127.0.0.1]) by localhost (avalon [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 16175-04 for ; Mon, 9 May 2005 16:35:26 +0200 (CEST) Received: from [10.0.1.211] (teotihuacan.nekhem.com [213.254.11.58]) by avalon.nekhem.com (Postfix) with ESMTP id 499812BC88 for ; Mon, 9 May 2005 16:35:26 +0200 (CEST) Message-ID: <427F74F8.7000902@i-medlab.com> Date: Mon, 09 May 2005 16:34:32 +0200 From: Luca Cappa User-Agent: Debian Thunderbird 1.0 (X11/20050116) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkglext-list@gnome.org Subject: Re: [GtkGLExt] display lists sharing problem with texturing enabled References: <427F30D9.6090402@yahoo.fr> In-Reply-To: <427F30D9.6090402@yahoo.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at nekhem.com X-Virus-Scanned: by amavisd-new at gnome.org X-BeenThere: gtkglext-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of GtkGLExt, OpenGL Extension to GTK+" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2005 14:35:29 -0000 Hello, Florent Teichteil wrote: >Hi, > >I have too problems with gtkglextmm. > >1) The gtkglextmm widget is not invalidated (redrawn) if the size of the >gtkglextmm area is too small. I use this instruction (from the >gtkglextmm examples): get_window()->invalidate_rect(get_allocation(), >false); > > I think you should instead use this code to accomplish that: Gdk::Rectangle lRect = get_allocation (); get_window ()->invalidate_rect (Gdk::Rectangle (0, 0, lRect.get_width (), lRect.get_height ()), false); >2) I have multiple gtkglextmm widgets that share the same display lists >and textures. In fact, textures are compiled in display lists so that I >only call display lists to draw the scene. All work fine, but if I >enable texturing and at the time I am switching to the view where the >display lists were initialized, I get the following message in the console: > >Couldn't alloc placeholder sz 40000 ofs 7c0000 >Memory heap 0x8e11ac0: > Offset:00000000, Size:00040000, U. > Offset:00040000, Size:00040000, U. > Offset:00080000, Size:00040000, U. > Offset:000c0000, Size:00040000, U. > Offset:00100000, Size:00040000, U. > Offset:00140000, Size:00040000, U. > Offset:00180000, Size:00040000, U. > Offset:001c0000, Size:00040000, U. > Offset:00200000, Size:00040000, U. > Offset:00240000, Size:00040000, U. > Offset:00280000, Size:00040000, U. > Offset:002c0000, Size:00040000, U. > Offset:00300000, Size:00040000, U. > Offset:00340000, Size:00040000, U. > Offset:00380000, Size:00040000, U. > Offset:003c0000, Size:00040000, U. > Offset:00400000, Size:00400000, U. > Offset:00800000, Size:00040000, U. > Offset:00840000, Size:00040000, U. > Offset:00880000, Size:00040000, U. > Offset:008c0000, Size:00040000, U. > Offset:00900000, Size:00040000, U. >End of memory blocks >No segmentation fault happens and the program just goes on. Note that > > >this problem does not occur if I disable texturing. > >Any ideas ? > > Try using BUGLE to track down the problem. It is hard to say why that happen :-) Gretings, Luca From florent_teichteil@yahoo.fr Mon May 9 11:23:51 2005 Return-Path: X-Original-To: gtkglext-list@gnome.org Delivered-To: gtkglext-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id C7B4D3B0980 for ; Mon, 9 May 2005 11:23:51 -0400 (EDT) Received: from menubar.gnome.org ([12.107.209.248]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28316-10 for ; Mon, 9 May 2005 11:23:50 -0400 (EDT) Received: from briaree.onecert.fr (briaree.onecert.fr [134.212.190.4]) by menubar.gnome.org (Postfix) with ESMTP id B76103B06D5 for ; Mon, 9 May 2005 11:23:49 -0400 (EDT) Received: from neree.onecert.fr (thetis.onecert.fr [134.212.178.12]) by briaree.onecert.fr (8.13.1/8.13.1/ONERA-SRI) with ESMTP id j49FNkBL003714; Mon, 9 May 2005 17:23:46 +0200 Received: from neree.onecert.fr (thetis.antiviral [127.0.0.1]) by neree.onecert.fr (8.13.1/8.13.1/ONERA-SRI) with ESMTP id j49FNkFm032232; Mon, 9 May 2005 17:23:46 +0200 Received: from xuadrus (xuadrus.cert.fr [134.212.240.2]) by neree.onecert.fr (8.13.1/8.13.1/ONERA-SRI) with SMTP id j49FNkah032227; Mon, 9 May 2005 17:23:46 +0200 Received: from [134.212.240.203] by xuadrus (SMI-8.6/SMI-SVR4) id RAA23399; Mon, 9 May 2005 17:23:52 +0200 Message-ID: <427F8081.1070204@yahoo.fr> Date: Mon, 09 May 2005 17:23:45 +0200 From: Florent Teichteil User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050331) X-Accept-Language: fr, en MIME-Version: 1.0 To: Luca Cappa Subject: Re: [GtkGLExt] display lists sharing problem with texturing enabled References: <427F30D9.6090402@yahoo.fr> <427F74F8.7000902@i-medlab.com> In-Reply-To: <427F74F8.7000902@i-medlab.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (briaree.onecert.fr [134.212.190.4]); Mon, 09 May 2005 17:23:47 +0200 (CEST) X-Virus-Scanned: by amavisd-new at gnome.org Cc: gtkglext-list@gnome.org X-BeenThere: gtkglext-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of GtkGLExt, OpenGL Extension to GTK+" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2005 15:23:52 -0000 Luca Cappa a écrit : > Hello, > > > Florent Teichteil wrote: > >> Hi, >> >> I have too problems with gtkglextmm. >> >> 1) The gtkglextmm widget is not invalidated (redrawn) if the size of the >> gtkglextmm area is too small. I use this instruction (from the >> gtkglextmm examples): get_window()->invalidate_rect(get_allocation(), >> false); >> >> > > I think you should instead use this code to accomplish that: > > Gdk::Rectangle lRect = get_allocation (); > get_window ()->invalidate_rect (Gdk::Rectangle (0, 0, > lRect.get_width (), lRect.get_height ()), > false); > Thanks, it solved the problem ! >> 2) I have multiple gtkglextmm widgets that share the same display lists >> and textures. In fact, textures are compiled in display lists so that I >> only call display lists to draw the scene. All work fine, but if I >> enable texturing and at the time I am switching to the view where the >> display lists were initialized, I get the following message in the >> console: >> >> Couldn't alloc placeholder sz 40000 ofs 7c0000 >> Memory heap 0x8e11ac0: >> Offset:00000000, Size:00040000, U. >> Offset:00040000, Size:00040000, U. >> Offset:00080000, Size:00040000, U. >> Offset:000c0000, Size:00040000, U. >> Offset:00100000, Size:00040000, U. >> Offset:00140000, Size:00040000, U. >> Offset:00180000, Size:00040000, U. >> Offset:001c0000, Size:00040000, U. >> Offset:00200000, Size:00040000, U. >> Offset:00240000, Size:00040000, U. >> Offset:00280000, Size:00040000, U. >> Offset:002c0000, Size:00040000, U. >> Offset:00300000, Size:00040000, U. >> Offset:00340000, Size:00040000, U. >> Offset:00380000, Size:00040000, U. >> Offset:003c0000, Size:00040000, U. >> Offset:00400000, Size:00400000, U. >> Offset:00800000, Size:00040000, U. >> Offset:00840000, Size:00040000, U. >> Offset:00880000, Size:00040000, U. >> Offset:008c0000, Size:00040000, U. >> Offset:00900000, Size:00040000, U. >> End of memory blocks >> No segmentation fault happens and the program just goes on. Note that >> >> >> this problem does not occur if I disable texturing. >> >> Any ideas ? >> >> > Try using BUGLE to track down the problem. It is hard to say why that > happen :-) BUGLE does not compile on my system (Debian unstable) :-( But the problem lies in the textures size, since it works fine only for small textures. I think this problem comes from Mesa... Cheers, Florent > > > Gretings, > Luca > _______________________________________________ > gtkglext-list mailing list > gtkglext-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkglext-list > From luca.cappa@i-medlab.com Mon May 9 11:52:35 2005 Return-Path: X-Original-To: gtkglext-list@gnome.org Delivered-To: gtkglext-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id ED17B3B0D6B for ; Mon, 9 May 2005 11:52:34 -0400 (EDT) Received: from menubar.gnome.org ([12.107.209.248]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30677-09 for ; Mon, 9 May 2005 11:52:32 -0400 (EDT) Received: from avalon.nekhem.com (avalon.nekhem.com [213.254.11.62]) by menubar.gnome.org (Postfix) with ESMTP id D6FB93B0D88 for ; Mon, 9 May 2005 11:51:45 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by avalon.nekhem.com (Postfix) with ESMTP id B41252BCA2 for ; Mon, 9 May 2005 17:51:45 +0200 (CEST) Received: from avalon.nekhem.com ([127.0.0.1]) by localhost (avalon [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 17036-10 for ; Mon, 9 May 2005 17:51:45 +0200 (CEST) Received: from [10.0.1.211] (teotihuacan.nekhem.com [213.254.11.58]) by avalon.nekhem.com (Postfix) with ESMTP id 28F182BC88 for ; Mon, 9 May 2005 17:51:45 +0200 (CEST) Message-ID: <427F86DB.2000504@i-medlab.com> Date: Mon, 09 May 2005 17:50:51 +0200 From: Luca Cappa User-Agent: Debian Thunderbird 1.0 (X11/20050116) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkglext-list@gnome.org Subject: Re: [GtkGLExt] display lists sharing problem with texturing enabled References: <427F30D9.6090402@yahoo.fr> <427F74F8.7000902@i-medlab.com> <427F8081.1070204@yahoo.fr> In-Reply-To: <427F8081.1070204@yahoo.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at nekhem.com X-Virus-Scanned: by amavisd-new at gnome.org X-BeenThere: gtkglext-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of GtkGLExt, OpenGL Extension to GTK+" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2005 15:52:35 -0000 Hello Florent Teichteil wrote: >Luca Cappa a =E9crit : > > =20 > > >>Try using BUGLE to track down the problem. It is hard to say why that >>happen :-) >> =20 >> > > >BUGLE does not compile on my system (Debian unstable) :-( >But the problem lies in the textures size, since it works fine only for >small textures. I think this problem comes from Mesa... > >Cheers, >Florent > =20 > I'm using debian testing (Sarge), and it is compiling fine. I'm sure it=20 will compile fine also for you. Just ask to the BUGLE developer for help. And remember to get the maximum size of a texture by=20 calling something like int maxSize; glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxSize); if i recall it correctly, and be sure your texture is power of 2. Greetings, Luca > =20 > >>Gretings, >>Luca >>_______________________________________________ >>gtkglext-list mailing list >>gtkglext-list@gnome.org >>http://mail.gnome.org/mailman/listinfo/gtkglext-list >> >> =20 >> > > > =20 > From buho-1@entelchile.net Mon May 2 08:08:29 2005 Return-Path: X-Original-To: gtkglext-list@gnome.org Delivered-To: gtkglext-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 7F9403B0CDC for ; Mon, 2 May 2005 08:08:29 -0400 (EDT) Received: from menubar.gnome.org ([12.107.209.248]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24501-02 for ; Mon, 2 May 2005 08:08:27 -0400 (EDT) Received: from ismtp6.entelchile.net (ismtp6.adm.mail.entelchile.net [164.77.61.68]) by menubar.gnome.org (Postfix) with ESMTP id E8D5B3B0C61 for ; Mon, 2 May 2005 08:07:17 -0400 (EDT) Received: from HAL ([164.77.241.168]) by ismtp6.priv2.mail.entelchile.net (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with SMTP id <0IFV006PC304I9@ismtp6.priv2.mail.entelchile.net> for gtkglext-list@gnome.org; Mon, 02 May 2005 08:07:16 -0400 (CLT) Date: Mon, 02 May 2005 08:08:06 -0400 From: Mauricio Henriquez To: Mauricio Henriquez , gtkglext-list@gnome.org Message-id: <01ae01c54f0f$99603510$1400a8c0@HAL> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Mailer: Microsoft Outlook Express 6.00.2800.1106 Content-type: multipart/alternative; boundary="Boundary_(ID_QAW1Swmjj4itOsKy2haIEQ)" X-Priority: 3 X-MSMail-priority: Normal References: <006e01c54c64$c316f770$1400a8c0@HAL> X-Virus-Scanned: by amavisd-new at gnome.org Cc: Subject: [GtkGLExt] GtkGlExt-Sharp source compilation help X-BeenThere: gtkglext-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of GtkGLExt, OpenGL Extension to GTK+" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2005 12:08:29 -0000 This is a multi-part message in MIME format. --Boundary_(ID_QAW1Swmjj4itOsKy2haIEQ) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Hi: I need to make the GtkGlExt-Sharp librarie to make some opengl rendering in a gtk window, but I can't build the necesarie libraries like gtkgl-sharp.dll, gdkgl-sharp.dll, and may be you can send me your libraries or help me to build my own, I all ready try to build the libraries (I download the gtkglext-sharp.0.1.0, and try this on Windows Xp), but I can't find in the package the files in the "generated" folder (_GL_ATIVertexAttribArrayObject.cs, etc.), may be can you send me this files or let me know where can I find them. I realy need to get this libraries to work on windows and linux, becouse for now I generate the all window context for opengl stuff with "glut" from TAO (succefully on windows and linux), but if I want some widgets in a gtk window to control the figure I have to lunch the "glut-window" from my gtk-window in a diferent thread (otherwise the "glutmainloop" call lock the gtk-window), and this can couse some extrange behavior on mono/linux, for example I have to suspend a reasume the thread in the mono/linux version of my program to refresh the opengl figure (surprisingly this is not needed in the windows version), so it seems to be a better way to have the opengl stuff inside the gtk-window. Please help with this... Mauricio from Chili --Boundary_(ID_QAW1Swmjj4itOsKy2haIEQ) Content-type: text/html; charset=iso-8859-1 Content-transfer-encoding: 7BIT
Hi:
 
I need to make the GtkGlExt-Sharp librarie to make some opengl rendering in a gtk window, but I can't build the necesarie libraries like gtkgl-sharp.dll, gdkgl-sharp.dll, and may be you can send me your libraries or help me to build my own, I all ready try to build the libraries (I download the gtkglext-sharp.0.1.0, and try this on Windows Xp), but I can't find in the package the files in the "generated" folder (_GL_ATIVertexAttribArrayObject.cs, etc.), may be can you send me this files or let me know where can I find them.
 
I realy need to get this libraries to work on windows and linux, becouse for now I generate the all window context for opengl stuff with "glut" from TAO (succefully on windows and linux), but if I want some widgets in a gtk window to control the figure I have to lunch the "glut-window" from my gtk-window in a diferent thread (otherwise the "glutmainloop" call lock the gtk-window), and this can couse some extrange behavior on mono/linux, for example I have to suspend a reasume the thread in the mono/linux version of my program to refresh the opengl figure (surprisingly this is not needed in the windows version), so it seems to be a better way to have the opengl stuff inside the gtk-window.
 
Please help with this...
 
Mauricio from Chili
 
--Boundary_(ID_QAW1Swmjj4itOsKy2haIEQ)-- From florent_teichteil@yahoo.fr Mon May 9 05:43:59 2005 Return-Path: X-Original-To: gtkglext-list@gnome.org Delivered-To: gtkglext-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 273F03B0B0C for ; Mon, 9 May 2005 05:43:59 -0400 (EDT) Received: from menubar.gnome.org ([12.107.209.248]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05361-10 for ; Mon, 9 May 2005 05:43:57 -0400 (EDT) Received: from briaree.onecert.fr (briaree.onecert.fr [134.212.190.4]) by menubar.gnome.org (Postfix) with ESMTP id 30FDE3B0ACB for ; Mon, 9 May 2005 05:43:57 -0400 (EDT) Received: from neree.onecert.fr (thetis.onecert.fr [134.212.178.12]) by briaree.onecert.fr (8.13.1/8.13.1/ONERA-SRI) with ESMTP id j499hs1a001549 for ; Mon, 9 May 2005 11:43:54 +0200 Received: from neree.onecert.fr (thetis.antiviral [127.0.0.1]) by neree.onecert.fr (8.13.1/8.13.1/ONERA-SRI) with ESMTP id j499hsNt012857 for ; Mon, 9 May 2005 11:43:54 +0200 Received: from xuadrus (xuadrus.cert.fr [134.212.240.2]) by neree.onecert.fr (8.13.1/8.13.1/ONERA-SRI) with SMTP id j499hsc8012852 for ; Mon, 9 May 2005 11:43:54 +0200 Received: from [134.212.240.203] by xuadrus (SMI-8.6/SMI-SVR4) id LAA18456; Mon, 9 May 2005 11:44:00 +0200 Message-ID: <427F30D9.6090402@yahoo.fr> Date: Mon, 09 May 2005 11:43:53 +0200 From: Florent Teichteil User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050331) X-Accept-Language: fr, en MIME-Version: 1.0 To: gtkglext-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (briaree.onecert.fr [134.212.190.4]); Mon, 09 May 2005 11:43:54 +0200 (CEST) X-Virus-Scanned: by amavisd-new at gnome.org Subject: [GtkGLExt] display lists sharing problem with texturing enabled X-BeenThere: gtkglext-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of GtkGLExt, OpenGL Extension to GTK+" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2005 09:43:59 -0000 Hi, I have too problems with gtkglextmm. 1) The gtkglextmm widget is not invalidated (redrawn) if the size of the gtkglextmm area is too small. I use this instruction (from the gtkglextmm examples): get_window()->invalidate_rect(get_allocation(), false); 2) I have multiple gtkglextmm widgets that share the same display lists and textures. In fact, textures are compiled in display lists so that I only call display lists to draw the scene. All work fine, but if I enable texturing and at the time I am switching to the view where the display lists were initialized, I get the following message in the console: Couldn't alloc placeholder sz 40000 ofs 7c0000 Memory heap 0x8e11ac0: Offset:00000000, Size:00040000, U. Offset:00040000, Size:00040000, U. Offset:00080000, Size:00040000, U. Offset:000c0000, Size:00040000, U. Offset:00100000, Size:00040000, U. Offset:00140000, Size:00040000, U. Offset:00180000, Size:00040000, U. Offset:001c0000, Size:00040000, U. Offset:00200000, Size:00040000, U. Offset:00240000, Size:00040000, U. Offset:00280000, Size:00040000, U. Offset:002c0000, Size:00040000, U. Offset:00300000, Size:00040000, U. Offset:00340000, Size:00040000, U. Offset:00380000, Size:00040000, U. Offset:003c0000, Size:00040000, U. Offset:00400000, Size:00400000, U. Offset:00800000, Size:00040000, U. Offset:00840000, Size:00040000, U. Offset:00880000, Size:00040000, U. Offset:008c0000, Size:00040000, U. Offset:00900000, Size:00040000, U. End of memory blocks No segmentation fault happens and the program just goes on. Note that this problem does not occur if I disable texturing. Any ideas ? Thanks in advance, Florent Teichteil. From luca.cappa@i-medlab.com Mon May 9 10:35:29 2005 Return-Path: X-Original-To: gtkglext-list@gnome.org Delivered-To: gtkglext-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 6B7C43B08FA for ; Mon, 9 May 2005 10:35:29 -0400 (EDT) Received: from menubar.gnome.org ([12.107.209.248]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24160-10 for ; Mon, 9 May 2005 10:35:28 -0400 (EDT) Received: from avalon.nekhem.com (avalon.nekhem.com [213.254.11.62]) by menubar.gnome.org (Postfix) with ESMTP id 7AB343B0765 for ; Mon, 9 May 2005 10:35:27 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by avalon.nekhem.com (Postfix) with ESMTP id 000452BCA2 for ; Mon, 9 May 2005 16:35:26 +0200 (CEST) Received: from avalon.nekhem.com ([127.0.0.1]) by localhost (avalon [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 16175-04 for ; Mon, 9 May 2005 16:35:26 +0200 (CEST) Received: from [10.0.1.211] (teotihuacan.nekhem.com [213.254.11.58]) by avalon.nekhem.com (Postfix) with ESMTP id 499812BC88 for ; Mon, 9 May 2005 16:35:26 +0200 (CEST) Message-ID: <427F74F8.7000902@i-medlab.com> Date: Mon, 09 May 2005 16:34:32 +0200 From: Luca Cappa User-Agent: Debian Thunderbird 1.0 (X11/20050116) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkglext-list@gnome.org Subject: Re: [GtkGLExt] display lists sharing problem with texturing enabled References: <427F30D9.6090402@yahoo.fr> In-Reply-To: <427F30D9.6090402@yahoo.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at nekhem.com X-Virus-Scanned: by amavisd-new at gnome.org X-BeenThere: gtkglext-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of GtkGLExt, OpenGL Extension to GTK+" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2005 14:35:29 -0000 Hello, Florent Teichteil wrote: >Hi, > >I have too problems with gtkglextmm. > >1) The gtkglextmm widget is not invalidated (redrawn) if the size of the >gtkglextmm area is too small. I use this instruction (from the >gtkglextmm examples): get_window()->invalidate_rect(get_allocation(), >false); > > I think you should instead use this code to accomplish that: Gdk::Rectangle lRect = get_allocation (); get_window ()->invalidate_rect (Gdk::Rectangle (0, 0, lRect.get_width (), lRect.get_height ()), false); >2) I have multiple gtkglextmm widgets that share the same display lists >and textures. In fact, textures are compiled in display lists so that I >only call display lists to draw the scene. All work fine, but if I >enable texturing and at the time I am switching to the view where the >display lists were initialized, I get the following message in the console: > >Couldn't alloc placeholder sz 40000 ofs 7c0000 >Memory heap 0x8e11ac0: > Offset:00000000, Size:00040000, U. > Offset:00040000, Size:00040000, U. > Offset:00080000, Size:00040000, U. > Offset:000c0000, Size:00040000, U. > Offset:00100000, Size:00040000, U. > Offset:00140000, Size:00040000, U. > Offset:00180000, Size:00040000, U. > Offset:001c0000, Size:00040000, U. > Offset:00200000, Size:00040000, U. > Offset:00240000, Size:00040000, U. > Offset:00280000, Size:00040000, U. > Offset:002c0000, Size:00040000, U. > Offset:00300000, Size:00040000, U. > Offset:00340000, Size:00040000, U. > Offset:00380000, Size:00040000, U. > Offset:003c0000, Size:00040000, U. > Offset:00400000, Size:00400000, U. > Offset:00800000, Size:00040000, U. > Offset:00840000, Size:00040000, U. > Offset:00880000, Size:00040000, U. > Offset:008c0000, Size:00040000, U. > Offset:00900000, Size:00040000, U. >End of memory blocks >No segmentation fault happens and the program just goes on. Note that > > >this problem does not occur if I disable texturing. > >Any ideas ? > > Try using BUGLE to track down the problem. It is hard to say why that happen :-) Gretings, Luca From florent_teichteil@yahoo.fr Mon May 9 11:23:51 2005 Return-Path: X-Original-To: gtkglext-list@gnome.org Delivered-To: gtkglext-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id C7B4D3B0980 for ; Mon, 9 May 2005 11:23:51 -0400 (EDT) Received: from menubar.gnome.org ([12.107.209.248]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28316-10 for ; Mon, 9 May 2005 11:23:50 -0400 (EDT) Received: from briaree.onecert.fr (briaree.onecert.fr [134.212.190.4]) by menubar.gnome.org (Postfix) with ESMTP id B76103B06D5 for ; Mon, 9 May 2005 11:23:49 -0400 (EDT) Received: from neree.onecert.fr (thetis.onecert.fr [134.212.178.12]) by briaree.onecert.fr (8.13.1/8.13.1/ONERA-SRI) with ESMTP id j49FNkBL003714; Mon, 9 May 2005 17:23:46 +0200 Received: from neree.onecert.fr (thetis.antiviral [127.0.0.1]) by neree.onecert.fr (8.13.1/8.13.1/ONERA-SRI) with ESMTP id j49FNkFm032232; Mon, 9 May 2005 17:23:46 +0200 Received: from xuadrus (xuadrus.cert.fr [134.212.240.2]) by neree.onecert.fr (8.13.1/8.13.1/ONERA-SRI) with SMTP id j49FNkah032227; Mon, 9 May 2005 17:23:46 +0200 Received: from [134.212.240.203] by xuadrus (SMI-8.6/SMI-SVR4) id RAA23399; Mon, 9 May 2005 17:23:52 +0200 Message-ID: <427F8081.1070204@yahoo.fr> Date: Mon, 09 May 2005 17:23:45 +0200 From: Florent Teichteil User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050331) X-Accept-Language: fr, en MIME-Version: 1.0 To: Luca Cappa Subject: Re: [GtkGLExt] display lists sharing problem with texturing enabled References: <427F30D9.6090402@yahoo.fr> <427F74F8.7000902@i-medlab.com> In-Reply-To: <427F74F8.7000902@i-medlab.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (briaree.onecert.fr [134.212.190.4]); Mon, 09 May 2005 17:23:47 +0200 (CEST) X-Virus-Scanned: by amavisd-new at gnome.org Cc: gtkglext-list@gnome.org X-BeenThere: gtkglext-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of GtkGLExt, OpenGL Extension to GTK+" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2005 15:23:52 -0000 Luca Cappa a écrit : > Hello, > > > Florent Teichteil wrote: > >> Hi, >> >> I have too problems with gtkglextmm. >> >> 1) The gtkglextmm widget is not invalidated (redrawn) if the size of the >> gtkglextmm area is too small. I use this instruction (from the >> gtkglextmm examples): get_window()->invalidate_rect(get_allocation(), >> false); >> >> > > I think you should instead use this code to accomplish that: > > Gdk::Rectangle lRect = get_allocation (); > get_window ()->invalidate_rect (Gdk::Rectangle (0, 0, > lRect.get_width (), lRect.get_height ()), > false); > Thanks, it solved the problem ! >> 2) I have multiple gtkglextmm widgets that share the same display lists >> and textures. In fact, textures are compiled in display lists so that I >> only call display lists to draw the scene. All work fine, but if I >> enable texturing and at the time I am switching to the view where the >> display lists were initialized, I get the following message in the >> console: >> >> Couldn't alloc placeholder sz 40000 ofs 7c0000 >> Memory heap 0x8e11ac0: >> Offset:00000000, Size:00040000, U. >> Offset:00040000, Size:00040000, U. >> Offset:00080000, Size:00040000, U. >> Offset:000c0000, Size:00040000, U. >> Offset:00100000, Size:00040000, U. >> Offset:00140000, Size:00040000, U. >> Offset:00180000, Size:00040000, U. >> Offset:001c0000, Size:00040000, U. >> Offset:00200000, Size:00040000, U. >> Offset:00240000, Size:00040000, U. >> Offset:00280000, Size:00040000, U. >> Offset:002c0000, Size:00040000, U. >> Offset:00300000, Size:00040000, U. >> Offset:00340000, Size:00040000, U. >> Offset:00380000, Size:00040000, U. >> Offset:003c0000, Size:00040000, U. >> Offset:00400000, Size:00400000, U. >> Offset:00800000, Size:00040000, U. >> Offset:00840000, Size:00040000, U. >> Offset:00880000, Size:00040000, U. >> Offset:008c0000, Size:00040000, U. >> Offset:00900000, Size:00040000, U. >> End of memory blocks >> No segmentation fault happens and the program just goes on. Note that >> >> >> this problem does not occur if I disable texturing. >> >> Any ideas ? >> >> > Try using BUGLE to track down the problem. It is hard to say why that > happen :-) BUGLE does not compile on my system (Debian unstable) :-( But the problem lies in the textures size, since it works fine only for small textures. I think this problem comes from Mesa... Cheers, Florent > > > Gretings, > Luca > _______________________________________________ > gtkglext-list mailing list > gtkglext-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkglext-list > From luca.cappa@i-medlab.com Mon May 9 11:52:35 2005 Return-Path: X-Original-To: gtkglext-list@gnome.org Delivered-To: gtkglext-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id ED17B3B0D6B for ; Mon, 9 May 2005 11:52:34 -0400 (EDT) Received: from menubar.gnome.org ([12.107.209.248]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30677-09 for ; Mon, 9 May 2005 11:52:32 -0400 (EDT) Received: from avalon.nekhem.com (avalon.nekhem.com [213.254.11.62]) by menubar.gnome.org (Postfix) with ESMTP id D6FB93B0D88 for ; Mon, 9 May 2005 11:51:45 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by avalon.nekhem.com (Postfix) with ESMTP id B41252BCA2 for ; Mon, 9 May 2005 17:51:45 +0200 (CEST) Received: from avalon.nekhem.com ([127.0.0.1]) by localhost (avalon [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 17036-10 for ; Mon, 9 May 2005 17:51:45 +0200 (CEST) Received: from [10.0.1.211] (teotihuacan.nekhem.com [213.254.11.58]) by avalon.nekhem.com (Postfix) with ESMTP id 28F182BC88 for ; Mon, 9 May 2005 17:51:45 +0200 (CEST) Message-ID: <427F86DB.2000504@i-medlab.com> Date: Mon, 09 May 2005 17:50:51 +0200 From: Luca Cappa User-Agent: Debian Thunderbird 1.0 (X11/20050116) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gtkglext-list@gnome.org Subject: Re: [GtkGLExt] display lists sharing problem with texturing enabled References: <427F30D9.6090402@yahoo.fr> <427F74F8.7000902@i-medlab.com> <427F8081.1070204@yahoo.fr> In-Reply-To: <427F8081.1070204@yahoo.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at nekhem.com X-Virus-Scanned: by amavisd-new at gnome.org X-BeenThere: gtkglext-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of GtkGLExt, OpenGL Extension to GTK+" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2005 15:52:35 -0000 Hello Florent Teichteil wrote: >Luca Cappa a =E9crit : > > =20 > > >>Try using BUGLE to track down the problem. It is hard to say why that >>happen :-) >> =20 >> > > >BUGLE does not compile on my system (Debian unstable) :-( >But the problem lies in the textures size, since it works fine only for >small textures. I think this problem comes from Mesa... > >Cheers, >Florent > =20 > I'm using debian testing (Sarge), and it is compiling fine. I'm sure it=20 will compile fine also for you. Just ask to the BUGLE developer for help. And remember to get the maximum size of a texture by=20 calling something like int maxSize; glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxSize); if i recall it correctly, and be sure your texture is power of 2. Greetings, Luca > =20 > >>Gretings, >>Luca >>_______________________________________________ >>gtkglext-list mailing list >>gtkglext-list@gnome.org >>http://mail.gnome.org/mailman/listinfo/gtkglext-list >> >> =20 >> > > > =20 >