Panda3D
 All Classes Functions Variables Enumerations
config_speedtree.h
1 // Filename: config_speedtree.h
2 // Created by: drose (30Sep10)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #ifndef CONFIG_SPEEDTREE_H
16 #define CONFIG_SPEEDTREE_H
17 
18 #include "pandabase.h"
19 #include "notifyCategoryProxy.h"
20 #include "configVariableBool.h"
21 #include "configVariableDouble.h"
22 #include "configVariableString.h"
23 #include "configVariableInt.h"
24 #include "configVariableFilename.h"
25 #include "configVariableColor.h"
26 
27 NotifyCategoryDecl(speedtree, EXPCL_PANDASPEEDTREE, EXPTP_PANDASPEEDTREE);
28 
29 extern ConfigVariableString speedtree_license;
30 extern ConfigVariableFilename speedtree_shaders_dir;
31 extern ConfigVariableFilename speedtree_textures_dir;
32 extern ConfigVariableDouble speedtree_max_anisotropy;
33 extern ConfigVariableBool speedtree_horizontal_billboards;
34 extern ConfigVariableDouble speedtree_alpha_test_scalar;
35 extern ConfigVariableBool speedtree_z_pre_pass;
36 extern ConfigVariableInt speedtree_max_billboard_images_by_base;
37 
38 extern ConfigVariableDouble speedtree_visibility;
39 extern ConfigVariableDouble speedtree_global_light_scalar;
40 extern ConfigVariableBool speedtree_specular_lighting;
41 extern ConfigVariableBool speedtree_transmission_lighting;
42 extern ConfigVariableBool speedtree_detail_layer;
43 extern ConfigVariableBool speedtree_detail_normal_mapping;
44 extern ConfigVariableBool speedtree_ambient_contrast;
45 extern ConfigVariableDouble speedtree_transmission_scalar;
46 extern ConfigVariableDouble speedtree_fog_distance;
47 extern ConfigVariableColor speedtree_fog_color;
48 extern ConfigVariableColor speedtree_sky_color;
49 extern ConfigVariableDouble speedtree_sky_fog_min;
50 extern ConfigVariableDouble speedtree_sky_fog_max;
51 extern ConfigVariableColor speedtree_sun_color;
52 extern ConfigVariableDouble speedtree_sun_size;
53 extern ConfigVariableDouble speedtree_sun_spread_exponent;
54 extern ConfigVariableDouble speedtree_sun_fog_bloom;
55 extern ConfigVariableColor speedtree_specular_color;
56 extern ConfigVariableColor speedtree_emissive_color;
57 extern ConfigVariableInt speedtree_shadow_map_resolution;
58 extern ConfigVariableDouble speedtree_cascading_shadow_splits;
59 extern ConfigVariableBool speedtree_smooth_shadows;
60 extern ConfigVariableBool speedtree_show_shadow_splits_on_terrain;
61 extern ConfigVariableBool speedtree_wind_enabled;
62 extern ConfigVariableBool speedtree_frond_rippling;
63 extern ConfigVariableInt speedtree_terrain_num_lods;
64 extern ConfigVariableInt speedtree_terrain_resolution;
65 extern ConfigVariableInt speedtree_terrain_cell_size;
66 
67 extern ConfigVariableDouble speedtree_shadow_fade;
68 extern ConfigVariableBool speedtree_show_overlays;
69 
70 extern ConfigVariableInt speedtree_max_num_visible_cells;
71 extern ConfigVariableDouble speedtree_cull_cell_size;
72 extern ConfigVariableDouble speedtree_area_scale;
73 extern ConfigVariableBool speedtree_follow_terrain;
74 extern ConfigVariableInt speedtree_max_random_try_count;
75 extern ConfigVariableBool speedtree_5_2_stf;
76 
77 extern EXPCL_PANDASPEEDTREE void init_libspeedtree();
78 
79 #endif
80 
81 
This is a convenience class to specialize ConfigVariable as a Filename type.
This is a convenience class to specialize ConfigVariable as a boolean type.
This is a convenience class to specialize ConfigVariable as a set of floating-point types representin...
This is a convenience class to specialize ConfigVariable as a floating-point type.
This is a convenience class to specialize ConfigVariable as a string type.
This is a convenience class to specialize ConfigVariable as an integer type.