Search found 44 matches

by L o
Thu Aug 30, 2012 1:47 pm
Forum: Beginners Help
Topic: Running irrlicht's beginScene with differen threads?
Replies: 8
Views: 886

Re: Running irrlicht's beginScene with differen threads?

hendu wrote:beginScene with a NULL device does not make any sense...
We are using irrBullet for the server, and thus we thought we needed to use irrlicht, too. However, since it a server, we give irrlicht a null device. Does that make no sense?
by L o
Thu Aug 30, 2012 11:29 am
Forum: Beginners Help
Topic: Running irrlicht's beginScene with differen threads?
Replies: 8
Views: 886

Re: Running irrlicht's beginScene with differen threads?

If I use the NULL device on my application's server (which means no OpenGL), is it still then possible to handle beginScene() in different threads? After what has been said, it looks so, but can please someone guarantee?
by L o
Sat Aug 18, 2012 7:00 am
Forum: Beginners Help
Topic: Running irrlicht's beginScene with differen threads?
Replies: 8
Views: 886

Re: Running irrlicht's beginScene with differen threads?

Thanks! I believe you, but only for interest: Why isn't it possible? I have seen such issues with Qt and SDL aswell, but never found out what the reason was...
by L o
Sat Aug 18, 2012 6:03 am
Forum: Beginners Help
Topic: Running irrlicht's beginScene with differen threads?
Replies: 8
Views: 886

Running irrlicht's beginScene with differen threads?

Hello, is it possible to run beginScene() with thread 1, and then with another thread, named thread 2? Also, is it possible to do the initial setup, like createDevice(), with a different thread as I run beginScene() with? Here's a valgrind output:   ==11811== Thread 2: ==11811== Invalid read of size...
by L o
Mon May 16, 2011 5:59 am
Forum: Beginners Help
Topic: Issues with Mesh Loader in a game
Replies: 3
Views: 198

Hey, to be honest, it was me who wrote the loader. :lol: I remember trying to use the loader in that game my friend wrote. But loading failed with an assertion saying that the mesh needed to have a type of EAMT_SKINNED. So I replaced (in the loader) animatedmesh = new SAnimatedMesh(); with animatedm...
by L o
Sun May 15, 2011 4:36 pm
Forum: Beginners Help
Topic: Issues with Mesh Loader in a game
Replies: 3
Views: 198

Issues with Mesh Loader in a game

Hey, I tried to put my own level loader (it is named "ODFL loader") into one of a game a friend of mine wrote. Usually, ODFL loader loads the level with simple irrlicht test programs I wrote. However, with this game, it failed with a memory bug: ==16830== by 0x430A980: irr::scene::CAnimate...
by L o
Fri Jun 25, 2010 4:08 pm
Forum: Beginners Help
Topic: Dark Lightmaps in MeshLoader (Beginner Question)
Replies: 2
Views: 210

Dark Lightmaps in MeshLoader (Beginner Question)

Hi, I am working on a level format importer from a foreign format to irrlicht using an own MeshLoader. Now, it seems that I've done everything right, but the lightmaps I was given from the foreign format make the levels very dark. No wonder - when I extract them and watch the bitmaps in an image vie...
by L o
Sun May 16, 2010 3:48 pm
Forum: Beginners Help
Topic: Cannot access CImage in external meshloader
Replies: 5
Views: 394

Good idea :) Thank you so much!
by L o
Sun May 16, 2010 10:24 am
Forum: Beginners Help
Topic: Cannot access CImage in external meshloader
Replies: 5
Views: 394

Yeah, I know what you mean, but I have the data as an array of pixels. Now, As you say it, I will have to write those into a file (where I'll need to give them a header and all that information), to then load them from this file again into an IImage*? This would cause a large loss in runtime: imagin...
by L o
Sat May 15, 2010 8:09 pm
Forum: Beginners Help
Topic: Cannot access CImage in external meshloader
Replies: 5
Views: 394

Cannot access CImage in external meshloader

Hi, I need to access CImage in my external meshloader to build a texture of it. However, CImage is not in the Irrlicht include directory, but only in the internal sources. I can still compile it including the inner sources, and it does link on Linux. However, that should not be the way it is done? M...
by L o
Wed Feb 10, 2010 3:25 pm
Forum: Beginners Help
Topic: ISceneNodeAnimator already loadable in MeshLoader?
Replies: 9
Views: 434

Ok, so, does this mean, that I need to set animated textures (like GIFs) outside the MeshLoader?
by L o
Tue Feb 09, 2010 10:08 pm
Forum: Beginners Help
Topic: ISceneNodeAnimator already loadable in MeshLoader?
Replies: 9
Views: 434

Okay, but sorry I am asking again. How do I tell Irrlicht in the IMeshFileLoader that a texture shall be animated?
by L o
Tue Feb 09, 2010 2:54 pm
Forum: Beginners Help
Topic: ISceneNodeAnimator already loadable in MeshLoader?
Replies: 9
Views: 434

Thanks, but how do I then access the SceneNode? I tried to find a solution from other MeshFileLoaders, but found none.
by L o
Mon Feb 08, 2010 9:19 pm
Forum: Beginners Help
Topic: ISceneNodeAnimator already loadable in MeshLoader?
Replies: 9
Views: 434

Heya,

thanks a lot for this fast response... Still... I am not quite sure if any of those opportunities allow it to already load the whole animations in the IMeshLoader::createMesh(io::IReadFile* file); function. Do you have an idea? Is there any possibility?

Greets,
Lo
by L o
Mon Feb 08, 2010 1:11 pm
Forum: Beginners Help
Topic: ISceneNodeAnimator already loadable in MeshLoader?
Replies: 9
Views: 434

ISceneNodeAnimator already loadable in MeshLoader?

Hi there, I am developping a new map format which contains animated textures. I found this tutorial here: http://irrlicht.sourceforge.net/docu/example008.html However, the tutorial first calls the MeshLoader: scene::IAnimatedMesh* mesh = smgr->getMesh("../../media/room.3ds"); and then adds...