   Help about model
  Hi guys!I'm planning on making a game of tetris 3D.I was wondering how to make the blocks, because if I model the entire block (in the format .x), as will make him remove a piece of this block when completing a row?thanks :)   
  I think you answered your question.You'd basically have to model one uniform cube, and from that one mesh, you'd make up your different shapes.From there, it really depends how you're planning to implement your Tetris engine.   ;  How not thought of that before?! lolI think I understand what you mean, I would make a cube (.x) and starting his creat my block, right?can thus "eliminating" a part of it   ;  Yep.  That's right.I'm sure there's other implementations that you could go about doing the same thing, but that seems like the most logical thing to do.   ;  Thanks french_hustler :)how would the structure of this game? say, the order of classes, functions, ...sometime like that:http://www.gustavobarbieri.com.br/jogos/jogo/doc/a04.png   ;  I'm not sure.  If you think those objects are what you need and are able to implement them, then why not?You can take it as a starting point and modify it as you see it fit.   ;  Yes, yes. about it no problem.What I mean, is that I would like to know how to build the architecture of the game. for example, which should be placed in hearders, sources files, ...I think I expressed myself badly in the other topic, sorry   ;  Once again... that's up to you to decide how you want to implement it.That's the programmer's (or should I say the software designer's) job.   ;Quote:Original post by VitaliBRWhat I mean, is that I would like to know how to build the architecture of the game. for example, which should be placed in hearders, sources files, ...If you're still wondering about what goes in headers and source files, I would take a step back from 3D and concentrate on learning the proper way to construct C++ code. You're trying to run before learning how to walk, and it's going to make things very difficult.In general, class and function declarations will go in header files and the definitions thereof will go in source files. A good method is to give each class its own header/source file pair. Something like this:// Soldier.hclass Soldier{public:   void Shoot();};// Soldier.cppvoid Soldier::Shoot(){   // Do shooting stuff};  I know about that this,tell how to build a structure for a tetris game, the design before starting to do it, you know?   