Package | Description |
---|---|
com.threed.jpct |
Modifier and Type | Class and Description |
---|---|
class |
Projector
Projector is an extended Camera used for projecting shadows into the scene.
|
Modifier and Type | Method and Description |
---|---|
Camera |
World.getCamera()
Gets the current camera.
|
Modifier and Type | Method and Description |
---|---|
void |
Object3D.align(Camera camera)
Aligns this object with a Camera using the camera's backbuffer matrix.
|
static SimpleVector |
Interact2D.project3D2D(Camera camera,
FrameBuffer buffer,
SimpleVector vertex)
Projects a vertex from world space into screen space.
|
static SimpleVector |
Interact2D.project3D2D(Camera camera,
FrameBuffer buffer,
SimpleVector vertex,
SimpleVector toFill)
Projects a vertex from world space into screen space.
|
static SimpleVector |
Interact2D.projectCenter3D2D(Camera camera,
FrameBuffer buffer,
Object3D obj)
Gets the center of the object in screen-coordinates (2D) by transforming
and projecting it from 3D objectspace into 2D screenspace.
|
static SimpleVector |
Interact2D.reproject2D3D(Camera camera,
FrameBuffer buffer,
int x,
int y)
Reprojects a 2D vector (a screen/framebuffer coordinate in most cases)
back into 3D.
|
static SimpleVector |
Interact2D.reproject2D3D(Camera camera,
FrameBuffer buffer,
int x,
int y,
float z)
Reprojects a 2D vector (a screen/framebuffer coordinate in most cases)
back into 3D with a given z (in 3D).
|
static SimpleVector |
Interact2D.reproject2D3D(Camera camera,
FrameBuffer buffer,
int x,
int y,
float z,
SimpleVector toFill)
Reprojects a 2D vector (a screen/framebuffer coordinate in most cases)
back into 3D with a given z (in 3D).
|
static SimpleVector |
Interact2D.reproject2D3D(Camera camera,
FrameBuffer buffer,
int x,
int y,
SimpleVector toFill)
Reprojects a 2D vector (a screen/framebuffer coordinate in most cases)
back into 3D.
|
static SimpleVector |
Interact2D.reproject2D3DWS(Camera camera,
FrameBuffer buffer,
int x,
int y)
Reprojects a 2D vector (a screen/framebuffer coordinate in most cases)
back into 3D (world space).
|
static SimpleVector |
Interact2D.reproject2D3DWS(Camera camera,
FrameBuffer buffer,
int x,
int y,
float z)
Reprojects a 2D vector (a screen/framebuffer coordinate in most cases)
back into 3D (world space).
|
static SimpleVector |
Interact2D.reproject2D3DWS(Camera camera,
FrameBuffer buffer,
int x,
int y,
float z,
SimpleVector toFill)
Reprojects a 2D vector (a screen/framebuffer coordinate in most cases)
back into 3D (world space).
|
static SimpleVector |
Interact2D.reproject2D3DWS(Camera camera,
FrameBuffer buffer,
int x,
int y,
SimpleVector toFill)
Reprojects a 2D vector (a screen/framebuffer coordinate in most cases)
back into 3D (world space).
|
void |
World.setCameraTo(Camera cam)
Sets the camera to another one.
|