1 registered members (3s05bmmc),
740
guests, and 4
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Let's Play Minecraft!
[Re: achaziel]
#342638
09/29/10 19:29
09/29/10 19:29
|
Joined: May 2002
Posts: 7,441
ventilator
Senior Expert
|
Senior Expert
Joined: May 2002
Posts: 7,441
|
this is my experiment. 128x128x128 blocks, 8x8x8 entities, ~20fps. if i move to the middle of the scene i get 50-100 fps. my graphics card is quite slow (radeon 5400) and i guess with this random distribution almost no faces can be removed. with a typical landscape a lot less faces would be necessary but i don't know how yet how to generate landscapes. edit: i forgot to mention that this is a7 since a8 seems to have a bug with setting meshes. maybe a8 would be a bit faster?
|
|
|
Re: Let's Play Minecraft!
[Re: ventilator]
#342647
09/29/10 20:14
09/29/10 20:14
|
Joined: Oct 2007
Posts: 5,210 Ä°stanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,210
Ä°stanbul, Turkey
|
i got the game. does current multiplayer thing work? alot of people has the game i see, we could try stuff together.
Last edited by Quadraxas; 09/29/10 20:17.
3333333333
|
|
|
Re: Let's Play Minecraft!
[Re: Damocles_]
#342654
09/29/10 21:46
09/29/10 21:46
|
Joined: Jul 2009
Posts: 1,198 Berlin, Germany
Liamissimo
Serious User
|
Serious User
Joined: Jul 2009
Posts: 1,198
Berlin, Germany
|
hey, I cant connect to you now, it crashes, but I were on your server before...still trying it
"Ich weiss nicht genau, was Sie vorhaben, aber Sie können keine Triggerzonen durch Ihr Level kullern lassen." -JCL, 2011
|
|
|
Re: Let's Play Minecraft!
[Re: Joozey]
#342655
09/29/10 21:49
09/29/10 21:49
|
Joined: May 2002
Posts: 7,441
ventilator
Senior Expert
|
Senior Expert
Joined: May 2002
Posts: 7,441
|
char voxels[128][128][128]; i store the voxels like that and then i create 8x8x8 entities that contain 16x16x16 blocks in their mesh. http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=342595#Post342595the mesh gets generated like in this example. by checking the voxel data it's easy to just create faces for the actual surface area. later if editing gets added it's only necessary to recreate the mesh of the entity you are located in. not the whole world. so it should be fast enough. from what i have read on the ogre and gamedev forums this is very similar to how the minecraft engine works. it still would be a lot of work though. i don't know how to calculate landscapes (i would have to look into noise functions and such things), a8 seems to have a bug with ent_setmesh() and it's a bit stupid that you can't freely assign textures to faces in the engine. as a workaround you have to prepare a dummy model in med that already contains all the needed block textures and has each of them applied to at least one face. only then the attribute buffer works if you substitute the mesh.
|
|
|
|