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
Random thoughts from reading the patches:
- Perhaps it's time we switched the alpha channel to the way everyone else uses it.
- The render code really shouldn't use glBegin etc., those are deprecated and slow. Per-vertex processing should be done by shaders, users without them can live with inferior FoW and enjoy the speed increase.
- If you are sorting the triangles anyway, you don't need a depth buffer, do you?
- AdditionalRessourcesLoader::LoadTexture should use C4Surface::LoadAny. If the resulting surface needs more than one texture, the loader can still error out or resize the texture.

Now to compile and test the stuff :-)

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill