Search found 68 matches

by zet.dp.ua
Sat Sep 11, 2010 5:22 am
Forum: Advanced Help
Topic: Landscape in iPhone
Replies: 3
Views: 1558

Just force landscape orientation of your main view controller

Code: Select all

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
  return (interfaceOrientation == UIInterfaceOrientationLandscapeRight);
}
by zet.dp.ua
Thu Jul 22, 2010 7:26 am
Forum: Open Discussion and Dev Announcements
Topic: iPhone and Android
Replies: 4
Views: 2306

I have successfully coded a game for windows, mac, iphone/ipad and android using the same c++ code base and irrlicht as a base engine (but with a lot of modifications). So it is possible, but requires some time.
by zet.dp.ua
Thu Jun 17, 2010 10:37 am
Forum: Open Discussion and Dev Announcements
Topic: request for next version: exposing style in Windows windows
Replies: 16
Views: 6585

Threads are the best way to separate window message handling from the game loop. There are two possible solutions:
1. Create window in the "main" thread, create video driver in the "game" thread.
In this case the "while (device->run()) {...}" block internals must be replaced by some "game entry ...
by zet.dp.ua
Thu May 27, 2010 2:09 pm
Forum: Open Discussion and Dev Announcements
Topic: Irrlicht threading support
Replies: 30
Views: 9165

My opinion is just to add thread-related classes. And user (game programmer) have to decide to use or not to use them.
I can't say that irrlicht requires direct threads inside. Where that threads can be used? I can't see. (I don't take into account the possibility of "for"-like cycles ...
by zet.dp.ua
Wed May 26, 2010 8:32 am
Forum: Open Discussion and Dev Announcements
Topic: Irrlicht threading support
Replies: 30
Views: 9165

Threading support requires more complicated logic. The first question everyone has to answer is "For what do I need threading?", the second - "How others do the same?".

In general game engine definitely must support threading. At least e.g. CThread class with 'virtual int Run(void* param) = 0 ...
by zet.dp.ua
Sat May 22, 2010 8:00 pm
Forum: Open Discussion and Dev Announcements
Topic: Irrlicht threading support
Replies: 30
Views: 9165

It is possible to load textures in the different thread with opengl (you have to setup two shared contexts) as well as with directx (just specify multithreaded flag while creating the device).
But in case of dx it can affect game performance.
There are several "cheap" tricks that can make loading ...
by zet.dp.ua
Sat May 08, 2010 9:31 pm
Forum: Project Announcements
Topic: Irrlicht i18n (Unicode, FreeType, etc.)
Replies: 178
Views: 208513

One suggestion: it would be better to minimize the additional info in the xml file. <entry id="My string">My string</entry>, <s id="My string">My string</s> could be enough.

Integrating string table with irrlicht's text node can really save a lot of time.
Don't write any possibly localizable text ...
by zet.dp.ua
Sat May 08, 2010 9:09 pm
Forum: Open Discussion and Dev Announcements
Topic: OGRE has switched to Mercurial
Replies: 15
Views: 5131

It makes life much easier if artist can make checkout of fully workable current game version from svn(mercurial?), replace some art or look at the game state and can't touch the code folders at the same time :)
Seems that acl extension can help, but how to modify for using with windows?
by zet.dp.ua
Sat May 08, 2010 8:54 pm
Forum: Project Announcements
Topic: Irrlicht i18n (Unicode, FreeType, etc.)
Replies: 178
Views: 208513

Good work! Dictionary class is VERY useful in the game development process. This is "must have" class for every game developer.
by zet.dp.ua
Wed May 05, 2010 8:07 pm
Forum: Open Discussion and Dev Announcements
Topic: OGRE has switched to Mercurial
Replies: 15
Views: 5131

Does anybody know how to manage per folder access in mercurial? E.g. there are two groups: artists and programmers, and artists are not allowed to read code. Is it possible via hooks, system file permissions or subrepos?
by zet.dp.ua
Wed Mar 24, 2010 11:49 am
Forum: Advanced Help
Topic: Clipping 2d rendering
Replies: 3
Views: 759

I'm using clipping planes or scissors rect.
If device supports 4 clipping planes, you can emulate rectangular viewport. Scissors are not implemented in the engine, and not sure if it is supported by dx8 (opengl and dx9 support), but they are really helpful with opengles.
by zet.dp.ua
Fri Feb 26, 2010 1:46 pm
Forum: Code Snippets
Topic: XML Writer/Reader
Replies: 3
Views: 7574

Thanks.
SAX approach is the fastest, but DOM is the simplest for use.
by zet.dp.ua
Fri Feb 12, 2010 7:41 pm
Forum: Project Announcements
Topic: Irrlicht i18n (Unicode, FreeType, etc.)
Replies: 178
Views: 208513

Really good work, very useful!
by zet.dp.ua
Fri Feb 12, 2010 9:35 am
Forum: Project Announcements
Topic: Android Port
Replies: 383
Views: 208265

Write the game using c++ and use java layer only for handling system related operations (input, sensors, io, ...)
by zet.dp.ua
Thu Feb 11, 2010 1:42 pm
Forum: Project Announcements
Topic: Android Port
Replies: 383
Views: 208265

Re: Java API for Irrlicht

ellis2323 wrote:I suppose that i will use swig to generate java stub to pilot Irrlicht API.
JNI calls can possibly kill performance at all.