From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,5dc0968670312efa X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-01-08 07:19:35 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!gate.dornier.dasa.DE!not-for-mail From: Joachim =?ISO-8859-1?Q?Schr=F6er?= Newsgroups: comp.lang.ada Subject: Re: Loadning bitmap as texture in openGL Date: Tue, 08 Jan 2002 16:18:55 +0100 Message-ID: <3C3B0DDF.4050301@dornier.eads.net> References: <5ZsT7.2785$KQ3.39855@news1.oke.nextra.no> NNTP-Posting-Host: gate.dornier.dasa.de (53.122.46.165) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: fu-berlin.de 1010503172 27247932 53.122.46.165 (16 [76083]) User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.6) Gecko/20011120 X-Accept-Language: en-us Xref: archiver1.google.com comp.lang.ada:18646 Date: 2002-01-08T16:18:55+01:00 List-Id: Frank wrote: > Hi! > Regarding GNAT 3-13p-7, RedHat Linux 6.2 > > Does anyone have a good suggestion how to load a bitmap(possibly xbm format) > from a file and add is as a texture in openGL? > I have tried to use a pixmap as texture parameter, but haven't succeded > (yet). > > Frank > > > Look at the OpenGL framework in http://www.adapower.com/schroer/ To download the first zip give: http://www.adapower.com/schroer/lib-src.zip (the current url is false). Look into http://www.adapower.com/schroer/ogl-src.zip. The package Opengl.Bitmaps is Win32 specific but may be ported to Linux. The package Opengl.Earth uses a bitmap of the earth to generate a rotating globe using 2D-textures. Best regards J. Schr�er