[EMAIL PROTECTED] wrote:
>[EMAIL PROTECTED] wrote:
>> 
>> I have still one problem on both my VMS and AIX systems : the rendering with
>> the gltt (and freetype) libraries. The programs seem not to crash but give
>> very ugly/wrong results. Probably this also has to do since the first object
>> drawn is never affected.
>
>Do you NOT have these problems on other platforms?  Or haven't you
>tried other platforms.
I have not tried other platforms.

>One thing that I have found with the GLTTBitmapFont is that it
>does not issue its own glPixelStorei commands to ensure the state
>is set up properly, and when some other piece of code changes them
>from the defaults you get garbage in the bitmaps.
>
>I issue the following to restore the proper state:
>
>    glPixelStorei(GL_UNPACK_ALIGNMENT,1);
>
>    glPixelStorei( GL_UNPACK_SWAP_BYTES, GL_FALSE );
>    glPixelStorei( GL_UNPACK_LSB_FIRST, GL_FALSE );
>    glPixelStorei( GL_UNPACK_SKIP_ROWS, 0 );
>    glPixelStorei( GL_UNPACK_SKIP_PIXELS, 0 );
>    glPixelStorei( GL_UNPACK_ROW_LENGTH, 0 );
>
>Hope this helps,
>scott

Thanks Scott. I put your code in my application and the problem was gone.
So it was as I suspected an initialization problem but I was looking in the
wrong direction. I thought it was Mesa's fault since it worked properly in
Mesa3.0 and was only broken when Keith commited his patches.
I sent a CC of this mail to the author of GLTT so that he may change it in his
library or demo's too.

      Bye
         Jouk
-- 
Scott McMillan                        mailto:[EMAIL PROTECTED]
Cambridge Research Associates         http://www.cambridge.com
1430 Spring Hill Road, Ste. 200       Voice: (703) 790-0505 x7235
McLean, VA 22102                      Fax:   (703) 790-0370
================== RFC 822 Headers ==================
Return-Path: [EMAIL PROTECTED]
Received: by dutsm1120.stm.tudelft.nl (UCX V4.2-21A, OpenVMS V7.1-1H2 Alpha);
        Thu, 6 May 1999 17:07:06 +0200
Received: from ns2.tudelft.nl by dutsm43.stm.tudelft.nl (AIX 3.2/UCB 5.64/4.03)
          id AA19381; Thu, 6 May 1999 17:06:54 +0200
Received: from cavalier.cambridge.com (mail.cambridge.com)
 by mailhost1.tudelft.nl (PMDF V5.1-12 #D3520)
 with SMTP id <[EMAIL PROTECTED]> for
 [EMAIL PROTECTED]; Thu,  6 May 1999 17:07:02 +0200 (MET DST)
Received: by cavalier.cambridge.com (951211.SGI.8.6.12.PATCH1042/940406.SGI)
 for <[EMAIL PROTECTED]> id LAA26256; Thu, 06 May 1999 11:04:50 -0400
Received: from ducati(192.9.200.57) by cavalier via smap (3.1)
 id xma026253; Thu, 06 May 1999 11:04:23 -0400
Received: from cambridge.com (localhost [127.0.0.1])
 by ducati (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id LAA44678 for
 <[EMAIL PROTECTED]>; Thu, 06 May 1999 11:04:23 -0400 (EDT)
Date: Thu, 06 May 1999 11:04:22 -0400
From: Scott McMillan <[EMAIL PROTECTED]>
Subject: Re: [Mesa-dev] beta 2 release soon
Sender: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Message-Id: <[EMAIL PROTECTED]>
Organization: Cambridge Research Associates
Mime-Version: 1.0
X-Mailer: Mozilla 4.07C-SGI [en] (X11; I; IRIX 6.5 IP32)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
References: <[EMAIL PROTECTED]>


Ceterum censeo tertium millennium post Christum natum anno MMI incepturum esse

>------------------------------------------------------------------------------<

  Jouk Jansen
                 
  [EMAIL PROTECTED]

  Technische Universiteit Delft        tttttttttt  uu     uu  ddddddd
  Nationaal centrum voor HREM          tttttttttt  uu     uu  dd    dd
  Rotterdamseweg 137                       tt      uu     uu  dd     dd
  2628 AL Delft                            tt      uu     uu  dd     dd
  Nederland                                tt      uu     uu  dd    dd
  tel. 31-15-2781536                       tt       uuuuuuu   ddddddd

>------------------------------------------------------------------------------<



_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to