Search found 3 matches

by frc
Sat Aug 13, 2011 2:01 am
Forum: Beginners Help
Topic: low fps when create many cubes
Replies: 7
Views: 1442

Re: low fps when create many cubes

@Radikalizm
thanks for the advice.. I've thought about it, but i dont need map generation in realtime..
you think it is still too complicated? thank you again.

@Lonesome Ducky
ok, thanks =]
by frc
Sat Aug 13, 2011 12:53 am
Forum: Beginners Help
Topic: low fps when create many cubes
Replies: 7
Views: 1442

Re: low fps when create many cubes

yea, i am making something like minecraft, but not all... :)

and i put the mesh combiner to the code, resulted on this:

no mesh combiner:
http://ariespowered.com/old/no_mesh.bmp

with mesh combiner:
http://ariespowered.com/old/with_mesh.bmp
i dont know yet why the cubes are losing details ...
by frc
Fri Aug 12, 2011 10:17 pm
Forum: Beginners Help
Topic: low fps when create many cubes
Replies: 7
Views: 1442

low fps when create many cubes

first, i tried create cubes using addCubeSceneNode:

// creating block
ISceneNode * block = smgr->addCubeSceneNode(
size, // size
0, // dad
id, // id
pos, // pos
core::vector3df(0, 0, 0), // rot
core::vector3df(1.0f, 1.0f, 1.0f) // scale
);

// settings
block->setMaterialTexture(0 ...