Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 9 of 9

Thread: very newbie question

  1. #1
    Guest

    very newbie question

    I have been writing opengl code on windows for a year now, but windows implementation of opengl is 1.1 and it does not support the imaging subset. I would like to switch to linux... Will my code be portable to linux or will I have to use Mesa and rewrite my code???

  2. #2
    Guest

    Re: very newbie question

    Pretty much portable, unless you use stuff like wglGetProcAddress.. I dont believe there's anything like that in GLX.

  3. #3
    Member Regular Contributor
    Join Date
    Sep 2000
    Location
    Vancouver BC Canada
    Posts
    418

    Re: very newbie question

    Originally posted by sylphin:
    Pretty much portable, unless you use stuff like wglGetProcAddress.. I dont believe there's anything like that in GLX.

    glXGetProcAddressARB.

  4. #4
    Junior Member Regular Contributor
    Join Date
    Nov 2000
    Location
    State College, PA
    Posts
    186

    Re: very newbie question

    wglUseOutlineFont()

    I sure wish glx had something like this! Bitmapped fonts just don't cut it.

    Chris

  5. #5
    Guest

    Re: very newbie question

    I want to use the glConvolution2D() function which is part of the new imaging subset, will it be available on linux implementation of OpenGL

  6. #6
    Member Regular Contributor
    Join Date
    Sep 2000
    Location
    Vancouver BC Canada
    Posts
    418

    Re: very newbie question

    Originally posted by chennes:
    wglUseOutlineFont()

    I sure wish glx had something like this! Bitmapped fonts just don't cut it.

    Chris
    glXUseXFont

    glutStrokeCharacter

  7. #7
    Member Regular Contributor
    Join Date
    Sep 2000
    Location
    Vancouver BC Canada
    Posts
    418

    Re: very newbie question

    Originally posted by mathieu:
    I want to use the glConvolution2D() function which is part of the new imaging subset, will it be available on linux implementation of OpenGL
    glConvolutionFilter1DEXT
    glConvolutionFilter2DEXT
    etc etc.

  8. #8
    Guest

    Re: very newbie question

    Mesa does not implement the imaging subset but I think nvidia does. Linux is really cool and has several advantages but you propably find the same functions in Windows. Easier in linux since you do not have to get the addresses for 1.2 functions. The correct names would be

    glConvolutionFilter1D
    glConvolutionFilter2D
    etc etc.

    Mesa is just an option for implementations nvidia is replacing the whole OpenGL library so no part of Mesa is used.

  9. #9
    Super Moderator OpenGL Guru dorbie's Avatar
    Join Date
    Jul 2000
    Location
    Bay Area, CA, USA
    Posts
    3,947

    Re: very newbie question

    The availability of the imaging operations on windows and Linux depends on the particular OpenGL implementation you are using. If you really need this there are cards which have support for what you're after. It's not a function of windows, it's all in the OpenGL drivers & graphics cards. It won't be in the vanilla header file ofcourse but you can get headers which include the IHV supported extensions & tokens.

    Same on Linux and windows, gl.h is not going to include card specific extensions and token definitions unless you use the one supplied by the IHV.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •