public class JoglCameraLensPerspective extends JoglCameraLens
aspect, farDist, nearDist, projMatrix| Constructor and Description |
|---|
JoglCameraLensPerspective(double aspect) |
JoglCameraLensPerspective(double fov,
double aspect) |
JoglCameraLensPerspective(double fov,
double aspect,
double nDist,
double fDist) |
JoglCameraLensPerspective(double fov,
double aspect,
double nDist,
double fDist,
double l,
double r,
double b,
double t) |
JoglCameraLensPerspective(double fov,
double aspect,
JoglMatrixd4x4 mat,
double nDist,
double fDist) |
| Modifier and Type | Method and Description |
|---|---|
double |
getFieldOfView() |
JoglRay |
GetRay(JoglCamera cam,
JoglVectord2 p) |
JoglVectord3 |
GetRayDir(JoglCamera cam,
JoglVectord2 p) |
JoglVectord3 |
GetRayHelper(float aspect_ratio,
float px,
float py) |
double |
getTanFoV() |
JoglVectord3 |
ProjectToScreen(double x,
double y,
double z,
double aspect) |
getAspect, getDepthRange, logProjectionMatrix, SetProjectionMatrixpublic JoglCameraLensPerspective(double aspect)
public JoglCameraLensPerspective(double fov,
double aspect)
public JoglCameraLensPerspective(double fov,
double aspect,
double nDist,
double fDist)
public JoglCameraLensPerspective(double fov,
double aspect,
double nDist,
double fDist,
double l,
double r,
double b,
double t)
public JoglCameraLensPerspective(double fov,
double aspect,
JoglMatrixd4x4 mat,
double nDist,
double fDist)
public double getFieldOfView()
public double getTanFoV()
public JoglVectord3 ProjectToScreen(double x, double y, double z, double aspect)
ProjectToScreen in class JoglCameraLenspublic JoglVectord3 GetRayHelper(float aspect_ratio, float px, float py)
public JoglVectord3 GetRayDir(JoglCamera cam, JoglVectord2 p)
public JoglRay GetRay(JoglCamera cam, JoglVectord2 p)
GetRay in class JoglCameraLens