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