Original Post
Class 3D_Object
{
texture textures[10];
primitive primitives[800];
};
Class Primitive
{
primitive_type type;
vector vectors[3];
};
This is obviously a very rough draft of my problem, but by now you should obviously be able to see where im going wrong. Each of my objects defined in this way will take an insane amount of memory (which is equal to the most complicated object I could possibly make).
Can anyone show me how I should define my classes so that they won''t take a constant amount of memory, and offer a description of your method and how it works so that I can understand?
~Vendayan