Search found 16 matches

by zhengxianfu
Thu Oct 11, 2012 3:26 am
Forum: Beginners Help
Topic: ios uiinterfaceorientation problem
Replies: 1
Views: 312

Re: ios uiinterfaceorientation problem

maybe this is one of approach:

http://www.rtsoft.com/forums/archive/index.php/t-5706.html

glRotatef( 90, 0.0f, 0.0f, 1.0f );
glTranslatef( 0.0f, -320.0f, 0.0f ); // the rotation takes it offscreen and this brings it back on so the origin is in the right place


:(
Here is problem:
1、all ...
by zhengxianfu
Thu Oct 11, 2012 1:51 am
Forum: Beginners Help
Topic: ios uiinterfaceorientation problem
Replies: 1
Views: 312

ios uiinterfaceorientation problem

my game should use landscape ,but after i set pinfo.list ,supported device orientations in Summary, override shouldautorotationtointerfaceorientation method , rotation simulator using HARDWARE "rotation left". nothing happened.

I search ,maybe something related CGAffineTransformMakeRotation.


Did ...
by zhengxianfu
Fri Jul 27, 2012 2:03 pm
Forum: Beginners Help
Topic: Irrlicht for IPHONE
Replies: 24
Views: 6750

Re: Irrlicht for IPHONE

to codetiger
I just test es1.0 , the texture doesn't show up at first ,it is the problem of size (not power of 2),change to another texture.
Monday i will try es2.0. What kind of problem may i encouter?
I've encountered that the texutre doesn't show up under android (es2.0) ,is it the same ...
by zhengxianfu
Fri Jul 27, 2012 7:34 am
Forum: Beginners Help
Topic: Irrlicht for IPHONE
Replies: 24
Views: 6750

Re: Irrlicht for IPHONE

thanks Nadro.
Finally ,i get the syndey show in the ios simulator.
But , the logic of "beginScene" and "endScene " is in timer,are you sure it's the only way?
by zhengxianfu
Thu Jul 26, 2012 10:05 am
Forum: Beginners Help
Topic: Problem with running ios sample
Replies: 1
Views: 391

Re: Problem with running ios sample

Yes i think so ,but i am sill try to run my first example.
Please have a look at http://irrlicht.sourceforge.net/forum/v ... =1&t=46726
I am waiting answer.
by zhengxianfu
Thu Jul 26, 2012 10:00 am
Forum: Beginners Help
Topic: [SOLVED] animated textures
Replies: 6
Views: 729

Re: animated textures

createTextureAnimator is very expensive , my Samsung I9100 can not display the example.

At last ,i update the texture by setmeterialtexture,I think that Irrlicht will cache the textures ,so it's very fast.
by zhengxianfu
Thu Jul 26, 2012 9:54 am
Forum: Beginners Help
Topic: Quad tilemap
Replies: 8
Views: 1129

Re: Quad tilemap

I am interesting about tilemap
Inagawa, how did you create your map ,did you using Tiled from http://www.mapeditor.org/ ?
by zhengxianfu
Thu Jul 26, 2012 9:49 am
Forum: Beginners Help
Topic: Irrlicht for IPHONE
Replies: 24
Views: 6750

Re: Irrlicht for IPHONE

I am newbie to ios development.So please forgive me the naive questions.

I shift to sources/Irrlicht/iOS, and build libirrlicht.a successfully,but there is no application or ui class.so i start a new project add reference to libirrlicht.a.

Where does the class GameApp come from ? if create a new c ...
by zhengxianfu
Wed Jul 25, 2012 12:57 pm
Forum: Beginners Help
Topic: Irrlicht for IPHONE
Replies: 24
Views: 6750

Re: Irrlicht for IPHONE

Thanks, merci beacoup.

1 ,Download from ogl-es branch ,i noticed that has already updated to 1.8.0 ,thanks all of them.
2, Add include and sources into iphone window-based project.
3, Remove the .cpp or .c files if there is compile or link error. Almost 20-30files should be removed .

I will try to ...
by zhengxianfu
Wed Jul 25, 2012 8:37 am
Forum: Beginners Help
Topic: Irrlicht for IPHONE
Replies: 24
Views: 6750

Irrlicht for IPHONE

I've already download the lastest code from trunk (Irrlicht 1.8) ,build and running the examples.

How can i switch to Iphone or ipad,does anyone test successfully?

I try to create another project and make libirrlicht.a into ,also try to switch base sdk and architecture .
It seems the ...
by zhengxianfu
Mon Jul 23, 2012 4:54 am
Forum: Project Announcements
Topic: Android Port
Replies: 383
Views: 208302

Re: Android Port(Using with GLES2 problem)

I have already compiled with _IRR_COMPILE_WITH_OGLES2_ ,Copy those .vsh .fsh into /mnt/sdcard/irrlicht/

There is error when createShader (COGLES2SLMaterialRenderer.cpp:343), glGetShaderiv return error ,and the program crash.

And also ,there are many :called unimplemented OpenGL ES API.
Here is the ...
by zhengxianfu
Mon Jul 23, 2012 3:36 am
Forum: Project Announcements
Topic: Android Port
Replies: 383
Views: 208302

Re: cannot bind texture on android 2.3

This problem has been solved.

COGLESTexture.cpp:getBestColorFormat:
"destFormat=ECF_A1R5G5B5;"

OR Invoke:
driver->setTextureCreationFlag(ETCF_ALWAYS_16_BIT,true);


Refer to http://irrlicht.sourceforge.net/forum/viewtopic.php?t=32538&start=45 by Willem.
Thanks.

01-07 03:11:10.684: INFO/log ...
by zhengxianfu
Sun Jun 03, 2012 3:11 pm
Forum: Code Snippets
Topic: game code
Replies: 3
Views: 2723

Re: game code

I am a newbie of irrlicht.Thanks a lot.
by zhengxianfu
Sun Jun 03, 2012 3:08 pm
Forum: Code Snippets
Topic: 2D images with rotation
Replies: 43
Views: 32681

Re: 2D images with rotation

I have written the completed version of this snippet. I have incorporated all fixes mentioned, and optimized it from 8 sin/cos calls to 2, so it is less computationally intensive. The code is also cleaned up a bit and should be easier to understand. Here you go! :D



Thanks very much.I use it ...
by zhengxianfu
Sun Jun 03, 2012 2:03 pm
Forum: Beginners Help
Topic: Android-irrLang or sound solution
Replies: 6
Views: 1756

Re: Android-irrLang or sound solution

Thanks.
I will check at the irrlang website.RIght now,I have already found NDK native-sound example ,and use it as my sound solution.