| Segan Software Occlusion Culling 
 About SeganSOC
 How to use
 Functions and Procedures
 Downloads
 
 
 
 
 
 
 
   
 | 
                    
                        | All functions and procedures included in SeganSOC.dll are listed below: 
 SSOC_Mesh_Create : Create a Software Mesh and return a pointer to the object.
 
 SSOC_Mesh_Destroy : Destroy a Software Mesh by taking the pointer to the object.
 
 SSOC_Mesh_Lock : Remove all current triangles in the mesh and prepare it to receive new triangles.
 
 SSOC_Mesh_AddFace : Add a new triangle by taking tree vertices of.
 
 SSOC_Mesh_Simplify : Simplify to minimum faces by taking precision of simplification listed below:
 
 
                                    
                                        |  | SSOC_PRECISION_LOW : Use this parameter to weld vertices with low percision and high radius. ( Recommended ) |  
                                        |  | SSOC_PRECISION_HIGH : Use this parameter to weld vertices with high percision and low radius. |  SSOC_Mesh_Unlock : Store inserted triangles and prepare the mesh to test and drawing.
 
 SSOC_Mesh_ToBuffer : Serialize the mesh to buffer.
 
 SSOC_Mesh_FromBuffer : Deserialize mesh from buffer.
 
 SSOC_Mesh_Userdata_Set : Set a user data pointer for any purpose.
 
 SSOC_Mesh_Userdata_Get : Return user data pointer assinged by user.
 
 SSOC_Initialize : Initialize Software Renderer by taking width and height of surface buffer.
 
 SSOC_Finalize : Finalize Software Renderer and free allocated memory.
 
 SSOC_Matrix_World_Set : Set world matrix of pipline by taking pointer to an array of 16 floats containing the world matrix.
 
 SSOC_Matrix_World_Get : Get world matrix of pipline by getting pointer to an array of 16 floats containing the world matrix.
 
 SSOC_Matrix_View_Set : Set view matrix of pipline by taking pointer to an array of 16 floats containing the view matrix.
 
 SSOC_Matrix_View_Get : Get view matrix of pipline by getting pointer to an array of 16 floats containing the view matrix.
 
 SSOC_Matrix_Projection_Set : Set projection matrix of pipline by taking pointer to an array of 16 floats containing the projection matrix.
 
 SSOC_Matrix_Projection_Get : Get projection matrix of pipline by getting pointer to an array of 16 floats containing the projection matrix.
 
 SSOC_Option_Set : Use these Options and combination of them to define the behavior of Software Renderer:
 
 
                                    
                                        |  | SSOC_METHOD_AVERAGEZ : Instead of Z calculated for each pixel, the center triangle is used. |  
                                        |  | SSOC_METHOD_REALZ : In this method, the exact value of Z for each pixel is calculated. Therefore, This is most slower method of system. |  
                                        |  | SSOC_METHOD_AUTO : In this method, based on the triangle area and distance, the system is considered the appropriate method for drawing triangles. |  
                                        |  | SSOC_CULL_NONE : Back face of triangles will be draw in this method. |  
                                        |  | SSOC_IGNORE_HORIZONTAL : Triangles which are lie on the floor (horizontal triangles) will not draw. |  
                                        |  | SSOC_TEST_COUNT : The system will avoid continue of testing by finding first pixel visibility by default so use this option to get total pixels drawn. |  SSOC_Option_Get : Return the cuurent option.
 
 SSOC_Clear : Clear the back buffer surface.
 
 SSOC_Draw : Draw a Software Mesh by taking pointer to the mesh.
 
 SSOC_Test : Test a Software Mesh by taking pointer to the mesh.
 
 SSOC_Surface_Bits : Return pointer to the back buffer surface data.
 
 
 
 |  |