maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   NeHe OpenGL tutorial (https://talk.maemo.org/showthread.php?t=49607)

Master of Gizmo 2010-04-09 15:16

NeHe OpenGL tutorial
 
I have just uploaded version 1.2 of nehegles to extras-devel. This is a port of the nice OpenGL tutorial from http://nehe.gamedev.net/ to Maemo5/OpenGL ES/SDL_gles. It includes some simple gui and lets you test run the different lesson code.

Currently included are lessons 01-08 and i plan to continue this whenever time allows to. However, contributions are welcome.

I do this in the hope that it will give the development of native OpenGL ES applications for Maemo a little push. With Javier's great SDL_gles library development of OpenGL ES apps really is a snap.

Master of Gizmo 2010-04-12 19:11

Re: NeHe OpenGL tutorial
 
Since noone can check this out (unless he has PR1.2 installed) here are some screenshots (Update, the repository seems to be fixed and the program now is installable):

http://www.harbaum.org/nehegles.png

http://www.harbaum.org/lesson08.png

http://www.harbaum.org/lesson11.png

The latest version 1.4 now includes the first 20 lessons except the ones dealing with fonts as i don't know how to so this in Open GL ES.

BluesLee 2010-04-22 19:27

Re: NeHe OpenGL tutorial
 
i can only run demos 1-5, the other dont work for me. any hints?


Blues

Master of Gizmo 2010-04-24 11:33

Re: NeHe OpenGL tutorial
 
Quote:

Originally Posted by BluesLee (Post 623241)
i can only run demos 1-5, the other dont work for me. any hints?

Version 1.4.1 fixes this. You should now be able to run all of them.

Master of Gizmo 2010-04-26 14:01

Re: NeHe OpenGL tutorial
 
Version 1.4.1 is now in extras-testing, so if you like it consider rating it so it can go into extras for everyone to enjoy. And yes, it's fully optified.

skaiware 2010-04-29 21:08

Re: NeHe OpenGL tutorial
 
Hello Master of Gizmo
Thanks very much. Very nice work. Hoping you will complete all the tuts. If I can do anything for you, just ask.

Just to be sure :
- all the tutorials have been implemented with GLES 1, isnt it ?
- if I understand right, porting the tuts to GLES2 would need deep rewrite, isnt it ?
- if so, do you think GLES2 fps would be very higher than GLES1 fps (say around 2 times faster) ?
- is there a way to display fps in the demos ?

Best regards

Master of Gizmo 2010-04-30 11:30

Re: NeHe OpenGL tutorial
 
Quote:

Originally Posted by skaiware (Post 634087)
Hoping you will complete all the tuts. If I can do anything for you, just ask.

I'll gladly accept any contribution. If you port a lesson, i'll add it immediately.

Quote:

Just to be sure :
- all the tutorials have been implemented with GLES 1, isnt it ?
- if I understand right, porting the tuts to GLES2 would need deep rewrite, isnt it ?
- if so, do you think GLES2 fps would be very higher than GLES1 fps (say around 2 times faster) ?
- is there a way to display fps in the demos ?
- Yes, i have been using gles1
- The gles2 api seems to differ more and would require more changes. But i am definitely no gles specialist.
- I don't know
- You can run them from the command line (e.g. /opt/nehegles/lesson10 runs demo 10). You'll then get a fps display on the command line. But all the demos run roughly the same speed. If they use the depth buffer they run at ~50fps, if they don't use it they run at ~90fps.

Also if you port any of the existing demos to gles2, i'd really like to add it as well. It might be quite interesting to have a gles1 and gles2 version of the same lesson.


All times are GMT. The time now is 08:05.

vBulletin® Version 3.8.8