Problems of rendering 2D images

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
beof
Posts: 8
Joined: Thu Nov 22, 2012 9:40 am

Problems of rendering 2D images

Post by beof »

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 the image, for example 512*256 works, while 480*320 failed and so on.
Has anyone encountered the same problem? I really appreciated it if anyone could help.
zerochen
Posts: 273
Joined: Wed Jan 07, 2009 1:17 am
Location: Germany

Re: Problems of rendering 2D images

Post by zerochen »

hi,

ogl es 1.x doesnt support npot textures.
thats why 512x256 works.
beof
Posts: 8
Joined: Thu Nov 22, 2012 9:40 am

Re: Problems of rendering 2D images

Post by beof »

Thank you very much, it solved.
Post Reply