Search found 5 matches

by pedrosal
Tue Apr 17, 2007 8:08 am
Forum: Beginners Help
Topic: C++ or .NET enviroment
Replies: 7
Views: 1124

I have done that same question a lot of times. Just some facts to help you decide by yourself:

.NET (C# included) is not interpreted. In an assembly it is stored in intermediate language. When required the IL is compiled into native code. You can optimize an assembly to a given CPU... the ...
by pedrosal
Wed Sep 21, 2005 8:53 am
Forum: Advanced Help
Topic: Generating maps and loading them on runtime
Replies: 2
Views: 465

Thanks pfo,

I will try to do as you say to test the concept. But imagine you want to be able to generate dinamic maps like the god old settlers. Have you ever played it? The only way I see to do that is by manipulating the detail map on runtime. Irrlicht has some good texture manipulation routines ...
by pedrosal
Wed Sep 21, 2005 8:15 am
Forum: Beginners Help
Topic: Update a model position
Replies: 5
Views: 365

Thanks.

I already was doing the update of lasttime in the constructor. About the rounding error resulting from separating the math in severall lines I will try your proposal.

But anyway the model does not move at all except when it loops the first time in the while(device->run()) loop :). So it ...
by pedrosal
Tue Sep 20, 2005 10:04 pm
Forum: Beginners Help
Topic: Update a model position
Replies: 5
Views: 365

Update a model position

Hello,

I'm having this very strange behaviour and I can't understand why...

I have a Unit class that uses a IAnimatedMeshSceneNode to represent the model. In my engine I call UpdateWorld to allow every unit to change its state according to the current action it is performing.

I set the velocity ...
by pedrosal
Tue Sep 20, 2005 2:38 pm
Forum: Advanced Help
Topic: Generating maps and loading them on runtime
Replies: 2
Views: 465

Generating maps and loading them on runtime

I posted this on Beginners also but I think it might be better here:

Hello,

I'm trying to find an algoritm to do this wit irrlicht:

1 - Have a binary 2d array on wich every position maps a world cell and the value of the byte indicates the type of terrain (Grass, land, rock).

2 - Have a bmp ...