This is exactly what i did for my engine, I created a TFastObject which just alocates memory and sets up the VMT but that's it, the performance increase just by doing that was very significant. I also tested allocating 10000's obf objects in an array by pre allocating the memory using a Frame Memory manager, again the performance was significantly improved.Originally Posted by Sly
I tend to use records for things like verties and normals as they tend to be easier to pass into opengl, but I always use objects for my engine, but since I derived from my TFastObject things work allot faster![]()
Bookmarks