![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
describes the textures to use on a range of triangles in the model, and mins/maxs (AABB) for culling. More...
#include <model_shared.h>
Data Fields | |
| struct rtexture_s * | deluxemaptexture |
| the lighting direction texture fragment to use on the rendering mesh | |
| struct q3deffect_s * | effect |
| fog volume info in q3bsp | |
| qbool | included |
| msurface_lightmapinfo_t * | lightmapinfo |
| lightmaptexture rebuild information not used in q3bsp | |
| struct rtexture_s * | lightmaptexture |
| the lightmap texture fragment to use on the rendering mesh | |
| vec3_t | maxs |
| vec3_t | mins |
| bounding box for onscreen checks | |
| int | num_collisiontriangles |
| int | num_collisionvertices |
| int | num_firstcollisiontriangle |
| mesh information for collisions (only used by q3bsp curves) | |
| int | num_firsttriangle |
| int | num_firstvertex |
| int | num_triangles |
| range of triangles and vertices in model->surfmesh | |
| int | num_vertices |
| texture_t * | texture |
| the texture to use on the surface | |
describes the textures to use on a range of triangles in the model, and mins/maxs (AABB) for culling.
Definition at line 377 of file model_shared.h.
| struct rtexture_s* msurface_t::deluxemaptexture |
the lighting direction texture fragment to use on the rendering mesh
Definition at line 390 of file model_shared.h.
Referenced by Mod_GenerateLightmaps_CreateLightmaps(), Mod_GenerateLightmaps_DestroyLightmaps(), Mod_Q1BSP_LoadFaces(), Mod_Q3BSP_LoadFaces(), Mod_VBSP_LoadFaces(), R_BuildLightMap(), R_DrawSurface_TransparentCallback(), and R_QueueModelSurfaceList().
| struct q3deffect_s* msurface_t::effect |
fog volume info in q3bsp
Definition at line 401 of file model_shared.h.
Referenced by Mod_Q3BSP_LoadFaces().
| qbool msurface_t::included |
Definition at line 409 of file model_shared.h.
| msurface_lightmapinfo_t* msurface_t::lightmapinfo |
lightmaptexture rebuild information not used in q3bsp
Definition at line 399 of file model_shared.h.
Referenced by Mod_BSP_LightPoint_RecursiveBSPNode(), Mod_GenerateLightmaps_CreateLightmaps(), mod_newmap(), Mod_Q1BSP_Load(), Mod_Q1BSP_LoadFaces(), Mod_Q2BSP_Load(), Mod_VBSP_LoadFaces(), R_BuildLightMap(), R_StainNode(), and RSurf_PrepareVerticesForBatch().
| struct rtexture_s* msurface_t::lightmaptexture |
the lightmap texture fragment to use on the rendering mesh
Definition at line 388 of file model_shared.h.
Referenced by Mod_GenerateLightmaps_CreateLightmaps(), Mod_GenerateLightmaps_DestroyLightmaps(), Mod_Q1BSP_LoadFaces(), Mod_Q3BSP_LoadFaces(), Mod_VBSP_LoadFaces(), R_BuildLightMap(), R_DrawSurface_TransparentCallback(), and R_QueueModelSurfaceList().
| vec3_t msurface_t::maxs |
Definition at line 396 of file model_shared.h.
Referenced by Mod_GenerateLightmaps_CreateLights_ComputeSVBSP_InsertSurfaces(), Mod_Mesh_IndexForVertex(), Mod_OBJ_Load(), Mod_Q1BSP_AssignNoShadowSkySurfaces(), Mod_Q1BSP_LoadFaces(), Mod_Q3BSP_LoadFaces(), Mod_VBSP_LoadFaces(), Portal_RecursiveFlow(), R_DecalSystem_SplatEntity(), R_Mod_CompileShadowMap(), R_Mod_DrawLight(), R_Mod_DrawShadowMap(), R_ProcessTransparentTextureSurfaceList(), R_Q1BSP_RecursiveGetLightInfo_BSP(), R_Shadow_DrawLightShadowMaps(), R_View_WorldVisibility_CullSurfaces(), and VM_getsurfacenearpoint().
| vec3_t msurface_t::mins |
bounding box for onscreen checks
Definition at line 395 of file model_shared.h.
Referenced by Mod_GenerateLightmaps_CreateLights_ComputeSVBSP_InsertSurfaces(), Mod_Mesh_IndexForVertex(), Mod_OBJ_Load(), Mod_Q1BSP_AssignNoShadowSkySurfaces(), Mod_Q1BSP_LoadFaces(), Mod_Q3BSP_LoadFaces(), Mod_VBSP_LoadFaces(), Portal_RecursiveFlow(), R_DecalSystem_SplatEntity(), R_Mod_CompileShadowMap(), R_Mod_DrawLight(), R_Mod_DrawShadowMap(), R_ProcessTransparentTextureSurfaceList(), R_Q1BSP_RecursiveGetLightInfo_BSP(), R_Shadow_DrawLightShadowMaps(), R_View_WorldVisibility_CullSurfaces(), and VM_getsurfacenearpoint().
| int msurface_t::num_collisiontriangles |
Definition at line 405 of file model_shared.h.
Referenced by Mod_BSP_LoadNodes_RecursiveSetParent(), and Mod_Q3BSP_LoadFaces().
| int msurface_t::num_collisionvertices |
Definition at line 406 of file model_shared.h.
Referenced by Mod_Q3BSP_LoadFaces().
| int msurface_t::num_firstcollisiontriangle |
mesh information for collisions (only used by q3bsp curves)
Definition at line 404 of file model_shared.h.
Referenced by Mod_MakeCollisionBIH(), and Mod_Q3BSP_LoadFaces().
| int msurface_t::num_firsttriangle |
Definition at line 381 of file model_shared.h.
Referenced by clippointtosurface(), Mod_BSP_FindNonSolidLocation_r_Triangle(), Mod_CreateCollisionMesh(), Mod_DARKPLACESMODEL_Load(), Mod_Decompile_OBJ(), Mod_Decompile_SMD(), Mod_GenerateLightmaps_CreateLightmaps(), Mod_GenerateLightmaps_CreateLights_ComputeSVBSP_InsertSurfaces(), Mod_GenerateLightmaps_CreateTriangleInformation(), Mod_GenerateLightmaps_UnweldTriangles(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_MakeCollisionBIH(), Mod_MDLMD2MD3_TraceBox(), Mod_MDLMD2MD3_TraceLine(), Mod_Mesh_AddSurface(), Mod_Mesh_Validate(), Mod_OBJ_Load(), Mod_Q1BSP_LoadFaces(), Mod_Q3BSP_LoadFaces(), Mod_VBSP_LoadFaces(), Mod_ZYMOTICMODEL_Load(), Portal_RecursiveFlow(), R_DecalSystem_SplatEntity(), R_DrawCustomSurface_Texture(), R_Mod_CompileShadowMap(), R_Q1BSP_RecursiveGetLightInfo_BSP(), RSurf_DrawBatch(), RSurf_PrepareVerticesForBatch(), VM_CL_R_PolygonEnd(), and VM_getsurfacetriangle().
| int msurface_t::num_firstvertex |
Definition at line 383 of file model_shared.h.
Referenced by Mod_DARKPLACESMODEL_Load(), Mod_GenerateLightmaps_UnweldTriangles(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_Mesh_AddSurface(), Mod_Mesh_IndexForVertex(), Mod_Mesh_Validate(), Mod_OBJ_Load(), Mod_Q1BSP_AssignNoShadowSkySurfaces(), Mod_Q1BSP_LoadFaces(), Mod_Q1BSP_TraceLineAgainstSurfacesFindTextureOnNode(), Mod_Q3BSP_Load(), Mod_Q3BSP_LoadFaces(), Mod_VBSP_LoadFaces(), Mod_ZYMOTICMODEL_Load(), R_DrawCustomSurface_Texture(), RSurf_DrawBatch(), RSurf_PrepareVerticesForBatch(), VM_CL_R_PolygonEnd(), VM_getsurfacenormal(), VM_getsurfacepoint(), VM_getsurfacepointattribute(), and VM_getsurfacetriangle().
| int msurface_t::num_triangles |
range of triangles and vertices in model->surfmesh
Definition at line 380 of file model_shared.h.
Referenced by Mod_BSP_FindNonSolidLocation_r_Leaf(), Mod_CreateCollisionMesh(), Mod_DARKPLACESMODEL_Load(), Mod_Decompile_OBJ(), Mod_GenerateLightmaps_CreateLightmaps(), Mod_GenerateLightmaps_CreateTriangleInformation(), Mod_GenerateLightmaps_UnweldTriangles(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_MDLMD2MD3_TraceBox(), Mod_MDLMD2MD3_TraceLine(), Mod_Mesh_AddTriangle(), Mod_Mesh_Validate(), Mod_OBJ_Load(), Mod_Q1BSP_LoadFaces(), Mod_Q3BSP_LoadFaces(), Mod_VBSP_LoadFaces(), Mod_ZYMOTICMODEL_Load(), Portal_RecursiveFlow(), R_DecalSystem_SplatEntity(), R_DrawCustomSurface_Texture(), R_DrawDebugModel(), R_Mod_CompileShadowMap(), R_Mod_DrawShadowMap(), RSurf_DrawBatch(), RSurf_PrepareVerticesForBatch(), VM_CL_R_PolygonEnd(), VM_getsurfacenumtriangles(), and VM_getsurfacetriangle().
| int msurface_t::num_vertices |
Definition at line 382 of file model_shared.h.
Referenced by Mod_DARKPLACESMODEL_Load(), Mod_Decompile_OBJ(), Mod_GenerateLightmaps_UnweldTriangles(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_Mesh_IndexForVertex(), Mod_Mesh_Validate(), Mod_OBJ_Load(), Mod_Q1BSP_LoadFaces(), Mod_Q1BSP_TraceLineAgainstSurfacesFindTextureOnNode(), Mod_Q3BSP_Load(), Mod_Q3BSP_LoadFaces(), Mod_VBSP_LoadFaces(), Mod_ZYMOTICMODEL_Load(), R_DrawCustomSurface_Texture(), R_DrawTextureSurfaceList_ShowSurfaces(), RSurf_DrawBatch(), RSurf_PrepareVerticesForBatch(), VM_CL_R_PolygonEnd(), VM_getsurfacenumpoints(), VM_getsurfacepoint(), and VM_getsurfacepointattribute().
| texture_t* msurface_t::texture |
the texture to use on the surface
Definition at line 386 of file model_shared.h.
Referenced by Mod_BSP_FindNonSolidLocation_r_Leaf(), Mod_BSP_LightPoint_RecursiveBSPNode(), Mod_BSP_LoadNodes_RecursiveSetParent(), Mod_CreateCollisionMesh(), Mod_DARKPLACESMODEL_Load(), Mod_Decompile_OBJ(), Mod_Decompile_SMD(), Mod_GenerateLightmaps_CreateLights_ComputeSVBSP_InsertSurfaces(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_MakeCollisionBIH(), Mod_MDLMD2MD3_TraceBox(), Mod_MDLMD2MD3_TraceLine(), Mod_Mesh_AddSurface(), Mod_OBJ_Load(), Mod_Q1BSP_AssignNoShadowSkySurfaces(), Mod_Q1BSP_LoadFaces(), Mod_Q1BSP_TraceLineAgainstSurfacesFindTextureOnNode(), Mod_Q3BSP_LoadFaces(), Mod_VBSP_LoadFaces(), Mod_ZYMOTICMODEL_Load(), R_DecalSystem_SplatEntity(), R_DrawCustomSurface_Texture(), R_DrawDebugModel(), R_DrawSurface_TransparentCallback(), R_Mod_CompileShadowMap(), R_Mod_DrawLight(), R_Mod_DrawShadowMap(), R_Q1BSP_DrawLight_TransparentCallback(), R_Q1BSP_GetLightInfo_comparefunc(), R_Q1BSP_RecursiveGetLightInfo_BIH(), R_Q1BSP_RecursiveGetLightInfo_BSP(), R_QueueModelSurfaceList(), R_Water_AddWaterPlane(), and VM_getsurfacetexture().