|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.jme3.shadow.ShadowUtil
public class ShadowUtil
Includes various useful shadow mapping functions. See: http://appsrv.cse.cuhk.edu.hk/~fzhang/pssm_vrcia/ http://http.developer.nvidia.com/GPUGems3/gpugems3_ch10.html for more info.
コンストラクタの概要 | |
---|---|
ShadowUtil()
|
メソッドの概要 | |
---|---|
static BoundingBox |
computeBoundForPoints(Vector3f[] pts,
Matrix4f mat)
Compute bounds from an array of points |
static BoundingBox |
computeBoundForPoints(Vector3f[] pts,
Transform transform)
Compute bounds from an array of points |
static BoundingBox |
computeUnionBound(GeometryList list,
Matrix4f mat)
Compute bounds of a geomList |
static BoundingBox |
computeUnionBound(GeometryList list,
Transform transform)
Compute bounds of a geomList |
static BoundingBox |
computeUnionBound(java.util.List<BoundingVolume> bv)
Computes the bounds of multiple bounding volumes |
static void |
updateFrustumPoints(Camera viewCam,
float nearOverride,
float farOverride,
float scale,
Vector3f[] points)
Updates the points array to contain the frustum corners of the given camera. |
static void |
updateFrustumPoints2(Camera viewCam,
Vector3f[] points)
Updates a points arrays with the frustum corners of the provided camera. |
static void |
updateShadowCamera(Camera shadowCam,
Vector3f[] points)
Updates the shadow camera to properly contain the given points (which contain the eye camera frustum corners) |
static void |
updateShadowCamera(GeometryList occluders,
GeometryList receivers,
Camera shadowCam,
Vector3f[] points)
Updates the shadow camera to properly contain the given points (which contain the eye camera frustum corners) and the shadow occluder objects. |
static void |
updateShadowCamera(GeometryList occluders,
GeometryList receivers,
Camera shadowCam,
Vector3f[] points,
GeometryList splitOccluders)
Updates the shadow camera to properly contain the given points (which contain the eye camera frustum corners) and the shadow occluder objects. |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public ShadowUtil()
メソッドの詳細 |
---|
public static void updateFrustumPoints2(Camera viewCam, Vector3f[] points)
viewCam
- points
- public static void updateFrustumPoints(Camera viewCam, float nearOverride, float farOverride, float scale, Vector3f[] points)
viewCam
- nearOverride
- farOverride
- public static BoundingBox computeUnionBound(GeometryList list, Transform transform)
list
- transform
-
public static BoundingBox computeUnionBound(GeometryList list, Matrix4f mat)
list
- mat
-
public static BoundingBox computeUnionBound(java.util.List<BoundingVolume> bv)
bv
-
public static BoundingBox computeBoundForPoints(Vector3f[] pts, Transform transform)
pts
- transform
-
public static BoundingBox computeBoundForPoints(Vector3f[] pts, Matrix4f mat)
pts
- mat
-
public static void updateShadowCamera(Camera shadowCam, Vector3f[] points)
occluders
- lightCam
- points
- public static void updateShadowCamera(GeometryList occluders, GeometryList receivers, Camera shadowCam, Vector3f[] points)
occluders
- lightCam
- points
- public static void updateShadowCamera(GeometryList occluders, GeometryList receivers, Camera shadowCam, Vector3f[] points, GeometryList splitOccluders)
occluders
- lightCam
- points
-
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |