Technical information
Reference of IVCON class methods:
- IVCONV class constructor;
- READ reads file of given name, clearing all previous data;
- APPEND appends file of given name to previously read data;
- WRITE writes all scene data into specified file;
- GET_FACES_COUNT returns value of protected variable face_num;
- FACE_PRINT prints information about a face;
- DATA_REPORT shows report about 3D data in current scene;
- DATA_INIT inits variables and clears any stored scene data;
- FACE_TO_LINE converts faces to lines (required for some formats);
- FACE_SUBSET replaces scene with a subset of faces;
- REVERSE_NORMALS reverses normal vectors direction;
- REVERSE_FACES reverses all faces direction;
- FACE_REVERSE_ORDER reverses face order (first becomes last);
- REDUCE_FACE_ORDER divides faces to smaller ones and reduces maximum face order;
- SCALE scales the whole scene;
- RECOMPUTE_NORMALS recomputes normals in faces and vertices;
- RENAME_MESHES renames meshes into given pattern
- INIT_PROGRAM_DATA inits variables;
- DATA_WRITE writes scene data; gets filename from internal variable;
- DATA_READ reads scene data; gets filename from internal variable;
- IS_BINARY_FORMAT returns true if a file type is binary, false if it is text format;
- MAKE_DEFAULT_NAME_PREFIX Sets the prefix of default mesh/texture text names, using input file name
- LINE_VERTICES_TO_SHAPE_COORDS converts line vertices (returned by some format readers) to shape coords;
- SHAPE_COORDS_TO_LINE_VERTICES converts shape coords to line vertices; required by some format writers;
- REDUCE_ITEM_NUMBERS erases elements from all arrays to make them smaller than max_num;
- FACE_AREA_SET computes and sets areas of faces;
- FACE_COPY copies a face into another index;
- FIND_IDENTICAL_VERTEX searches for vertex identical to vert, returnes its index in vert_idx if found;
- GET_MESH_VERTICES analyzes mesh and return its number of faces, number of vertices and the vertex indexes array;
- GET_FREE_VERTICES analyzes all faces and returnes array of unassigned vertices;
- MATERIALS_FIXUPS assigns materials to objects that do not have a valid one;
- GET_MATERIAL_INDEX returns index of the material with given name, or -1 on error;
- GET_MATERIAL_INDEX_OR_CREATE returns index of the material with given name, or creates new material with this name;
- FACE_MATERIALS_TO_INDEXES converts face materials names (returned by some format readers) to material indexes;
- FACE_TO_VERTEX_MATERIAL converts materials from faces to vertices;
- VERTEX_TO_FACE_MATERIAL converts materials from vertices to faces;
- GET_FACE_MAJOR_MATERIAL returns material used in most of face vertices;
- FACE_TO_VERTEX_UV converts UV mapping coords from faces to vertices, multiplying vertices if needed;
- VERTEX_TO_FACE_UV converts UV mapping coords from vertices to faces;
- CLEAR_FACES_UV creates empty (or clears) UV coordinates for faces; returns length of face_uv in coords_num;
- CLEAR_VERTICES_UV clears UV coordinates for vertices;
- VERTEX_COLORS_TO_COLIST reads colors from list of vertices "vert_idx" into separate list "colr", merging same colors;
- DATA_CHECK checks if there are no errors in the scene texture; checks memory allocation, and limits for scene elements;
- DATA_INPUT_REPORT shows a report on input data;
- EDGE_NULL_DELETE merges vertices on identical positions inside faces;
- FACE_NORMAL_AVE computes faces normals by averaging vertices normals;
- FACE_NULL_DELETE erases empty faces (with less than 3 vertices);
- MESH_NULL_DELETE erases empty meshes (meshes with no faces pointing);
- VERTEX_NORMAL_SET computes normal vectors for vertices;
- VERTEX_COR3_RANGE computes and displays vertices coordinate data range;
- FORCE_UNIQUE_NAMES are no longer than maxlen characters
- ASC_READ
- ASC_WRITE
- ASE_READ
- ASE_WRITE
- BYU_READ
- BYU_WRITE
- DXF_READ
- DXF_WRITE
- HRC_READ
- HRC_WRITE
- IV_READ
- IV_WRITE
- OBJ_READ
- OBJ_WRITE
- POV_WRITE
- SMF_READ
- SMF_WRITE
- STLA_READ
- STLA_WRITE
- STLB_READ
- STLB_WRITE
- SWM_READ
- SWV_READ
- GMOD_READ
- GMOD_WRITE
- TDS_READ
- TDS_WRITE
- TEC_WRITE
- TRIA_READ
- TRIA_WRITE
- TRIB_READ
- TRIB_WRITE
- TXT_WRITE
- UCD_WRITE
- VLA_READ
- VLA_WRITE
- WRL_WRITE
- XGL_WRITE
- ASE_READ_CFACELIST_PROPERTY low-level ASE read function;
- ASE_READ_CVERTLIST_PROPERTY
- ASE_READ_TFACELIST_PROPERTY
- ASE_READ_TVERTLIST_PROPERTY
- ASE_READ_FACELIST_PROPERTY
- ASE_READ_VERTXLIST_PROPERTY
- ASE_READ_MESHNORMALS_PROPERTY
- ASE_READ_SCENE_PROPERTY
- ASE_READ_NODETM_PROPERTY
- ASE_READ_MESH_PROPERTY
- ASE_READ_GEOMOBJECT_PROPERTY
- ASE_WRITE_GEOMOBJECT low-level ASE write function;
- ASE_WRITE_MATERIAL
- ASE_WRITE_MATERIAL_MAP
- ASE_WRITE_LIGHT
- ASE_WRITE_CAMERA
- DXF_WRITE_SHAPE low-level DXF write function;
- DXF_WRITE_FACE
- IV_READ_BASECOLOR low-level IV read function;
- IV_WRITE_MATERIAL low-level IV write function;
- IV_WRITE_TRMATRIX
- IV_WRITE_VERTICES
- IV_WRITE_TEXTUREUV
- IV_WRITE_TEXTURE
- IV_WRITE_LMODEL_AND_MATBIND
- IV_WRITE_VERTNORMALS
- IV_WRITE_FACESET
- IV_WRITE_LINESET
- IV_WRITE_BASECOLOR
- SWV_READ_MESH low-level SWV read function;
- SWV_READ_MATERIALS
- SWM_READ_MESH low-level SWM read function;
- TDS_READ_BOOLEAN
- TDS_READ_EDIT_SECTION
- TDS_READ_KEYFRAME_SECTION
- TDS_READ_KEYFRAME_OBJDES_SECTION
- TDS_READ_MATERIAL_SECTION
- TDS_READ_OBJ_SECTION
- TDS_READ_OBJECT_SECTION
- TDS_READ_TEX_VERTS_SECTION
- TDS_READ_TEXMAP_SECTION
- TDS_READ_SPOT_SECTION
- TDS_READ_VP_SECTION
- TDS_WRITE_MATERIAL_SECTION
- TDS_WRITE_NAMED_OBJECT
- TDS_WRITE_FREE_VERTICES
- HRC_WRITE_MESH
- WRL_WRITE_SHAPES
- WRL_WRITE_MESH
- WRL_WRITE_LINESET
- WRL_WRITE_FACESET