36 NotifyCategoryDecl(iesdataset, EXPORT_CLASS, EXPORT_TEMPL);
63 PTA_float _vertical_angles;
64 PTA_float _horizontal_angles;
65 PTA_float _candela_values;
This class generates a LUT from IES data.
void generate_dataset_texture_into(Texture *dest_tex, size_t z) const
Generates the IES LUT.
void set_candela_values(const PTA_float &candela_values)
Sets the candela values.
float get_candela_value_from_index(size_t vertical_angle_idx, size_t horizontal_angle_idx) const
Internal method to access the candela data.
void set_vertical_angles(const PTA_float &vertical_angles)
Sets the vertical angles of the dataset.
float get_candela_value(float vertical_angle, float horizontal_angle) const
Samples the dataset at the given position.
float get_vertical_candela_value(size_t horizontal_angle_idx, float vertical_angle) const
Fetches a vertical candela value.
void set_horizontal_angles(const PTA_float &horizontal_angles)
Sets the horizontal angles of the dataset.
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.
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.