Re: glDrawPixels.

New Message Reply Date view Thread view Subject view Author view

ceti (ceti++at++worldnet.net)
Mon, 03 Feb 1997 11:34:21 +0000


>> --- /* bad version */
>> #define TK_IS_DIRECT(x) (((x) & TK_INDIRECT)
== 0)
>> #define TK_IS_INDIRECT(x) (((x) & TK_INDIRECT)
!= 0)
>> --- /* good version */
>> #define TK_IS_DIRECT(x) (((x) & TK_INDIRECT)
!= 0)
>> #define TK_IS_INDIRECT(x) (((x) & TK_INDIRECT)
== 0)

Same bogus on microsoft Opengl for windows 95, I retrieved recently on their
web server.
Thank you!
( unfortunatly, I didn't got the same acceleration in my update !!)

A little Open GL question!
I need to display a bitmap ( scannep map or aerial photo ) and animate on it
in a 2D navigation tool.
I have already done this 4 years ago under HP starbase and Iris GL.
Under OpenGL that 's good, but here there a difference between OpenGL and
Iris GL.
When I zoom in or translate the bitmap, the glRasterPos doesn't work if the
designated point is out of the screen.

So how can I dispay this bitmap if the lower left coordinate is outside the
screen (too left or too low) ???
Is there a special trick, an other command to place the first coordinate out
side the viewport ??

Thanks,
==================================================================
      _/_/ _/ _/_/_/ _/ _/ _/_/_/ _/_/_/ _/_/_/
    _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
   _/ _/ _/ _/ _/ _/ _/ _/_/_/ _/_/_/
  _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
  _/_/ _/_/_/ _/_/_/ _/ _/_/_/ _/_/_/ _/ _/
                                                               
     BILLARD Olivier - Engineer R&D - C&I Software
     1 avenue de la mer - 44380 PORNICHET - FRANCE
     Tel: +33 2 40 11 68 72 Fax: +33 2 40 61 68 14
  Email: ceti++at++worldnet.net URL:http://www.worldnet.net/~ceti
=================================================================
                          \\\|||///
                         \\ - - //
                          ( ++at++ ++at++ )
       +----------------oOOo-(_)-oOOo----------------------+
| " We don't inherit the world from our ancestors, |
| it's only a loan from our children ." |
| Antoine de Saint Exupery. |
       +-------------------------Oooo----------------------+
                         oooO ( )
                        ( ) ) /
                         \ ( (_/
                          \_)

=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:34 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.