/////////////////////////////////////////////////////////////////////////////// // // ## ###### // ###### ### // ## ############### Shark 3D Engine (www.shark3d.com) // ########## # # # // ######## Copyright (c) 1996-2006 Spinor GmbH. // ######### # # # All rights reserved. // ## ########## // ## // /////////////////////////////////////////////////////////////////////////////// // This file configurates the prepare tool. // If enabled the data is optimized. // The tool runs much slower, but runtime performance is better. // Can be overwritten by a command line option. optimize 1 // Binary output. // Can be overwritten by a command line option. binary 1 // Status message output time interval in seconds. process_msg_step 1.0 // Pattern used to decide when to generate normal vectors: normal_gen_kind_pat "normal" // If non-empry, create a new variant with this kind: normal_new_kind "" // Pattern used to decide when to generate tangent-U vectors: tangentu_gen_kind_pat "tangentu|tangent" // Pattern used to decide when to generate tangent-V vectors: tangentv_gen_kind_pat "tangentv|tangent" // If non-empry, create a new variant with this kind: tangent_new_kind "" // Pattern used to decide when to convert into a particle mesh: partic_gen_kind_pat "partic" // If non-empry, create a new variant with this kind: partic_new_kind "" // Pattern used to decide when to generate seal variants: seal_gen_kind_pat "shvolquick|shvolquickbloat" // Pattern used to decide when to generate seal variants: seal_caulk_kind_pat "shvolquickbloat" // If non-empry, create a new variant with this kind: seal_new_kind "sep_seal" // Pattern used to decide when to generate the opp information: opp_gen_kind_pat "geo" // If non-empry, create a new variant with this kind: opp_new_kind "" // Pattern used to decide when to generate the neighbor information: neigh_gen_kind_pat "shvolstrict" // Usage set for neigh variants: neigh_new_kind "sep_neigh" // Define parameters for different model variants. // For each model variant, the first kind entry is used // where the usage_pat wildcard string matches at least one usage string // of the variant. pack_array { // Pattern used to match the usage strings of the variant. // If the string is empty, match everything, // including variants having no usage strings at all. kind_pat "sep_neigh" // All kinds which match this expression are used as usage string: usage_pat "" // Add also these usages: usage_set "shvol_occl" // Maximal number of vertices per packet. // The value 0 means that there is no limit. packet_max_vert_cnt 200 // Maximal number of triangles per packet. // The value 0 means that there is no limit. packet_max_tri_cnt 200 // Maximal number of bones per packet. packet_max_bone_cnt 32 // Vertex cache scores. vertex_dist_score_array } { kind_pat "sep_seal" usage_pat "" usage_set "shvol_occl" packet_max_vert_cnt 0 packet_max_tri_cnt 0 // OpenGL does not support indexed skinning well. // Therefore for OpenGL we must limit each packet to 4 bones. // Direct3D supports indexed skinning well. // Therefore when using Direct3D only you can use a limit of 32. packet_max_bone_cnt 32 //packet_max_bone_cnt 4 vertex_dist_score_array } { kind_pat "render|geo" usage_pat "render|geo" usage_set packet_max_vert_cnt 0 packet_max_tri_cnt 0 // Remarks about this parameter see above. packet_max_bone_cnt 32 //packet_max_bone_cnt 4 vertex_dist_score_array } { // If no kind matches an above pack entry, // don't report an error if a kind matches the following pattern: kind_pat "null|boundonly|structure|structurehint" & "|shvolstrict|shvolquick|shvolquickbloat" usage_pat "" usage_set }