Search found 9 matches

by fanaticguy
Fri Mar 24, 2017 7:26 am
Forum: Beginners Help
Topic: Performance improvement for single mesh
Replies: 4
Views: 792

Re: Performance improvement for single mesh

Except oclussion culling, static mapping, and other algorithms like greedy meshing are there any other ways? I just want to know if I already hit the cap without 'extern' algorithms.
by fanaticguy
Thu Mar 23, 2017 8:47 pm
Forum: Beginners Help
Topic: Performance improvement for single mesh
Replies: 4
Views: 792

Performance improvement for single mesh

I have a question that came from my curiosity and maybe future improvements. Is there a way to improve performance of drawing a single mesh with a lot of meshbuffers for example like 5000?
by fanaticguy
Mon Mar 06, 2017 2:01 pm
Forum: Beginners Help
Topic: Strange behaviour with mesh(white textures, missing vertices
Replies: 2
Views: 455

Strange behaviour with mesh(white textures, missing vertices

Hi. Today i encountered some strange behaviour with one of the meshes. Just take a look at the atttached picture. Debug info is visible. One of "towers" have missing cubes and textures. All of them are separate meshes, created in the same way, but with offseted vertices. http://i.imgur.com...
by fanaticguy
Sat Mar 04, 2017 4:15 pm
Forum: Beginners Help
Topic: Append for CDynamicMeshBuffer not working(?)
Replies: 4
Views: 736

Re: Append for CDynamicMeshBuffer not working(?)

If i recall correctly, you still can use append with vertices and indices directly, and works as expected. Yeah, I tried this. It works, but in that case there is no option to set Material for separate "buffers". Btw i'm searching for a way to concatenate a lot of meshbuffers with only fe...
by fanaticguy
Sat Mar 04, 2017 1:40 pm
Forum: Beginners Help
Topic: Append for CDynamicMeshBuffer not working(?)
Replies: 4
Views: 736

Append for CDynamicMeshBuffer not working(?)

After executing code which is listed below i got following output in console: "24 0". mesh_buffers is std::vector<CDynamicMeshBuffer*> and buffer_side is CDynamicMeshBuffer*. Am I doing something wrong or this append method does not work? Of course this is not the only reason that i though...
by fanaticguy
Thu Feb 23, 2017 1:13 pm
Forum: Beginners Help
Topic: Overlay texture in Material
Replies: 2
Views: 469

Overlay texture in Material

Basically, what i want to do is render one texture with alpha channel over another in the same Material something like on the snippet below. But in that case i have my overlay texture displayed with black color in places where there should be transparent. So i added buffer_side->Material.MaterialTyp...
by fanaticguy
Sun Feb 19, 2017 3:17 pm
Forum: Beginners Help
Topic: [RESOLVED]Minecraft alike game in Irrlicht
Replies: 6
Views: 2603

Re: Minecraft alike game in Irrlicht

Thanks for an answer. Is creating a new SMesh object and appending it with meshbuffers a way to go?
by fanaticguy
Sat Feb 18, 2017 3:57 pm
Forum: Beginners Help
Topic: [RESOLVED]Minecraft alike game in Irrlicht
Replies: 6
Views: 2603

[RESOLVED]Minecraft alike game in Irrlicht

Hi. I would like to create Minecraft alike game in Irrlich. Im not good in 3D graphics yet so i would like your advice. How should i efficiently draw a lot of cubes to get a high performance? At now I'm doing something like on the code below. This code renders 8000 cubes and gives me 24 FPS so this ...