|
|
SMP :: Notes
| Terrain, OctTree, etc |
char | February 11, 2008 9:20 PM |
The serialization system has been reworked. There's only a call to REGISTER_CLASS now, which adds a new Factory to a hash-table by classname. All Entities and Assets are derived from ObjectBase, which has tables for properties and pointer-references so that objects are easy to read/write to text files, automate template/archetyping, etc.
I also have a general terrain system going, which converts height-maps into meshes dynamically -- the idea is to support infinite view distance and continuous LOD.
The OctTree for all other types of collision and rendering is still mostly theoretical, but I think I have a pretty excellent plan. I wish I was getting paid, or at least school credit for it. |
| Worked on Serializable base class |
char | November 28, 2007 03:27 AM |
At some point over the last couple months also added the factory macros. DECALRE_CLASS goes at the bottom of the header, REGISTER_CLASS goes in RegisterGameClasses or RegisterEngineClasses, IMPLEMENT_CLASS goes in the cpp file.
Serialization uses the << operator, etc., but the classes themselves simply override the ToStream and FromStream methods.
Also got Boost installed and working, and that is used for basic file operations, like directory listings, etc. |
| Set up Subversion, and SSH / Tortoise stuff |
char | March 05, 2007 11:57 PM |
| Also reorganized the World::Update, added the basic Camera, expanded on Entity, and worked on some convex collision algorithms. |
| Started Entity, Volume, and Collision classes |
char | March 02, 2007 01:55 AM |
| Already wrote Mesh and ConvexMesh earlier in February. That includes the AddPoint method, EdgeBorderBuilder, etc (everything that goes with adding points dynamically to a convex mesh) |
|
|