Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: libraries

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2001
    Location
    Germany
    Posts
    5

    libraries


    Hello,
    I want to make first steps with opengl,
    but my question is, if I understood right, then is opengl integrated in Mesa.
    Why arenīt libraries how glut available.
    Which other packages must I install.

    Thanks.
    HPE

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

    Re: libraries

    Mesa does come with glut. Your installation is not correct. You should try reinstalling your RPMs (or Debian packages or tarballs or whatever package system your distro. uses), or download Mesa and compile it yourself.

  3. #3
    Junior Member Newbie
    Join Date
    Mar 2001
    Location
    84061 Ergoldsbach, Bavaria, Germany
    Posts
    12

    Re: libraries

    Mesa doesn't include OpenGL, it's a kind of OpenGL-clone! And a really good one.
    Normally, a lite version of glut comes with Mesa, in order to be able to compile the examples.
    If you want a full version of glut, then try freeglut. I haven't tried yet, but you should have a look at: http://freeglut.sourceforge.net/

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

    Re: libraries

    Originally posted by gahre:
    Mesa doesn't include OpenGL, it's a kind of OpenGL-clone! And a really good one.
    This is true.

    Normally, a lite version of glut comes with Mesa, in order to be able to compile the examples.

    Now I'm not entirely sure what you're talking about. A "lite" version? The Mesa GLUT is quite complete, supporting such things as tablets, glx extension querying, fonts, all kinds of crazy shapes (spheres, dodecahedrons, etc), and more.

    At any rate, Mesa GLUT seems a lot further along than that free GLUT, and Mesa is under constant development.

  5. #5
    Junior Member Newbie
    Join Date
    Mar 2001
    Location
    Germany
    Posts
    5

    Re: libraries

    Thank you all,
    it was just: I forgot to install the package
    "mesadev" (SuSe). Now it works, but very slowly. Is that because I just have 64 MB Ram or is it my 8MB Graphic-Card?

    Thank you so far!

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

    Re: libraries

    You are probably running in software mode and not HW accelerated mode.

  7. #7
    Junior Member Newbie
    Join Date
    Mar 2001
    Location
    Germany
    Posts
    5

    Re: libraries

    What are these modes?

    How can I see in which I am and
    how do I change?

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

    Re: libraries

    software mode == everything being done by the CPU

    hardware mode == some stuff being done by the graphics card.

    (roughly)

    Exactly how you get into one mode or the other depends on which version of X you are using and which video card you have.

  9. #9
    Junior Member Newbie
    Join Date
    Mar 2001
    Location
    Germany
    Posts
    5

    Re: libraries

    My X-Version is Xfree86 4.0 and I hava a 8MB-ATI-Rage II video card. What have I to do for running in HW?

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

    Re: libraries

    Beats me.

    I'd start by visiting www.xfree86.org and reading about "DRI". It typically involves loading a kernel module and some fancy options in your XF86Config-4 file.

Posting Permissions

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