Not logged inOpenClonk Forum
Up Topic 3D mesh rendering

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to Günther

> Thing is that StdMeshInstance is only instantiated for each object that actually uses a mesh, not for _every_ object.


Which will mean a lot of objects.

> It currently duplicates all the vertex data already, by the way (for example to avoid sorting the faces when nothing changes from frame to frame).


And I think vertex data should be precalculated for all frames of all animations, and not recalculated all the time. Or, at least, not recalculated all the time on the CPU. If enough objects of a kind are in the game, that would even not cost much if any RAM. Okay, you trade video RAM for system RAM, but that is also a good thing.

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill