|
| | Camera ()=default |
| | default Ctor.
|
| |
| __hostdev__ | Camera (const Vec3T &eye, const Vec3T &lookat, const Vec3T &up, RealT vfov, RealT aspect) |
| | Ctor. // vfov is top to bottom in degrees.
|
| |
| __hostdev__ void | update (const Vec3T &eye, const Vec3T &lookat, const Vec3T &up, RealT vfov, RealT aspect) |
| |
| __hostdev__ RayT | getRay (RealT u, RealT v) const |
| | {u,v} are are assumed to be [0,1]
|
| |
| __hostdev__ const Vec3T & | P () const |
| |
| __hostdev__ const Vec3T & | U () const |
| |
| __hostdev__ const Vec3T & | V () const |
| |
| __hostdev__ const Vec3T & | W () const |
| |
template<typename RealT = float, typename Vec3T = Vec3<RealT>, typename RayT = Ray<RealT>>
class nanovdb::Camera< RealT, Vec3T, RayT >
A minimal perspective camera for ray generation.