ItsMods

Full Version: [C# xna 4] 3d models or vertices array
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello everyone,

I'm trying to develop a mini 3d game to learn a bit of game development.
I want to make a minecraft like. (with less stuff of course)

In the game, i'll need to have a lot of cubes... so my question is, what is the best solution for the cubes:
Should i use a 3d models or vertices array like this example ?

(Sorry if "vertices" is not right in english, but i didn't find any translation)

Thx a lot!
if you have any tips for managing blocks, do not hesitate to tell me
(06-24-2013, 16:59)narkos Wrote: [ -> ]hello everyone,

I'm trying to develop a mini 3d game to learn a bit of game development.
I want to make a minecraft like. (with less stuff of course)

In the game, i'll need to have a lot of cubes... so my question is, what is the best solution for the cubes:
Should i use a 3d models or vertices array like this example ?

(Sorry if "vertices" is not right in english, but i didn't find any translation)

Thx a lot!
if you have any tips for managing blocks, do not hesitate to tell me

Use Vertices + Textures. Thats it for Cubes
Thank you for the answer, i'll use that Wink
You can try to use billboarding to render a lot of cubes.

Sorry for offtopic... but why coding on XNA 4 ? This project wasn't updated since 2010, i recommend you to switch to OpenGL ( c++ )
XNA is higher level and easier. He is just starting.
OpenGL would be too much for him.
I choosed xna because it was for C#, and it is very easy to learn.
I think i'll play with it to learn 3D game basics, then i'll skill up with C++ and OpenGL.

Thx for your answers guys.