Search found 42 matches

by karx11erx
Sat Apr 26, 2008 9:23 am
Forum: Beginners Help
Topic: Irrlicht - how to create a scene from custom scene format?
Replies: 80
Views: 11156

Why not? If you are going to buy something, will you just get into the first shop and purchase whatever they have? No, you look around and compare. Irrlicht looked attractive from a technical point of view (I thought I could just throw all game elements at the engine and the geometry at its octree ...
by karx11erx
Fri Apr 25, 2008 12:41 pm
Forum: Beginners Help
Topic: Irrlicht - how to create a scene from custom scene format?
Replies: 80
Views: 11156

One more thing about the documentation: I have looked into Ogre recently, and it seems to have what Irrlicht is so sorely lacking. ;)

Might make me switch to Ogre.
by karx11erx
Sun Apr 13, 2008 6:50 pm
Forum: Beginners Help
Topic: Irrlicht - how to create a scene from custom scene format?
Replies: 80
Views: 11156

I could reduce the lights per vertex to 8 by preprocessing them and picking only those influencing the vertex most.

Of course you do not see all 130 lights at once. But just consider an intense multiplayer game with a lot of laser bolts flying around. Each bolt emits light, and not just a little. A ...
by karx11erx
Sat Apr 12, 2008 10:21 pm
Forum: Beginners Help
Topic: Irrlicht - how to create a scene from custom scene format?
Replies: 80
Views: 11156

The engine does some kind of portal culling already. I tried to have it gather all subsequent render calls of quads with the same texture and render them in one batch, but that failed to work, and I couldn't be bothered to investigate this at that time.
by karx11erx
Sat Apr 12, 2008 9:06 am
Forum: Beginners Help
Topic: Irrlicht - how to create a scene from custom scene format?
Replies: 80
Views: 11156

radiant,

Looks like you only read the last few posts here. I am not gonna repeat myself here, just so much: In a first step, I simply want Irrlicht to render a standard Descent 2 mine. The level loader is in the D2X-XL code, all I need to know is how to feed the scene manager with the mine geometry ...
by karx11erx
Fri Apr 11, 2008 8:35 pm
Forum: Beginners Help
Topic: Irrlicht - how to create a scene from custom scene format?
Replies: 80
Views: 11156

hybrid,

I don't need the API explained (again) to me, no worries, and I won't ask for that. I need info on what to do where, and when.

As I said, my first step is to render static geometry. The question is how to organize that. I know enough about OpenGL to understand that a mesh buffer containing ...
by karx11erx
Fri Apr 11, 2008 7:42 pm
Forum: Beginners Help
Topic: Irrlicht - how to create a scene from custom scene format?
Replies: 80
Views: 11156

I have seen the setTexture() method, but the API says nothing about when to use it.

It also says nothing about how to organize meshes in a good and efficient way so that the renderer would work as fast as possible. Currently I am creating a mesh buffer for each geometry quad, and that's probably ...
by karx11erx
Fri Apr 11, 2008 10:40 am
Forum: Beginners Help
Topic: Irrlicht - how to create a scene from custom scene format?
Replies: 80
Views: 11156

Thanks.

I have derived some code what I found in the STL loader, which is pretty straight forward.

The next two questions are:

What is the proper organization for all faces of the level's geometry? Should I create one mesh buffer per texture used in the level, even if the faces are far away from ...
by karx11erx
Thu Apr 10, 2008 8:43 pm
Forum: Beginners Help
Topic: Irrlicht - how to create a scene from custom scene format?
Replies: 80
Views: 11156

Well it's going to be more than a few lines of code...

And you won't have to dig through loads of code. Just look at source/irrlicht/C3DSMeshFileLoader.cpp which is how 3DS models are loaded. From that you should be able to see fairly clearly how you could about doing it yourself.
I looked into ...
by karx11erx
Sun Apr 06, 2008 11:47 pm
Forum: Beginners Help
Topic: Cannot find d3d8.h
Replies: 16
Views: 1689

Ironic enough that the search function doesn't yield a link. I wrote already that I don't need it though.
by karx11erx
Sun Apr 06, 2008 11:07 pm
Forum: Beginners Help
Topic: How to do frame rate independent mouse?
Replies: 31
Views: 3132

Well, after having taken another look at your code I think it should be "timeDiff / factor" and not the other way round.
by karx11erx
Sun Apr 06, 2008 10:52 pm
Forum: Beginners Help
Topic: Cannot find d3d8.h
Replies: 16
Views: 1689

roger,

you're a bit slow, aren't you? Show me where from Microsoft to download a DX*8* SDK. As I said: I didn't find one, and I tried MS's search function.
by karx11erx
Sun Apr 06, 2008 10:25 pm
Forum: Beginners Help
Topic: How to do frame rate independent mouse?
Replies: 31
Views: 3132

I was wrong anyway. I overlooked your using this m_LastAnimationTime var.
by karx11erx
Sun Apr 06, 2008 8:33 pm
Forum: Beginners Help
Topic: How to do frame rate independent mouse?
Replies: 31
Views: 3132

You need to make f_timeDiff static or it will be set to 0.0 everytime the function is called.
by karx11erx
Fri Apr 04, 2008 9:57 pm
Forum: Beginners Help
Topic: How to do frame rate independent mouse?
Replies: 31
Views: 3132

alexionne has pretty much given the solution. You need to scale the movement with the time that has passed between two subsequent samples of the mouse position.

Additionally it is a good idea to limit the number of mouse samples per second to 30 to 60. That helps to avoid problems due to numerical ...