|
Week 19
Raina3D Save Option
This is a feature that should've been implemented long ago. All entities can be saved in an xml format. Saving is performed using QFile's textstream rather than fstream. This provides for consistency in file handling. The current version has a "Save" and "Save As" option for saving Raina3D scenes.
Optimization I : QList
Improved model loading and rendering by converting STL's vector to Qt's QList data structure. Qt offers a variety of data structures, which provide for cleaner and more efficient data processing. I plan on converting all STL data structures into Qt's data structures.
Optimization II : OOP to Structs
The previous version stored vertex, texture, and normals in OOP inheritance using a variety of depth processing. During mesh processing and rendering, the system would be using a great deal of memory to determine the appropriate object and address. By making the vertex, texture, and normal into simple structs, their data can quicker access. Structs are ideal for these three data types because they are very simple data.
|