36 NotifyCategoryDecl(iesdataset, EXPORT_CLASS, EXPORT_TEMPL);
63 PTA_float _vertical_angles;
64 PTA_float _horizontal_angles;
65 PTA_float _candela_values;
68 #endif // IESDATASET_H PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Represents a texture object, which is typically a single 2-d image but may also represent a 1-d or 3-...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void set_vertical_angles(const PTA_float &vertical_angles)
Sets the vertical angles of the dataset.
void set_horizontal_angles(const PTA_float &horizontal_angles)
Sets the horizontal angles of the dataset.
This class generates a LUT from IES data.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void generate_dataset_texture_into(Texture *dest_tex, size_t z) const
Generates the IES LUT.
float get_vertical_candela_value(size_t horizontal_angle_idx, float vertical_angle) const
Fetches a vertical candela value.
float get_candela_value_from_index(size_t vertical_angle_idx, size_t horizontal_angle_idx) const
Internal method to access the candela data.
float get_candela_value(float vertical_angle, float horizontal_angle) const
Samples the dataset at the given position.
void set_candela_values(const PTA_float &candela_values)
Sets the candela values.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.