Search found 29 matches

by maitrelame2
Thu Oct 02, 2008 3:49 am
Forum: Advanced Help
Topic: VBO ITerrainSceneNode
Replies: 1
Views: 828

VBO ITerrainSceneNode

Hi, I am trying to find a way to use VBOs with ITerrainSceneNode, I tried to modify the sources but could not find a way to use them. I know that the TerrainMesh can be used to do so, but I can't get it to work proprely and I need the getHeight function (no smooth...) plus I can't find the TerrainMe...
by maitrelame2
Thu Aug 14, 2008 4:52 pm
Forum: Game Programming
Topic: Network game, sending player positions.
Replies: 9
Views: 3129

I am using the system's API (posix and winsock)
by maitrelame2
Wed Aug 13, 2008 2:07 pm
Forum: Game Programming
Topic: Network game, sending player positions.
Replies: 9
Views: 3129

Thanks for your answer ! I got all the information I need to keep going. But I have another question : Is it better to have 3 threads per client (server side) or only 1 thread. For the 3 thread design (my new one) I have : -1 thread send -1 thread recv -1 thread treat The 3 threads are members of th...
by maitrelame2
Wed Aug 13, 2008 11:11 am
Forum: Advanced Help
Topic: managing huge map
Replies: 6
Views: 833

Just like my terrain engine ^^ I guess it would be much easier to use a terrain Scene Node to do so, because a mesh is an unique entity and if you load the whole huge mesh at once you are going to have a really large amount of ram full and your render will be slow. You should split the map into smal...
by maitrelame2
Wed Aug 13, 2008 11:03 am
Forum: Game Programming
Topic: Network game, sending player positions.
Replies: 9
Views: 3129

Thanks for your answers. How your world is spatially partitioned. I don't really get what you mean. If you mean area and zones I use a virtual grid (see the snipets Terrain Engine for more info). * How frequently you expect the state of mobiles (players and NPCs) to change. I am trying to make a nex...
by maitrelame2
Wed Aug 13, 2008 9:28 am
Forum: Game Programming
Topic: Network game, sending player positions.
Replies: 9
Views: 3129

Network game, sending player positions.

Hi everyone, I am trying to make an mmorpg (yes i know i am crazy), we can chat and all but i am having issues with player positions. I really don't know how to send player positions from server to client. My idea was to make a singleton that contains a vector of every player id and a map with the p...
by maitrelame2
Tue Aug 12, 2008 2:54 pm
Forum: Code Snippets
Topic: Terrain engine
Replies: 4
Views: 2920

I got it working, made my own collision fonction ^^
by maitrelame2
Tue Aug 12, 2008 10:51 am
Forum: Code Snippets
Topic: Terrain engine
Replies: 4
Views: 2920

When I try to remove the heightmap texture it just crashes, because the memory seems to be freed before. I don't know where the leak comes from. I will try to delete the selector maybe it comes from there ? And it's 5mb per level loaded. EDIT : I can't get the collisions working correctly... Is that...
by maitrelame2
Tue Aug 12, 2008 9:47 am
Forum: Code Snippets
Topic: Terrain engine
Replies: 4
Views: 2920

Terrain engine

Hi, I have been trying to find an easy to use terrain engine but couldn't find one so i made one. It works wit 256x256 heightmaps. (You can adapt it to 128x128... by using the ratio 240/256 for the size but we will get to it later). Basically the engine is going to make a virtual grid : http://unrea...
by maitrelame2
Sat Aug 09, 2008 7:59 pm
Forum: Beginners Help
Topic: setAutoScrollEnabled aint working
Replies: 1
Views: 263

Made my own function.
by maitrelame2
Thu Aug 07, 2008 4:02 pm
Forum: Beginners Help
Topic: setAutoScrollEnabled aint working
Replies: 1
Views: 263

setAutoScrollEnabled aint working

Hi,

I am using listbox to make a chat box, but even with setAutoScrollEnabled(true); the autoscrolling does not work...

Thanks.
by maitrelame2
Thu Jul 31, 2008 5:49 pm
Forum: Code Snippets
Topic: New GUI skin [update: new skins, support for 1.5/1.6]
Replies: 112
Views: 75759

How do you change the arrows for a list box ?

Thanks for the good work
by maitrelame2
Thu Jul 31, 2008 2:31 pm
Forum: Advanced Help
Topic: Shaders how do i use it ?
Replies: 7
Views: 982

Shaders how do i use it ?

Hi, I was looking for a celshader and found : http://www.coniserver.net/wiki/index.php/Simple_Toon_Shader_New But I really don't get how to use it... I think the shader was made for an other program but I am sure there is a way to use it in irrlicht... I tried the official tutorials and still I don'...
by maitrelame2
Sun Aug 26, 2007 4:54 pm
Forum: Advanced Help
Topic: How to get the collided mesh ?
Replies: 3
Views: 756

Thanks.

Actually I guess It's gonna be hard to use this method because the collision are calculating inside the server so that nobody can hack.

Which method would be better?

I guess getCollisionPoint would be efficient but I never used it so I don't know how it does work.

maitrelame2
by maitrelame2
Sat Aug 25, 2007 11:53 am
Forum: Advanced Help
Topic: How to get the collided mesh ?
Replies: 3
Views: 756

How to get the collided mesh ?

Hi !

I am trying to create a FPS but when my bullet collide a mesh I would like to know which mesh it was so I can decrease his health !

How could I know which mesh has been collide.
I use ITriangleSelector.

Maybe It's not a good thing?

Thanks