00001 // Filename: config_speedtree.h 00002 // Created by: drose (30Sep10) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #ifndef CONFIG_SPEEDTREE_H 00016 #define CONFIG_SPEEDTREE_H 00017 00018 #include "pandabase.h" 00019 #include "notifyCategoryProxy.h" 00020 #include "configVariableBool.h" 00021 #include "configVariableDouble.h" 00022 #include "configVariableString.h" 00023 #include "configVariableInt.h" 00024 #include "configVariableFilename.h" 00025 00026 NotifyCategoryDecl(speedtree, EXPCL_PANDASPEEDTREE, EXPTP_PANDASPEEDTREE); 00027 00028 extern ConfigVariableString speedtree_license; 00029 extern ConfigVariableFilename speedtree_shaders_dir; 00030 extern ConfigVariableFilename speedtree_textures_dir; 00031 extern ConfigVariableDouble speedtree_max_anisotropy; 00032 extern ConfigVariableBool speedtree_horizontal_billboards; 00033 extern ConfigVariableDouble speedtree_alpha_test_scalar; 00034 extern ConfigVariableBool speedtree_z_pre_pass; 00035 extern ConfigVariableInt speedtree_max_billboard_images_by_base; 00036 00037 extern ConfigVariableDouble speedtree_visibility; 00038 extern ConfigVariableDouble speedtree_global_light_scalar; 00039 extern ConfigVariableBool speedtree_specular_lighting; 00040 extern ConfigVariableBool speedtree_transmission_lighting; 00041 extern ConfigVariableBool speedtree_detail_layer; 00042 extern ConfigVariableBool speedtree_detail_normal_mapping; 00043 extern ConfigVariableBool speedtree_ambient_contrast; 00044 extern ConfigVariableDouble speedtree_transmission_scalar; 00045 extern ConfigVariableDouble speedtree_fog_distance; 00046 extern ConfigVariableDouble speedtree_fog_color; 00047 extern ConfigVariableDouble speedtree_sky_color; 00048 extern ConfigVariableDouble speedtree_sky_fog_min; 00049 extern ConfigVariableDouble speedtree_sky_fog_max; 00050 extern ConfigVariableDouble speedtree_sun_color; 00051 extern ConfigVariableDouble speedtree_sun_size; 00052 extern ConfigVariableDouble speedtree_sun_spread_exponent; 00053 extern ConfigVariableDouble speedtree_sun_fog_bloom; 00054 extern ConfigVariableDouble speedtree_specular_color; 00055 extern ConfigVariableDouble speedtree_emissive_color; 00056 extern ConfigVariableInt speedtree_shadow_map_resolution; 00057 extern ConfigVariableDouble speedtree_cascading_shadow_splits; 00058 extern ConfigVariableBool speedtree_smooth_shadows; 00059 extern ConfigVariableBool speedtree_show_shadow_splits_on_terrain; 00060 extern ConfigVariableBool speedtree_wind_enabled; 00061 extern ConfigVariableBool speedtree_frond_rippling; 00062 extern ConfigVariableInt speedtree_terrain_num_lods; 00063 extern ConfigVariableInt speedtree_terrain_resolution; 00064 extern ConfigVariableInt speedtree_terrain_cell_size; 00065 00066 extern ConfigVariableDouble speedtree_shadow_fade; 00067 extern ConfigVariableBool speedtree_show_overlays; 00068 00069 extern ConfigVariableInt speedtree_max_num_visible_cells; 00070 extern ConfigVariableDouble speedtree_cull_cell_size; 00071 extern ConfigVariableDouble speedtree_area_scale; 00072 extern ConfigVariableBool speedtree_follow_terrain; 00073 extern ConfigVariableInt speedtree_max_random_try_count; 00074 extern ConfigVariableBool speedtree_5_2_stf; 00075 00076 extern EXPCL_PANDASPEEDTREE void init_libspeedtree(); 00077 00078 #endif 00079 00080