Lagrange
Loading...
Searching...
No Matches
CameraOptions Struct Reference

Parameters for computing the rendering of a mesh. More...

#include <lagrange/texproc/TextureRasterizer.h>

Public Attributes

Eigen::Affine3f view_transform = Eigen::Affine3f::Identity()
 Camera view transform (world space -> view space).
 
Eigen::Projective3f projection_transform = Eigen::Projective3f::Identity()
 Camera projection transform (view space -> NDC space).
 

Detailed Description

Parameters for computing the rendering of a mesh.

Member Data Documentation

◆ projection_transform

Eigen::Projective3f projection_transform = Eigen::Projective3f::Identity()

Camera projection transform (view space -> NDC space).

This is the standard glTF/OpenGL projection matrix, where depth is remapped to [-1, 1] (near plane to -1, far plane to 1).


The documentation for this struct was generated from the following file: