This site is no longer active and is available for archival purposes only. Registration and login is disabled.

GLES render issues..


GLES render issues..

Postby RapchikProgrammer » Dec 2, 2009 @ 9:42am

Hey, now i have 2 problems..

1) All opengles 1.1 calls like vbos and texparameteri bring up a 'feature not supported' error on nokia n82 and n95 devices even though they support opengles 1.1

2) Even trying to render using glDrawElements, i get to render everything perfectly under windows.. on device, it shows all 2d blt calls but nothing 3d.. any guess what could be going different between gl and gles??
RapchikProgrammer
pm Member
 
Posts: 56
Joined: Oct 18, 2008 @ 7:08am


Postby RapchikProgrammer » Dec 2, 2009 @ 10:37am

I finally fixed problem 2, turns out the default frustrum clips everything in the scene.. i sorted it out to my needs and now it works fine.. i still cant figure out how to fix problem 1..
RapchikProgrammer
pm Member
 
Posts: 56
Joined: Oct 18, 2008 @ 7:08am


Postby edge » Dec 5, 2009 @ 3:20pm

Hi,

EDGELIB doesn't actually specify an OpenGL ES version for Symbian, so I'm not sure why these functions fail. Perhaps you can try to call eglInitialize(eglGetDisplay(EGL_DEFAULT_DISPLAY), vermajor, verminor) and see which OpenGL ES version it returns for your devices? Try to call it before EDGELIB does (for example, in OnDisplayConfig).
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby kuroneko » Dec 7, 2009 @ 8:30am

FWIW, calling eglInitialize() only gives you the EGL version. To obtain the GL|ES version you have to put in more effort, i.e. create a GL|ES context, make it current, then issue glGetString(GL_VERSION) etc.
kuroneko
pm Member
 
Posts: 14
Joined: Mar 27, 2007 @ 5:38am


Postby RapchikProgrammer » Dec 9, 2009 @ 9:04pm

RapchikProgrammer
pm Member
 
Posts: 56
Joined: Oct 18, 2008 @ 7:08am


Postby kuroneko » Dec 10, 2009 @ 1:31am

kuroneko
pm Member
 
Posts: 14
Joined: Mar 27, 2007 @ 5:38am


Postby RapchikProgrammer » Dec 10, 2009 @ 11:18am

RapchikProgrammer
pm Member
 
Posts: 56
Joined: Oct 18, 2008 @ 7:08am


Postby RapchikProgrammer » Dec 11, 2009 @ 10:50am

Fixed it, i just noticed this part in the documentation that helped me fix it:

1. Go to the epoc32\release\armv5\lib\ -directory under the SDK installation (typically C:\Symbian\9.1\S60_3rd\Epoc32\release\armv5\lib\).

2. Copy the file libGLES_CM.dso over the file libgles_cm{000a0000}.dso.

3. Copy the file libGLES_CM.lib over the file libgles_cm{000a0000}.lib.
RapchikProgrammer
pm Member
 
Posts: 56
Joined: Oct 18, 2008 @ 7:08am


Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron