Search found 8 matches

by beof
Sat Feb 02, 2013 9:01 am
Forum: Beginners Help
Topic: problems of rendering 2D-images
Replies: 0
Views: 503

problems of rendering 2D-images

Hello, guys,
I was using Irrlicht engine rendering 2D-images on iOS platform using OPENGLES2,
While the apps is running many times, the results differs:some times it works fine; but sometimes, the images is just white rectangle with no error while calling glGetError.

I have double checked that the ...
by beof
Sun Jan 20, 2013 8:55 am
Forum: Advanced Help
Topic: problems about resize view in iOS
Replies: 3
Views: 821

Re: problems about resize view in iOS

@Nadro,
I was not using irrlicht for game developing, there is a child view rendering the 3D model, while there are many other UI controls below the child view in the app's window.

If the view's size is not changed, it works, however, when it the size is changed, it failed to get the right position ...
by beof
Wed Jan 16, 2013 7:06 am
Forum: Advanced Help
Topic: problems about resize view in iOS
Replies: 3
Views: 821

problems about resize view in iOS

Hello, guys,
I am using irrlicht engine in iPhone using opengl es2, when I resize my view, the coordinate seems to be wrong.
Here are the following steps:
1. params.WindowSize = (160,240)
params.WindowId = theView
pDevice = createDeviceEx(params)
pDriver = pDevice->getDriver()
beginScene ...
by beof
Mon Dec 03, 2012 6:42 am
Forum: Advanced Help
Topic: IOS and Opengl ES 2
Replies: 17
Views: 7406

Re: IOS and Opengl ES 2

Thanks for your reply.
After test, I found that Rendering 2-D npot image is due to other problems as you predicted.
However, when I tried to test the example-01, the color of the texture is black, which is apparently wrong.

And the log shows:

Irrlicht Engine version 1.8.0-alpha
Darwin 13.0.0 ...
by beof
Fri Nov 30, 2012 1:14 am
Forum: Advanced Help
Topic: IOS and Opengl ES 2
Replies: 17
Views: 7406

Re: IOS and Opengl ES 2

Hello, Nadro,
I have checked out the latest irrlicht/branches/ogl-es, and I select Opengl ES 2 driver during my iPhone4 application. I tried to load a image texture and draw2DImage, however, the non power of 2 image is displayed only black.
The console prints out the following error message:
Unable ...
by beof
Fri Nov 30, 2012 12:58 am
Forum: Beginners Help
Topic: Irrlicht for IPHONE
Replies: 24
Views: 6879

Re: Irrlicht for IPHONE

Hello. I have changed the code as fluke9 described, however, the console still prints out the following error messages:
Loading shader:COGLES2FixedPipeline.vsh
Loading shader:COGLES2FixedPipeline.fsh

Unable to find uniform : uLightSpecular
Unable to find uniform : uLightDirection
Unable to find ...
by beof
Fri Nov 23, 2012 5:50 am
Forum: Advanced Help
Topic: Problems of rendering 2D images
Replies: 2
Views: 474

Re: Problems of rendering 2D images

Thank you very much, it solved.
by beof
Fri Nov 23, 2012 1:22 am
Forum: Advanced Help
Topic: Problems of rendering 2D images
Replies: 2
Views: 474

Problems of rendering 2D images

Hello, Guys,
I am using Irrlicht Engine 1.7.3 with ogl-es branch.
I tried to run the example-06, in which, it simply loads an jpeg file texture, the renders it in the context.
However, with some jpeg files, the screen is simply blank. I have tested and found that the problems
was related to size of ...