]> git.xonotic.org Git - xonotic/darkplaces.git/commit
Add CL_MeshEntities_*, every frame in the client all MESH_ entities are added to...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 25 Mar 2018 19:58:39 +0000 (19:58 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 25 Mar 2018 19:58:39 +0000 (19:58 +0000)
commit2bac60709c4346c472301edf43d1723a72369450
tree9076483c510c78f5d48ef77653dde55f34a73bba
parent21d5a2cb164f12c5a56fbf1a4953306b7988071c
Add CL_MeshEntities_*, every frame in the client all MESH_ entities are added to the frame if they have any surfaces - surfaces can be created with Mod_Mesh_AddSurface and friends.  These entities have full material rendering support, which should allow reducing the number of special case renderable objects in the scene in future.

Add Mod_Mesh functions - these allow creation of dynamic mesh models.

Add Mod_LoadCustomMaterial which initializes a texture_t using a skinframe and some parameters, useful with Mod_Mesh and CL_MeshEntities.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12355 d7cf8633-e32d-0410-b094-e92efae38249
cl_main.c
client.h
host.c
model_shared.c
model_shared.h