Results 1 to 3 of 3

Thread: Is glut similar ug or egl and can be replaced each other?

  1. #1
    Junior Member
    Join Date
    Dec 2006
    Posts
    2

    Is glut similar ug or egl and can be replaced each other?

    I want to know what is the relationship among the glut , egl and ug. Are they act for the same role and can be replaced each other?In linux console i want to use gl+glut+nano-x,is this will work well?

  2. #2
    Member
    Join Date
    Sep 2003
    Location
    Silicon Valley
    Posts
    57

    Re: Is glut similar ug or egl and can be replaced each other

    Quote Originally Posted by qqrilxk
    I want to know what is the relationship among the glut , egl and ug. Are they act for the same role and can be replaced each other?In linux console i want to use gl+glut+nano-x,is this will work well?
    I have no idea what "ug" is. EGL is an API for creating OpenGL (ES, mostly, although some people have tried implementing it with desktop GL as well) contexts and connecting them to rendering surfaces. GLUT is a user level library which abstracts away a lot of the details of using APIs like EGL or the older GLX (X Windows specific) or WGL (Windows specific) which serve the same purpose as EGL. GLUT is typically used for writing small demos and tutorial apps, though that's not all it's good for.

    All these pieces of software are interrelated. I don't know what "nano-X" is either, other than (preusmably) some sort of stripped-down X server. But in order to use OpenGL (or ES) with it, you need a GL implementation that understands how nano-X works. That will probably be accompanied by an EGL or GLX implementation that also talks to nano-X. And you may be able to find a version of GLUT that runs on top of OpenGL+{EGL|GLX}+nano-X.

    But the bottom line is that you're asking a very specific question in a general forum. I think you'll be better off finding the user forums for nano-X, or whatever other support mechanism it has, and asking there.
    Jon Leech
    EGL & OpenGL Specification Editor / OpenGL ARB Ecosystem TSG Chair / Khronos API Registrar

  3. #3
    Senior Member
    Join Date
    Sep 2003
    Location
    Seattle, WA
    Posts
    246

    Re: Is glut similar ug or egl and can be replaced each other

    Quote Originally Posted by oddhack
    Quote Originally Posted by qqrilxk
    I want to know what is the relationship among the glut , egl and ug. Are they act for the same role and can be replaced each other?In linux console i want to use gl+glut+nano-x,is this will work well?
    I have no idea what "ug" is.
    You should, actually, because it's a download from this web site...

    Concerning the original question: David Blyth had packaged a little helper library called "ug" with the OpenGL ES 1.0 reference implementation in order to facilitate porting of the redbook examples. It is somewhat of a subset of glut and sits on top of egl and some native OS APIs. You'd probably want to use glutes over ug these days.

    - HM

Similar Threads

  1. how can i use similar gluLookAt in openGL|ES 2.0?
    By balladry in forum OpenGL ES 2X - for programmable 3D graphics pipelines
    Replies: 0
    Last Post: 07-31-2012, 09:02 AM
  2. Probelms with fopen on GLUT ES and EGL
    By crischprolch in forum OpenGL ES general technical discussions
    Replies: 3
    Last Post: 04-12-2008, 03:49 AM

Posting Permissions

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