Search found 16 matches

by samleo
Thu Sep 29, 2016 1:10 am
Forum: Beginners Help
Topic: How to make Model Batch?
Replies: 13
Views: 2649

Re: How to make Model Batch?

@CuteAlien, ops, your example is good, I'll study it. Thank you
by samleo
Thu Sep 29, 2016 12:46 am
Forum: Beginners Help
Topic: How to make Model Batch?
Replies: 13
Views: 2649

Re: How to make Model Batch?

@CuteAlien I see, just for simplicity I'll use cubes for tiles because it's a few cubes. CuteAlien, I have more one question: how should I use one scene node per cube? For example, for a map of 256x64, it's a good strategy use one scene node per cube? Sorry, I always think that I must use one scene ...
by samleo
Mon Sep 26, 2016 9:12 pm
Forum: Beginners Help
Topic: How to make Model Batch?
Replies: 13
Views: 2649

Re: How to make Model Batch?

Is that the mario with a 3d world or a side-scroller? Sorry for the delay. So, you imagine a array 2d of tiles, then each tile is a 3d block, it's the simplest map, this is for I learn about 3d with irrlicht. I came from 2d world with SDL2 and I'm trying to learn about 3d game dev. OFF: Which book ...
by samleo
Sun Sep 18, 2016 12:15 pm
Forum: Beginners Help
Topic: How to make Model Batch?
Replies: 13
Views: 2649

Re: How to make Model Batch?

@CuteAlien In fact, I'm making a game like super mario bros, just for learn irrlicht. So, I have a tile map, that will static, but how did you say, batching it's not a good solution. Ok, I'll search on forum later. @aaammmsterdddam Hum, even if I use batching, for my mario like, maybe is not bad, I ...
by samleo
Fri Sep 16, 2016 10:42 pm
Forum: Beginners Help
Topic: How to make Model Batch?
Replies: 13
Views: 2649

Re: How to make Model Batch?

Ok people, I just need make a big map of static cubes for a game. I think this is sufficient.
Thank you two again.
by samleo
Thu Sep 15, 2016 9:23 pm
Forum: Beginners Help
Topic: How to make Model Batch?
Replies: 13
Views: 2649

How to make Model Batch?

Hi, After long time I return from source code of hell... So, may someone give me a example of render a model using only one model or scene node? I searched on internet but I'm not having success. I need just one simple example, because I don't have any idea of how to do this in irrlicht. Someone in ...
by samleo
Mon Dec 07, 2015 1:37 pm
Forum: Beginners Help
Topic: Render many object with one scene node
Replies: 5
Views: 960

Re: Render many object with one scene node

Where I said that I'm making a minecraft like?
Just of block?
I'm making a voxels editor and not a game ¬¬
But thank you, I'll search for batching
by samleo
Mon Dec 07, 2015 12:01 am
Forum: Beginners Help
Topic: Render many object with one scene node
Replies: 5
Views: 960

Re: Render many object with one scene node

CuteAlien, can you give me a link where shows how to render many objects with just one scene node? If you don't know, so I'll search for another method to render blocks with low memory usage.
by samleo
Sun Dec 06, 2015 1:33 pm
Forum: Beginners Help
Topic: Render many object with one scene node
Replies: 5
Views: 960

Re: Render many object with one scene node

Helps if you post code what you tried, then it's easier to see what's going on. But usually when render is not called it's either because you did not register the node in OnRegisterSceneNode or it is clipped away because getBoundingBox returns the wrong values. You can avoid the bounding-box test c...
by samleo
Sun Dec 06, 2015 7:41 am
Forum: Beginners Help
Topic: Render many object with one scene node
Replies: 5
Views: 960

Render many object with one scene node

Well, I have a chunk made of a 3d array of int. Each int is a type of scene node, for example, I have 3 blocks scene nodes with type 1, 2, 3, when I go to render so I just render with that 3 scene nodes in different positions, like a 2d tile map. So, may anyone teach me how to render many objects wi...
by samleo
Wed Sep 02, 2015 2:02 am
Forum: Beginners Help
Topic: Create a custom cube
Replies: 6
Views: 1315

Re: Create a custom cube

Ops, problem of blue block solved. It needs just set the vertex colors to 255,255,255,255
Thank you.
by samleo
Tue Sep 01, 2015 9:20 pm
Forum: Beginners Help
Topic: Create a custom cube
Replies: 6
Views: 1315

Re: Create a custom cube

@CuteAlien
Ok, I think that I'll use IMesh and etc, just to learn more about 3d programming.
Oh, sorry, the block texture was this image:
Image
I don't know why the image stay blue.
by samleo
Mon Aug 31, 2015 3:05 am
Forum: Beginners Help
Topic: Create a custom cube
Replies: 6
Views: 1315

Re: Create a custom cube

Thanks you mongoose7 and CuteAlien! So, should I use an mesh like mongoose7 say? Is this better than like I did? And about the my Block class, I will need to modify the vertex of the Block, but only sometimes, so does is better the IMesh to this kind of thing? Oh, and I tried to put a texture on the...
by samleo
Sat Aug 29, 2015 11:29 pm
Forum: Beginners Help
Topic: Create a custom cube
Replies: 6
Views: 1315

Create a custom cube

Hi, I a new to 3d development and I have some questions. I'm trying to create a custom cube extended from ISceneNode, but it don't shows. Here my Block code:   #include "block.hpp" #include <stdio.h>   Block::Block (  ): ISceneNode(0,0,0) {     type = 0;     size = 0.0;     color = SColor(...
by samleo
Thu Aug 20, 2015 2:18 pm
Forum: Beginners Help
Topic: Skeletal Animation Editor
Replies: 2
Views: 591

Re: Skeletal Animation Editor

Ok, thanks!