Search found 5 matches

by WuZhenwei
Tue Aug 26, 2014 3:04 am
Forum: Everything 2d/3d Graphics
Topic: Support for 2D transform
Replies: 6
Views: 2827

Support for 2D transform

With current version of Irrlicht, it's quite difficult to rotate a 2D sprite. Although some developers have provided codes that can do this, it's still not very flexible. I think it would be better if irrlicht video driver supports setting a transform matrix in 2D mode. For example, IVideoDriver wil...
by WuZhenwei
Tue Aug 26, 2014 2:44 am
Forum: Code Snippets
Topic: CGUITTFFont reloaded
Replies: 19
Views: 4749

Re: CGUITTFFont reloaded

I love this class. It really helps a lot. Besides, I think it's quite easy to provide a `load' function with IReadFile object, to fit the irrlicht file system better. Would you please add that too? :)
by WuZhenwei
Fri Apr 18, 2014 12:05 pm
Forum: Beginners Help
Topic: Continue drawing when loading a lot of resources?
Replies: 3
Views: 349

Re: Continue drawing when loading a lot of resources?

Also I hope I can use a single method in all devices, and will not have any problems if I need to change to another one.
by WuZhenwei
Fri Apr 18, 2014 12:02 pm
Forum: Beginners Help
Topic: Continue drawing when loading a lot of resources?
Replies: 3
Views: 349

Re: Continue drawing when loading a lot of resources?

You can only do it if you separate the operations of loading the textures and of registering them with OpenGL. Oh, I see. In fact I thought maybe I can use OpenGL in two threads before. So do you mean I can't do this and should instead use 'createImageFromFile' and 'addTexture'? Thanks for your ans...
by WuZhenwei
Fri Apr 18, 2014 11:37 am
Forum: Beginners Help
Topic: Continue drawing when loading a lot of resources?
Replies: 3
Views: 349

Continue drawing when loading a lot of resources?

Hi I'm worried about (though haven't came across yet) the problem that the main loop will be blocked when loading a lot of textures at a same time (when starting the game). I think I should use multithread, but I noticed Irrlicht is not multithread safe. Also in another post (below) greenya said onl...