|
scimesh 0.3.4
Headless CPU-only 3D software renderer for scientific mesh visualization
|
A world-space point projected into the rendered image. More...
#include <camera.h>
Public Attributes | |
| Vec2 | pixel = Vec2(0.0f) |
| Pixel coordinates, origin at the top left, y growing down. | |
| float | depth = 1.0f |
Depth in normalized device coordinates, in [-1, 1]; smaller values are closer to the camera. | |
| bool | in_front = false |
| Whether the point is in front of the camera. | |
A world-space point projected into the rendered image.
| float scimesh::ProjectedPoint::depth = 1.0f |
Depth in normalized device coordinates, in [-1, 1]; smaller values are closer to the camera.
Comparable with Rasterizer::z_buffer, which uses the same units.