16#include "../../../Utils/Math/Mathematics.h"
Defines an Image material for rendering images as textures in 3D rendering.
Represents an image-based material with support for transformations and palette adjustments.
unsigned int xPixels
The width of the image in pixels.
const uint8_t * data
Pointer to the image data.
unsigned int yPixels
The height of the image in pixels.
const uint8_t * rgbColors
Pointer to the color palette.
uint8_t colors
The number of colors in the palette.
Represents an RGB color and provides methods for manipulation.
A material for mapping UV texture coordinates to image colors.
RGBColor GetRGB(const Vector3D &position, const Vector3D &normal, const Vector3D &uvw) override
Retrieves the RGB color at a given 3D position using UV mapping.
Represents a 3D vector (X, Y, Z) and provides methods for vector arithmetic.