OpenGL ES 1.x render system "OpenGL ES 1.x emulator" support
- Assaf Raman
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
OpenGL ES 1.x render system "OpenGL ES 1.x emulator" support
I wanted for a few months now to add support to OpenGL ES, mainly to be able to run OGRE on mobile devices.
Sinbad add a new OpenGL ES render system a few month back and I didn't find the time to look it up until the last weekend.
Turns out it didn't support multiplatform and only had GTK implemented in it.
I found this good win32 OpenGL ES emulator and started to work on the code.
I added win32 support for it and the base for other platform implementations (something similar to the OpenGL render system).
I just committed my first patch to the render system.
I don't know if GTK support is broken – because I didn't have an environment to test it on – I tried my best to keep the support – but I there is only so much you can do if you don't have the option to compile.
I will be happy if someone will have a look and test if it still works.
Attached are a few sample screen shot from my windows computer - using the OpenGL ES render system.
Sinbad add a new OpenGL ES render system a few month back and I didn't find the time to look it up until the last weekend.
Turns out it didn't support multiplatform and only had GTK implemented in it.
I found this good win32 OpenGL ES emulator and started to work on the code.
I added win32 support for it and the base for other platform implementations (something similar to the OpenGL render system).
I just committed my first patch to the render system.
I don't know if GTK support is broken – because I didn't have an environment to test it on – I tried my best to keep the support – but I there is only so much you can do if you don't have the option to compile.
I will be happy if someone will have a look and test if it still works.
Attached are a few sample screen shot from my windows computer - using the OpenGL ES render system.
- Attachments
-
- Water
- Demo_Water.png (349.19 KiB) Viewed 55767 times
-
- Particle FX
- Demo_ParticleFX.png (236.97 KiB) Viewed 55765 times
-
- Facial Animation
- Demo_FacialAnimation.png (139.72 KiB) Viewed 55762 times
-
- Skeletal Animation
- Demo_SkeletalAnimation.png (271.58 KiB) Viewed 55763 times
Watch out for my OGRE related tweets here.
- Kaelic
- Halfling
- Posts: 95
- Joined: Tue May 15, 2007 1:32 pm
- Location: Guildford, UK
Re: OpenGL ES 1.x render system win32 support
Would love to see this running on an iPhone!
- Assaf Raman
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: OpenGL ES 1.x render system win32 support
Me too, I will try start working on it when I will find some time.
Watch out for my OGRE related tweets here.
- Assaf Raman
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: OpenGL ES 1.x render system win32 support
The chess also seems to be functional.
- Attachments
-
- chess2.png (322.66 KiB) Viewed 55734 times
-
- chess1.png (372.12 KiB) Viewed 55735 times
-
- chess0.png (225.36 KiB) Viewed 55727 times
Watch out for my OGRE related tweets here.
- sinbad
- OGRE Retired Team Member
- Posts: 19269
- Joined: Sun Oct 06, 2002 11:19 pm
- Location: Guernsey, Channel Islands
- x 66
- Contact:
- Assaf Raman
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: OpenGL ES 1.x render system win32 support
I am going to try to compile OGRE to run on Symbian - it more approachable for me because is has some STL and boost support:
I am going to get OGRE to compile "as it" as much as I can.
I will update on this thread while I work this weekend on it.
I don't think that anyone has gotten OGRE to run on Symbian before, correct me if I am wrong.Open C provides developers with a set of standard POSIX and middleware C libraries from nine well-known C libraries. Open C++ offers standard C++ libraries with STL, IOStreams, and Boost libraries support.
I am going to get OGRE to compile "as it" as much as I can.
I will update on this thread while I work this weekend on it.
Watch out for my OGRE related tweets here.
- sinbad
- OGRE Retired Team Member
- Posts: 19269
- Joined: Sun Oct 06, 2002 11:19 pm
- Location: Guernsey, Channel Islands
- x 66
- Contact:
Re: OpenGL ES 1.x render system win32 support
Not that I'm aware of, that would be pretty cool.Assaf Raman wrote:I don't think that anyone has gotten OGRE to run on Symbian before, correct me if I am wrong.
-
- Gnoblar
- Posts: 10
- Joined: Sat Mar 07, 2009 6:19 pm
Re: OpenGL ES 1.x render system win32 support
which version of ogre3d you use, I use ogre3d 1.61, but it has complier errors?
when I use PowerVR SDK, it needs <egl/egl.h>, where I can find it?
when I use PowerVR SDK, it needs <egl/egl.h>, where I can find it?
- Assaf Raman
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: OpenGL ES 1.x render system win32 support
I use the trunk.
This is the path of egl.h on my computer (default):
C:\Imagination Technologies\PowerVR SDK\OGLES-1.1_WINDOWS_PCEMULATION_2.03.23.1162\Builds\OGLES\Include\GLES
This is the path of egl.h on my computer (default):
C:\Imagination Technologies\PowerVR SDK\OGLES-1.1_WINDOWS_PCEMULATION_2.03.23.1162\Builds\OGLES\Include\GLES
Watch out for my OGRE related tweets here.
-
- Gnoblar
- Posts: 10
- Joined: Sat Mar 07, 2009 6:19 pm
Re: OpenGL ES 1.x render system win32 support
I use OGLES-1.1_WINDOWS_PCEMULATION_2.04.24.0765, but the application will crack when use RenderSystem_GLES_d.dll. Could you send your Includes, Libs and Dlls to my mail. Thanks!
My Email is follow999@msn.com
My Email is follow999@msn.com
- Assaf Raman
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: OpenGL ES 1.x render system win32 support
Can you give more information about your problem?
Watch out for my OGRE related tweets here.
-
- Gnoblar
- Posts: 10
- Joined: Sat Mar 07, 2009 6:19 pm
Re: OpenGL ES 1.x render system win32 support
I check out code from trunk.
When I use OGLES-1.1_WINDOWS_PCEMULATION_2.01.21.0983, it is not support glTexEnvi, so I replace it with glTexEnvf, but it doesn't show right.
When I use OGLES-1.1_WINDOWS_PCEMULATION_2.04.24.0765, it crashes in eglChooseConfig, stops in malloc, no debug information.
It is strange, I don't known whether it occurs by opengles simulator or not.
Could you tell me more information to run it successfully. Thanks.
When I use OGLES-1.1_WINDOWS_PCEMULATION_2.01.21.0983, it is not support glTexEnvi, so I replace it with glTexEnvf, but it doesn't show right.
When I use OGLES-1.1_WINDOWS_PCEMULATION_2.04.24.0765, it crashes in eglChooseConfig, stops in malloc, no debug information.
It is strange, I don't known whether it occurs by opengles simulator or not.
Could you tell me more information to run it successfully. Thanks.
- Assaf Raman
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: OpenGL ES 1.x render system win32 support
What are you running? Are the demos I posted about work for you?
Watch out for my OGRE related tweets here.
-
- Gnoblar
- Posts: 10
- Joined: Sat Mar 07, 2009 6:19 pm
Re: OpenGL ES 1.x render system win32 support
run demo such as Demo_SkeletalAnimation or Demo_BezierPatch.
- Assaf Raman
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: OpenGL ES 1.x render system win32 support
I just had a look at "OGLES-1.1_WINDOWS_PCEMULATION_2.04.24.0765", seems that they removed the egl support!?
To compile an run the demos I used "OGLES-1.1_WINDOWS_PCEMULATION_2.03.23.1162" that has egl support.
How did you get the code to compile with "OGLES-1.1_WINDOWS_PCEMULATION_2.04.24.0765"?
To compile an run the demos I used "OGLES-1.1_WINDOWS_PCEMULATION_2.03.23.1162" that has egl support.
How did you get the code to compile with "OGLES-1.1_WINDOWS_PCEMULATION_2.04.24.0765"?
Watch out for my OGRE related tweets here.
- Assaf Raman
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: OpenGL ES 1.x render system win32 support
seems that the demos that come with "OGLES-1.1_WINDOWS_PCEMULATION_2.04.24.0765" don't compile for me.
Do they compile for you?
Do they compile for you?
Watch out for my OGRE related tweets here.
-
- Gnoblar
- Posts: 10
- Joined: Sat Mar 07, 2009 6:19 pm
Re: OpenGL ES 1.x render system win32 support
it seems that PowerVR doesn't supply OGLES-1.1_WINDOWS_PCEMULATION_2.03.23.1162, could you send me a copy. Thanks!
I download a egl.h file from www.khronos.org and put it in EGL folder besides GLES folder. Then you can compile the projects.
I download a egl.h file from www.khronos.org and put it in EGL folder besides GLES folder. Then you can compile the projects.
-
- Gnoblar
- Posts: 10
- Joined: Sat Mar 07, 2009 6:19 pm
- Assaf Raman
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: OpenGL ES 1.x render system win32 support
I will create a GLES 1.x dependency zip file like the one we have for the other dependencies - so you can just copy\paste it to the OGRE folder and it should compile and run, sounds good? Give me 20 min.
Watch out for my OGRE related tweets here.
-
- Gnoblar
- Posts: 10
- Joined: Sat Mar 07, 2009 6:19 pm
Re: OpenGL ES 1.x render system win32 support
great. Thanks!
-
- Gnoblar
- Posts: 10
- Joined: Sat Mar 07, 2009 6:19 pm
Re: OpenGL ES 1.x render system win32 support
where do you put the GLES 1.x dependency zip?
- Assaf Raman
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: OpenGL ES 1.x render system win32 support
Just unzip to the OGRE source folder - it will have the directory structure to copy the files to the right place. (h files to Dependencies\include, lib to Dependencies\lib and dlls to samples).
This is smiler to the way you copy the other OGRE precompiled dependencies.
This is smiler to the way you copy the other OGRE precompiled dependencies.
Watch out for my OGRE related tweets here.
-
- Gnoblar
- Posts: 10
- Joined: Sat Mar 07, 2009 6:19 pm
Re: OpenGL ES 1.x render system win32 support
Yes. I known. What I mean is where I can get this file, from svn or other ways?
- Assaf Raman
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: OpenGL ES 1.x render system win32 support
OGRE OpenGL ES 1.1 win32 Dependencies - the source for the files is: "OGLES-1.1_WINDOWS_PCEMULATION_2.03.23.1162".
Just unzip to the OGRE source folder and make sure you are unzipping so the right directory will go to the right place.
Make sure you don't have other files getting included from other paths (best to rename "C:\Imagination Technologies" so you will be sure).
Post if this issue is resolved.
Just unzip to the OGRE source folder and make sure you are unzipping so the right directory will go to the right place.
Make sure you don't have other files getting included from other paths (best to rename "C:\Imagination Technologies" so you will be sure).
Post if this issue is resolved.
Watch out for my OGRE related tweets here.
-
- Gnoblar
- Posts: 10
- Joined: Sat Mar 07, 2009 6:19 pm
Re: OpenGL ES 1.x render system win32 support
Yes. It really works. Excellent!!!!!!!!!!!!!!!!!!!!