HomeSort by relevance Sort by last modified time
    Searched full:shadowcam (Results 1 - 4 of 4) sorted by null

  /external/jmonkeyengine/engine/src/core/com/jme3/shadow/
BasicShadowRenderer.java 62 private Camera shadowCam;
79 shadowCam = new Camera(size, size);
133 return shadowCam;
162 shadowCam.setProjectionMatrix(null);
163 shadowCam.setParallelProjection(true);
164 // shadowCam.setFrustumPerspective(45, 1, 1, 20);
166 shadowCam.lookAtDirection(direction, Vector3f.UNIT_Y);
167 shadowCam.update();
168 shadowCam.setLocation(frustaCenter);
169 shadowCam.update();
    [all...]
ShadowUtil.java 274 * @param shadowCam
277 public static void updateShadowCamera(Camera shadowCam, Vector3f[] points) {
278 boolean ortho = shadowCam.isParallelProjection();
279 shadowCam.setProjectionMatrix(null);
282 shadowCam.setFrustum(-1, 1, -1, 1, 1, -1);
284 shadowCam.setFrustumPerspective(45, 1, 1, 150);
287 Matrix4f viewProjMatrix = shadowCam.getViewProjectionMatrix();
288 Matrix4f projMatrix = shadowCam.getProjectionMatrix();
318 shadowCam.setProjectionMatrix(result);
328 * @param shadowCam
    [all...]
PssmShadowRenderer.java 126 private Camera shadowCam;
205 shadowCam = new Camera(size, size);
206 shadowCam.setParallelProjection(true);
354 //shadowCam.setDirection(direction);
355 shadowCam.getRotation().lookAt(direction, shadowCam.getUp());
356 shadowCam.update();
357 shadowCam.updateViewProjection();
385 ShadowUtil.updateShadowCamera(occluders, receivers, shadowCam, points, splitOccluders);
388 lightViewProjectionsMatrices[i] = shadowCam.getViewProjectionMatrix().clone()
    [all...]
  /external/jmonkeyengine/engine/src/test/jme3test/light/
TestShadow.java 113 Camera shadowCam = bsr.getShadowCamera();
114 ShadowUtil.updateFrustumPoints2(shadowCam, points);

Completed in 55 milliseconds