View Full Version : Statrting point
06-21-2004, 04:45 AM
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 :)
06-21-2004, 09:27 PM
The hello world for ES is given at http://www.khronos.org/opengles/documentation/html/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.
07-15-2004, 04:53 AM
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 ?
07-15-2004, 06:22 AM
Look here. (http://www.khronos.org/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=4&t=000022)
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/documentation/html/eglIntro.html and then i unzip but i did not see "The vs.dsw file in the vs folder". How can i run it?
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?
07-15-2004, 11:03 AM
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 (http://cvs.sourceforge.net/viewcvs.py/ogl-es/ogles/test/testwin.cpp?rev=1.1&only_with_tag=HEAD&view=markup) and the InitOpenGL function from
Hope that helps,
07-15-2004, 11:56 AM
Thanks! It worked. It ran the cube example and it was very flickery. Was it supposed to be that way ?
07-15-2004, 02:01 PM
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.
[ July 15, 2004: Message edited by: Hans-Martin Will ]
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.