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 4 of 4

Thread: XML and OpenGL communicating???

Hybrid View

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2004
    Location
    The Netherlands
    Posts
    2

    XML and OpenGL communicating???

    Ist there any possible way that I can communicate with openGL using XML as data by use of a xml-rpc or something else.Because we have a project to use xml with external programs and I wanted to use openGL in any possible way, but I can't figure it out.....
    Any help link source or advise accept to forget wht I'm trying would be nice

  2. #2
    Super Moderator OpenGL Guru dorbie's Avatar
    Join Date
    Jul 2000
    Location
    Bay Area, CA, USA
    Posts
    4,388

    Re: XML and OpenGL communicating???

    Well glIntercept dumps many OpenGL commands to XML using a library wrapper.

    It might be interesting to you in itself but you could take this XML dump and parse it sending it back to OpenGL if you wanted a challenge.

  3. #3
    Intern Newbie
    Join Date
    Aug 2001
    Posts
    46

    Re: XML and OpenGL communicating???

    you could write your own scene description file and have a simple application parsing it and displaying it using opengl.

    perhaps not much of xml-rpc but it's at least something useful to have.

    -j

  4. #4
    Intern Contributor
    Join Date
    Feb 2000
    Location
    England
    Posts
    72

    Re: XML and OpenGL communicating???

    Depending upon the scope of the project you could I suppose implement a DOM event model. You could implement some of its events and prove they work by spinning stuff around in GL, changing rendering options and so on.

Posting Permissions

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