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 18 of 173 FirstFirst ... 816171819202868118 ... LastLast
Results 171 to 180 of 1724

Thread: OpenGL 3 Updates

  1. #171
    Intern Contributor
    Join Date
    Nov 2007
    Posts
    72

    Re: OpenGL 3 Updates

    Quote Originally Posted by Zengar
    You haven't read the thread, did you? There is not even a spec yet, what "alpha builds" are you talking about?
    Oh, sorry..

    For the webmaster, can we have some updates on that topic please?

  2. #172
    Senior Member OpenGL Guru
    Join Date
    Mar 2001
    Posts
    3,768

    Re: OpenGL 3 Updates

    That means the glGenTextures, glBindTexture,glTexImage2D and and all texture functions will be changed of current version of GL?
    You clearly need to actually read the last 4 newsletters. Coupled with the info from SIGGRAPH, this should bring you up to speed with the publicly available information, which answers 80% of your questions.

    I've asked for a draft to have a clue of how things will work and write preliminary implementation/design in existing code...
    But nothing went.
    Did you really expect them to give you a draft of their GL 3.0 specification?

  3. #173
    Intern Newbie
    Join Date
    Oct 2007
    Location
    Toronto, Canada
    Posts
    41

    Re: OpenGL 3 Updates

    Quote Originally Posted by Stephen A
    5) This is possibly what I'm most interested in: Will the new .spec files be available, to ease creation of bindings for other programming languages? Any chance for the wgl/glx specs?
    I've also been interested in that. I prefer to work in C++, and language bindings are always depressingly incomplete. It would be even better if we had some sort of Khronos-sponsored binding, so that we didn't have to worry about its long-term suitability (or rather its lack thereof).

    However, I've never heard of these .spec files you're talking about. Are they a solution for easing language bindings? Can you provide a link or something?
    The details are trivial and useless;
    The reasons, as always, purely human ones.

  4. #174
    Senior Member OpenGL Guru
    Join Date
    Mar 2001
    Posts
    3,768

    Re: OpenGL 3 Updates

    I prefer to work in C++, and language bindings are always depressingly incomplete.
    Huh?

    Last I checked, both GLee and GLEW worked just fine and were quite complete. Or are you simply talking about using the bare .lib that only loads GL 1.1?

    However, I've never heard of these .spec files you're talking about.
    They're just the specification in a format that's reasonably parseable. That way, you could automate the generation of header files, and potentially loading code.

  5. #175
    Intern Newbie
    Join Date
    Oct 2007
    Location
    Toronto, Canada
    Posts
    41

    Re: OpenGL 3 Updates

    Quote Originally Posted by Korval
    Huh?

    Last I checked, both GLee and GLEW worked just fine and were quite complete. Or are you simply talking about using the bare .lib that only loads GL 1.1?
    Sorry, I guess I wasn't clear; I'm not talking about extensions at all. I'm talking about using C++ wrappers for OpenGL's C API. In one of the newsletters, they mention that they're going with a C API, even though it can be kind of verbose, for ease of implementation, and that they expect language bindings to pop up pretty quickly. However, unless the ARB plans for these bindings, I expect they'll be sub-par.
    They're just the specification in a format that's reasonably parseable. That way, you could automate the generation of header files, and potentially loading code.
    I was sort of hoping for an example of this being done successfully. It seems like there would be some pitfalls in making such language bindings automatically, but if it could be done, that would be great.

    However, we've already figured out that we're talking about different things. I could easily imagine how it could be successfully done for extensions. APIs are a bit more difficult.
    The details are trivial and useless;
    The reasons, as always, purely human ones.

  6. #176
    Senior Member OpenGL Guru
    Join Date
    Mar 2001
    Posts
    3,768

    Re: OpenGL 3 Updates

    However, unless the ARB plans for these bindings, I expect they'll be sub-par.
    ... so?

    I mean, worst case is that you use the C API directly, right? It's not like you're losing any functionality here.

    Right now, the ARB is 1.5 months late on the spec, with no spec date looming in the immediate future. Wanting the ARB to write up a C++ wrapper over the C API at this point is a little too forward thinking.

  7. #177
    Junior Member Regular Contributor Roderic (Ingenu)'s Avatar
    Join Date
    Mar 2000
    Location
    Horsham, West Sussex, UK.
    Posts
    161

    Re: OpenGL 3 Updates

    Quote Originally Posted by Korval
    I've asked for a draft to have a clue of how things will work and write preliminary implementation/design in existing code...
    But nothing went.
    Did you really expect them to give you a draft of their GL 3.0 specification?
    Yes it was very optimistic of me to ask that the community get a -draft- of *Open*GL 3.0 since we didn't get the promised specifications.
    At least we could plan/design with a fairly good idea of how things will work, because at this stage, I somewhat doubt there will be drastic changes.
    (And anyway it would be a draft, so we would know it's subject to change.)
    Also we (software developers) could discuss the draft on the forums to give Khronos some feedback about it...
    -* So many things to do, so little time to spend. *-

  8. #178
    Intern Contributor
    Join Date
    May 2007
    Posts
    53

    Re: OpenGL 3 Updates

    with no spec date looming in the immediate future.
    The future version of OpenGL will be no specs after 3.0 or the GL3.0 will become the latest version of the Graphics API with standard specs?

  9. #179
    Member Regular Contributor
    Join Date
    Oct 2006
    Posts
    349

    Re: OpenGL 3 Updates

    Quote Originally Posted by Rick Yorgason
    I was sort of hoping for an example of this being done successfully. It seems like there would be some pitfalls in making such language bindings automatically, but if it could be done, that would be great.

    However, we've already figured out that we're talking about different things. I could easily imagine how it could be successfully done for extensions. APIs are a bit more difficult.
    The main difficulty is the age of the .spec files. There is a lot of stale cruft in there, plus a few genuine mistakes, but all in all they are pretty parseable, if you stick to a straight port of the C API. For more advanced functionality (actual enumerations, function overloads) things become more interesting, but the result is much more pleasing. A code snippet from the C# bindings included in OpenTK:
    Code :
    GL.Clear(ClearBufferMask.ColorBufferBit |
             ClearBufferMask.DepthBufferBit);
     
    GL.MatrixMode(MatrixMode.Modelview);
    GL.LoadIdentity();
    Glu.LookAt(0.0, 5.0, 5.0,
               0.0, 0.0, 0.0,
               0.0, 1.0, 0.0);
     
    GL.BindBuffer(Version15.ArrayBuffer, vertex_buffer_object);
    GL.VertexPointer(3, VertexPointerType.Float, 0, IntPtr.Zero);
    GL.BindBuffer(Version15.ElementArrayBuffer, element_buffer_object);
     
    GL.DrawElements(BeginMode.Triangles, shape.Indices.Length,
                    All.UnsignedInt, IntPtr.Zero);
    (yes, these are automatically generated, source code available)

    Bindings like these are possible for almost all high-level languages, C++ included, but we do need the .spec files to generate them. This is why I was asking if the specs will be publicly available in their 'raw' form.

  10. #180
    Senior Member OpenGL Guru
    Join Date
    Mar 2001
    Posts
    3,768

    Re: OpenGL 3 Updates

    The future version of OpenGL will be no specs after 3.0 or the GL3.0 will become the latest version of the Graphics API with standard specs?
    I think you misunderstood what I was saying.

    I was saying that the most recent info from the ARB did not give us even a semi-firm date for when to expect the GL 3.0 specification. We can guess by the end of the year, but that's only a guess.

    There will be post 3.0 specifications as well; the ARB still has some post 3.0 plans.

Posting Permissions

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