Search found 21 matches

by Elfinitiy
Fri Jul 08, 2011 1:56 pm
Forum: Beginners Help
Topic: Fast Cube Rendering
Replies: 8
Views: 1322

Re: Fast Cube Rendering

Thank you for the reply (:
by Elfinitiy
Fri Jul 08, 2011 1:53 pm
Forum: Beginners Help
Topic: Fast Cube Rendering
Replies: 8
Views: 1322

Re: Fast Cube Rendering

But will this option

Code: Select all

vdr->drawVertexPrimitiveList(verts,3,indices,3,video::E_VERTEX_TYPE::EVT_STANDARD,
                        scene::EPT_TRIANGLES);
Be as good for the purpose of making a Minecraft-like game ?
by Elfinitiy
Fri Jul 08, 2011 1:44 pm
Forum: Beginners Help
Topic: Fast Cube Rendering
Replies: 8
Views: 1322

Re: Fast Cube Rendering

The only answer i found is

Code: Select all

mesh batching
by Elfinitiy
Fri Jul 08, 2011 1:14 pm
Forum: Beginners Help
Topic: Fast Cube Rendering
Replies: 8
Views: 1322

Fast Cube Rendering

How to render cubes like in this game http://irrlicht.sourceforge.net/forum/viewtopic.php?f=6&t=40468&hilit=minetest.

What's the fastest way ?
I tried something like this
vdr->drawVertexPrimitiveList(verts,3,indices,3,video::E_VERTEX_TYPE::EVT_STANDARD,
scene::EPT_TRIANGLES);
but i don't know ...
by Elfinitiy
Thu Jun 30, 2011 3:14 pm
Forum: Beginners Help
Topic: Frame rate independent movement doesn't work?
Replies: 20
Views: 2237

Re: Frame rate independent movement doesn't work?

Didn't your compiler give an error because you assign values to a "const" at run-time ?
by Elfinitiy
Thu Jun 30, 2011 3:12 pm
Forum: Beginners Help
Topic: Placing on terrain
Replies: 7
Views: 470

Re: Placing on terrain

Well, it does not work automatically, but adding just two calls (one getHeight on the proper position and then the setPosition on the node with the new height) seems to be pretty easy. Why don't you use that?
Because when I think of something,I always know there has to be a better way.

Too bad ...
by Elfinitiy
Thu Jun 30, 2011 1:56 pm
Forum: Beginners Help
Topic: Placing on terrain
Replies: 7
Views: 470

Re: Placing on terrain

Like just specify x/z and it locates the y of the hill and places the model (tree for example) on top of it.
Something similar to
Attaching a weapon to the camera.
I don't locate the camera position and then set the weapon pos to camera.pos+weapon.pos,but specify the weapon position from the ...
by Elfinitiy
Thu Jun 30, 2011 1:40 pm
Forum: Beginners Help
Topic: Placing on terrain
Replies: 7
Views: 470

Re: Placing on terrain

This I know very well.
My question was,IS there another way like the one I mentioned earlier ?
by Elfinitiy
Thu Jun 30, 2011 1:17 pm
Forum: Beginners Help
Topic: Placing on terrain
Replies: 7
Views: 470

Placing on terrain

Ok so suppose I have a terrain from a heightmap and it has a hill.
How can i place a AnimatedMesh,without setting the y pos.
Like just specify x/z and it locates the y of the hill and places the model (tree for example) on top of it.
by Elfinitiy
Sun Jun 19, 2011 7:59 am
Forum: Beginners Help
Topic: Terrain Rendering
Replies: 6
Views: 571

Great Answer.
Thank you very much,this is what i needed.
by Elfinitiy
Sat Jun 18, 2011 5:22 pm
Forum: Beginners Help
Topic: Terrain Rendering
Replies: 6
Views: 571

Acki wrote:
Elfinitiy wrote:But how to calculate the middle of the terrain ?
trial and error !?
move camera around and print camera's position !?
calculate from terrain's position and size !?
Thants pretty much the first thing that comes to mind.
But its kinda hard to position in the right spot.
by Elfinitiy
Sat Jun 18, 2011 1:22 pm
Forum: Beginners Help
Topic: Terrain Rendering
Replies: 6
Views: 571

I know that they put me in the middle.
But how to calculate the middle of the terrain ?
by Elfinitiy
Sat Jun 18, 2011 12:02 pm
Forum: Beginners Help
Topic: Terrain Rendering
Replies: 6
Views: 571

Terrain Rendering

Ok so I followed this tutorial http://irrlicht.sourceforge.net/docu/example012.html
and my question is

Code: Select all

camera->setPosition(core::vector3df(2700*2,255*2,2600*2));
How did we get these values ?
by Elfinitiy
Mon May 30, 2011 4:13 pm
Forum: Game Programming
Topic: Networking System/Organization
Replies: 10
Views: 3478

http://developer.valvesoftware.com/wiki ... mpensation
Here's a very good example of Lag Compensation
by Elfinitiy
Thu May 26, 2011 5:03 pm
Forum: Game Programming
Topic: Networking Library
Replies: 20
Views: 7307

Thanks a lot for your answers.
I think i'l try RakNet.