Search found 193 matches

by ibax
Sun Feb 02, 2014 12:23 pm
Forum: Beginners Help
Topic: Windows XP is indicated under Win7
Replies: 2
Views: 359

Windows XP is indicated under Win7

Hi all, I'm executing my irrlicht application under a Win7 64bit computer, but the console windows shows the following: (check the Microsoft Windows XP Professional Service Pack 3 (Build 2600) line) irrKlang 3D Sound Engine version 1.1.3 Loaded plugin: ikpmp3.dll Using DirectSound8 driver irrKlang 3...
by ibax
Mon Jan 13, 2014 4:56 pm
Forum: Beginners Help
Topic: Multithread image loading & loadScene()
Replies: 14
Views: 1361

Re: Multithread image loading & loadScene()

No, currently I'm not using multithreading. So it should work? If yes, what am I doing wrong? What else should I try? I tried everything you wrote... Isn't this enough to set? IImage* ThreadTexture1 = 0 ; IImage* ThreadTexture2 = 0 ; ...100+   ThreadTexture1 = device->getVideoDriver()->createImageFr...
by ibax
Sat Jan 11, 2014 1:22 pm
Forum: Beginners Help
Topic: Multithread image loading & loadScene()
Replies: 14
Views: 1361

Re: Multithread image loading & loadScene()

So this kind of stuff, what we were talking about, "the multithread image/texture loading and reusing it when loading .obj model" does not works in Irrlicht?
get a backtrace for it
What do you mean exactly?

Any other way to get faster texture loading (multithreading in another way)?
by ibax
Fri Jan 10, 2014 11:21 pm
Forum: Beginners Help
Topic: Multithread image loading & loadScene()
Replies: 14
Views: 1361

Re: Multithread image loading & loadScene()

Hi, I made the modifications: IImage* ThreadTexture1 = 0 ; IImage* ThreadTexture2 = 0 ; ...100+   ThreadTexture1 = device->getVideoDriver()->createImageFromFile( "texture1.jpg" ) ; ThreadTexture2 = device->getVideoDriver()->createImageFromFile( "texture2.jpg" ) ; ...100+   device...
by ibax
Fri Jan 10, 2014 12:04 pm
Forum: Beginners Help
Topic: Multithread image loading & loadScene()
Replies: 14
Views: 1361

Re: Multithread image loading & loadScene()

Ok, I got the point. So I should create 100+ different pointers, and use those names as a parameter in the addTexture() function call?
by ibax
Fri Jan 10, 2014 11:01 am
Forum: Beginners Help
Topic: Multithread image loading & loadScene()
Replies: 14
Views: 1361

Re: Multithread image loading & loadScene()

Hi, Thanks for the answer. First you add only the last image, but 100+ times with different names. Can you please describe this in more detail, sorry I did not get the main meaning. Texture1 and texture2 is just an example, I use the correct path in my code. Maybe the MTL file (which contains the te...
by ibax
Thu Jan 09, 2014 9:27 pm
Forum: Beginners Help
Topic: Multithread image loading & loadScene()
Replies: 14
Views: 1361

Re: Multithread image loading & loadScene()

hello, I tried the following (first without multithreading): IImage* ThreadTexture = 0; ThreadTexture = device->getVideoDriver()->createImageFromFile( "texture1.jpg" ) ; ThreadTexture = device->getVideoDriver()->createImageFromFile( "texture2.jpg" ) ; ThreadTexture = device->getV...
by ibax
Thu Jan 09, 2014 10:46 am
Forum: Beginners Help
Topic: Multithread image loading & loadScene()
Replies: 14
Views: 1361

Re: Multithread image loading & loadScene()

You should load images (IImage) from a separate thread createImageFromFile and create textures via addTexture in main Irrlicht thread. Even without PBO it works really well (streaming textures at runtime need PBO) on low end mobile devices if you do it properly. Hi, Thanks for your answer. So I hav...
by ibax
Wed Jan 08, 2014 10:32 pm
Forum: Beginners Help
Topic: Multithread image loading & loadScene()
Replies: 14
Views: 1361

Multithread image loading & loadScene()

Hello, My 3D model (created in Maya) uses many textures. When I load the scene with loadScene(), the texture loading process is long... I'm thinking about multithreading the image loading before the loadScene() function call... I tried to load the textures separately, one-by-one: device->getVideoDri...
by ibax
Thu Nov 21, 2013 10:29 am
Forum: Beginners Help
Topic: Image loading in separate threads
Replies: 6
Views: 510

Re: Image loading in separate threads

hi all thanks for comments... my current problem appears after the texture loading (I see in the console, that the texture was loaded!). when I reach my .irr file, the application crashes. I thought the application will skip the texture loading part and jump immediatelly to the .obj file loading par...
by ibax
Thu Nov 21, 2013 7:28 am
Forum: Beginners Help
Topic: Image loading in separate threads
Replies: 6
Views: 510

Re: Image loading in separate threads

it makes no sense that loading at the beginning is quicker than somewhere between

it could be quicker, if I multithread the processes... when loading from irr, it is not possible...
by ibax
Wed Nov 20, 2013 10:42 pm
Forum: Beginners Help
Topic: Image loading in separate threads
Replies: 6
Views: 510

Re: Image loading in separate threads

Hi, I try to be more specific and simplier... Is there a way to load the textures into the memory , and force irrlicht to search for them first instead of loading once again? So when my code reaches the .irr file loading (which means loading one .obj file and one .mtl file with all the 150 textures)...
by ibax
Sat Nov 16, 2013 12:33 pm
Forum: Beginners Help
Topic: Image loading in separate threads
Replies: 6
Views: 510

Image loading in separate threads

Hi, I'm dealing with image loading in separate threads... The initial conditions are the following: I have an .irr file, an .irrmesh file (size is approx. 50 MB), an .obj file and an .mtl file . house.irrmesh 58,824,784 bytes house.obj 23,417,887 bytes house.irr 1,433,932 bytes house.mtl 24,396 byte...
by ibax
Fri Nov 15, 2013 9:53 am
Forum: Everything 2d/3d Graphics
Topic: How to decrease texture loading time?
Replies: 54
Views: 11403

Re: How to decrease texture loading time?

I'm using Direct3D only.
by ibax
Fri Nov 15, 2013 9:36 am
Forum: Everything 2d/3d Graphics
Topic: How to decrease texture loading time?
Replies: 54
Views: 11403

Re: How to decrease texture loading time?

Hi, I'm still dealing with this stuff... So the initial conditions are the following: I have an .irr file, an .irrmesh file (size is approx. 50 MB), an .obj file and an .mtl file. house.irrmesh 58,824,784 bytes house.obj 23,417,887 bytes house.irr 1,433,932 bytes house.mtl 24,396 bytes The problem i...