]> 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)
committerRudolf Polzer <divVerent@xonotic.org>
Tue, 3 Apr 2018 13:37:07 +0000 (06:37 -0700)
commitf94d0332f2786609fbcddd1b9516e8d83d7c3eeb
tree9076483c510c78f5d48ef77653dde55f34a73bba
parentfc64981df559aafe9ebe54d08ddf0da4ee94f293
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
::stable-branch::merge=2bac60709c4346c472301edf43d1723a72369450
cl_main.c
client.h
host.c
model_shared.c
model_shared.h