00001 /*************************************************************************** 00002 settings.h - Several libProcTer settings 00003 ------------------- 00004 begin : do apr 16 2009 00005 copyright : (C) 2009 by CJP 00006 email : cornware-cjp@users.sourceforge.net 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 #ifndef LIBPROCTER_SETTINGS_H 00018 #define LIBPROCTER_SETTINGS_H 00019 00020 //BASE SETTINGS: 00021 00022 //Relative size (size/distance) where a tile will be split 00023 #define PROCTER_SUBDIVISION_SIZE 0.5 00024 00025 //Maximum tile subdivision level 00026 #define PROCTER_MAX_TILE_LEVEL 27 00027 00028 //Level difference between faces and tiles 00029 #define PROCTER_MESH_LEVEL 2 00030 00031 //Level difference between texels and tiles 00032 #define PROCTER_TEX_LEVEL 6 00033 00034 //Maximum texture uploads per frame 00035 #define PROCTER_MAX_TEXTURE_UPLOADS 2 00036 00037 //Maximum tile splits per frame 00038 #define PROCTER_MAX_TILE_SPLITS 64 00039 00040 //DERIVED SETTINGS (DO NOT MODIFY!): 00041 00042 //The texture resolution 00043 #define PROCTER_TEX_RES (1<<PROCTER_TEX_LEVEL) 00044 00045 #endif 00046 00047