14 #ifndef HEIGHTFIELDTESSELATOR_H 15 #define HEIGHTFIELDTESSELATOR_H 65 INLINE
void set_poly_count(
int n);
66 INLINE
void set_visibility_radius(
int r);
67 INLINE
void set_focal_point(
int x,
int y);
68 INLINE
void set_horizontal_scale(
double h);
69 INLINE
void set_vertical_scale(
double v);
70 INLINE
void set_max_triangles(
int n);
72 double get_elevation(
double x,
double y);
80 bool _radii_calculated;
83 int *_triangle_totals;
96 INLINE
bool subdivide(
int scale,
int x,
int y);
97 void calculate_radii(
int scale);
98 void generate_square(
NodePath root,
int scale,
int x,
int y,
bool forceclose);
99 int count_triangles(
int scale,
int x,
int y);
100 int get_vertex(
int x,
int y);
101 void add_quad_to_strip(
int v1,
int v2,
int v3,
int v4);
102 void add_quad(
int v1,
int v2,
int v3,
int v4);
103 void fix_heightfield(
int size);
109 int _visibility_radius;
112 double _horizontal_scale;
113 double _vertical_scale;
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This object provides a high-level interface for quickly writing a sequence of numeric values from a v...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
The name of this class derives from the fact that we originally implemented it as a layer on top of t...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is the base class of a family of classes that represent particular image file types that PNMImag...
A base class for all things which can have a name.
The name of a file, such as a texture file or an Egg file.
This defines the actual numeric vertex data stored in a Geom, in the structure defined by a particula...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Defines a series of disconnected triangles.
Converts a height field in the form of a greyscale image into a scene consisting of a number of GeomN...
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...