Results 1 to 8 of 8

Thread: Statrting point

  1. #1
    Junior Member
    Join Date
    Jun 2004
    Posts
    1

    Statrting point

    Hi there,

    I have worked on PC version on OpenGL want to get set go for 3D mobile, infact i did some j2me development.

    Where do get necessary libraries, codes, turorials which will enable me write HELLO WORLD styled OpenGL ES code and enable me to run on my cell phone.

    Isnt there OpenGL ES for Dummies avaialable online

    Mobile

  2. #2
    Junior Member
    Join Date
    Jun 2004
    Posts
    7

    Re: Statrting point

    Hi,

    The hello world for ES is given at http://www.khronos.org/opengles/docu.../eglIntro.html

    For getting started you can probably use the OpenGL ES reference implementation which can be downloaded from http://www.khronos.org/developers/code.html

    The vs.dsw file in the vs folder opens up a VC workspace with test projects for common and common lite profiles. You can run them and see the results.

    You can also try the Klimt implementation from sourceforge..

    Hope this helps.

    Best regards,
    Neelima

  3. #3
    Junior Member
    Join Date
    Jul 2004
    Posts
    26

    Re: Statrting point

    Hi Neelima,

    I downloaded the "OpenGL ES 1.0 Sample Implementation (Open Source Wrapper for Desktop OpenGL) " package from the website you mentioned. I tried to execute the vs.dsw, it says "gl_sin.h" is not available.

    Did you try it ?

    Thanks,
    Arun.

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

    Re: Statrting point

    Look here.

    - HM

  5. #5
    Guest

    Re: Statrting point

    Dear all,

    I am very new to OpenGL ES. I downloaded the "OpenGL ES 1.0 Sample Implementation (Open Source Wrapper for Desktop OpenGL)" package from http://www.khronos.org/opengles/docu.../eglIntro.html and then i unzip but i did not see "The vs.dsw file in the vs folder". How can i run it?

    Another question:

    I create and "c" file in VC++ 6 run on Windows 2000 and copy and paste the example in "eglIntro - introduction to OpenGL ES in an EGL window system". When i compiled it show error "fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
    Error executing cl.exe.". What should i do next in order to run this example?

    Bests

    Chansophea

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

    Re: Statrting point

    The example code in the manual does not work for windows. You have to create a window class, create a window hooked up to your message loop, and create the rendering context based on the window device context of your window.

    You need something like main.cpp and the InitOpenGL function from
    paint.cpp

    Hope that helps,
    HM

  7. #7
    Junior Member
    Join Date
    Jul 2004
    Posts
    26

    Re: Statrting point

    Hi Martin,

    Thanks! It worked. It ran the cube example and it was very flickery. Was it supposed to be that way ?

    Arun.

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

    Re: Statrting point

    The code I pointed you at sets up timer events that cause a regular repaint. For a static image you might want to remove the timer creation.

    - HM

    [ July 15, 2004: Message edited by: Hans-Martin Will ]

Similar Threads

  1. The point of EGLConfig?
    By cheery in forum Cross API and window system integration
    Replies: 1
    Last Post: 12-12-2012, 10:40 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
  •