|
7 registered members (fairtrader, Quad, miwok, Martin_HH, AndrewAMD, alibaba, dpn),
581
guests, and 0
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: How to combine several meshes?
[Re: ratchet]
#371354
05/20/11 11:10
05/20/11 11:10
|
Joined: Sep 2004
Posts: 130 Italy
Alessandro
OP
Member
|
OP
Member
Joined: Sep 2004
Posts: 130
Italy
|
I create models ENTITY (3d models) at runtime, so I cannot merge them in 3D modelers. I can group meshes (small meshes, 16 or 32 units as bounding box per side) as "sectors" (meshes near to each other, located in the same area). It is static geometry.
EDIT: they are rocks in low-poly.
Last edited by Alessandro; 05/20/11 11:12.
|
|
|
Re: How to combine several meshes?
[Re: Alessandro]
#371360
05/20/11 12:10
05/20/11 12:10
|
Joined: Apr 2008
Posts: 2,488
ratchet
Expert
|
Expert
Joined: Apr 2008
Posts: 2,488
|
It looks like some Minecraft similar game using cubes. There is already a 3DGS thread talking about that sort of cubic world : Cube framework There are people using Ogre3D , Jmonkey engine that uses their own code for "Minecraft" like.
|
|
|
Re: How to combine several meshes?
[Re: ratchet]
#371362
05/20/11 12:14
05/20/11 12:14
|
Joined: Sep 2004
Posts: 130 Italy
Alessandro
OP
Member
|
OP
Member
Joined: Sep 2004
Posts: 130
Italy
|
It looks like some Minecraft similar game using cubes. There is already a 3DGS thread talking about that sort of cubic world : Cube framework There are people using Ogre3D , Jmonkey engine that uses their own code for "Minecraft" like. Yes I know what you said. But my question is still the same: is there any way to combine small meshes to decrease the number of draw-calls? Unity3D, for example, uses 2 methods: dynamic batching (automatically performed by the engine at runtime), and static batching (PRO version only :'( ) JME 3 (I know that engine) uses a geometry optimizer (even if I got not good results with it). But JME uses scenegraph, very useful in games like this.
|
|
|
Re: How to combine several meshes?
[Re: Alessandro]
#371367
05/20/11 13:44
05/20/11 13:44
|
Joined: Apr 2008
Posts: 2,488
ratchet
Expert
|
Expert
Joined: Apr 2008
Posts: 2,488
|
Well i'm not sure A8 can do that. Or you'll have to code a DLL for it yourself ? Even more i don't know if batching in real time will not slow the game ? I'm not strong programmer at all You should post your question in "Engine" thread, you'll have perhaps some answers ? Why not reading the manual also , all is in it about the engine.
|
|
|
Re: How to combine several meshes?
[Re: ratchet]
#371373
05/20/11 13:54
05/20/11 13:54
|
Joined: Sep 2004
Posts: 130 Italy
Alessandro
OP
Member
|
OP
Member
Joined: Sep 2004
Posts: 130
Italy
|
Well i'm not sure A8 can do that. Or you'll have to code a DLL for it yourself ? I hope there is a c-script to do that. You should post your question in "Engine" thread, you'll have perhaps some answers ? Ok, I do it. But is it a good idea duplicating the thread? Can JCL move this thread instead? Why not reading the manual also , all is in it about the engine. Done. There is nothing.
|
|
|
|