Home
last modified time | relevance | path

Searched refs:getCamera (Results 1 – 25 of 47) sorted by relevance

12

/external/jmonkeyengine/engine/src/niftygui/com/jme3/niftygui/
DNiftyJmeDisplay.java96 w = vp.getCamera().getWidth(); in NiftyJmeDisplay()
97 h = vp.getCamera().getHeight(); in NiftyJmeDisplay()
120 inputSys.setHeight(vp.getCamera().getHeight()); in initialize()
167 renderManager.setCamera(vp.getCamera(), true); in postQueue()
170 renderManager.setCamera(vp.getCamera(), false); in postQueue()
/external/jmonkeyengine/engine/src/core-effects/com/jme3/post/ssao/
DSSAOFilter.java134 …float farY = (vp.getCamera().getFrustumTop() / vp.getCamera().getFrustumNear()) * vp.getCamera().g… in initFilter()
136 frustumCorner = new Vector3f(farX, farY, vp.getCamera().getFrustumFar()); in initFilter()
137 frustumNearFar.x = vp.getCamera().getFrustumNear(); in initFilter()
138 frustumNearFar.y = vp.getCamera().getFrustumFar(); in initFilter()
/external/jmonkeyengine/engine/src/core/com/jme3/post/
DFilterPostProcessor.java131 Camera cam = vp.getCamera(); in initialize()
291 renderManager.setCamera(viewPort.getCamera(), false); in postFrame()
300 viewPort.getCamera().resize(originalWidth, originalHeight, true); in preFrame()
301 viewPort.getCamera().setViewPort(left, right, bottom, top); in preFrame()
314 viewPort.getCamera().resize(width, height, true); in preFrame()
315 viewPort.getCamera().setViewPort(0, 1, 0, 1); in preFrame()
359 viewPort.getCamera().resize(originalWidth, originalHeight, true); in cleanup()
360 viewPort.getCamera().setViewPort(left, right, bottom, top); in cleanup()
372 Camera cam = vp.getCamera(); in reshape()
DHDRRenderer.java327 int w = vp.getCamera().getWidth(); in initialize()
328 int h = vp.getCamera().getHeight(); in initialize()
400 renderManager.setCamera(viewPort.getCamera(), false); in postFrame()
/external/jmonkeyengine/engine/src/core/com/jme3/shadow/
DBasicShadowRenderer.java96 reshape(vp, vp.getCamera().getWidth(), vp.getCamera().getHeight()); in initialize()
148 Camera viewCam = viewPort.getCamera(); in postQueue()
200 …ewPort.getQueue().renderShadowQueue(ShadowMode.Receive, renderManager, viewPort.getCamera(), true); in postFrame()
DPssmShadowRenderer.java343 Camera viewCam = viewPort.getCamera(); in postQueue()
410 Camera cam = viewPort.getCamera(); in displayShadowMap()
431 Camera cam = viewPort.getCamera(); in postFrame()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DCameraNode.java84 public Camera getCamera() { in getCamera() method in CameraNode
85 return camControl.getCamera(); in getCamera()
/external/jmonkeyengine/engine/src/core/com/jme3/app/
DFlyCamAppState.java59 public FlyByCamera getCamera() { in getCamera() method in FlyCamAppState
72 flyCam = new FlyByCamera(app.getCamera()); in initialize()
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/
DRenderManager.java310 Camera cam = vp.getCamera(); in notifyReshape()
317 Camera cam = vp.getCamera(); in notifyReshape()
324 Camera cam = vp.getCamera(); in notifyReshape()
773 vp.getCamera().setPlaneState(0); in renderScene()
776 if (!scene.checkCulling(vp.getCamera())) { in renderScene()
790 int camState = vp.getCamera().getPlaneState(); in renderScene()
793 vp.getCamera().setPlaneState(camState); in renderScene()
889 Camera cam = vp.getCamera(); in renderViewPortQueues()
945 rq.renderQueue(Bucket.Translucent, this, vp.getCamera(), true); in renderTranslucentQueue()
1037 setCamera(vp.getCamera(), false); in renderViewPortRaw()
[all …]
/external/jmonkeyengine/engine/src/test/jme3test/terrain/
DTerrainTestModifyHeight.java160 hintText.setLocalTranslation(0, getCamera().getHeight(), 0); in loadHintText()
166 int x = (int) getCamera().getLocation().x; in updateHintText()
167 int y = (int) getCamera().getLocation().y; in updateHintText()
168 int z = (int) getCamera().getLocation().z; in updateHintText()
320 TerrainLodControl control = new TerrainLodControl(terrain, getCamera()); in createTerrain()
414 TerrainLodControl control = new TerrainLodControl(this.terrain, getCamera()); in createTerrainGrid()
DTerrainFractalGridTest.java131 TerrainLodControl control = new TerrainLodControl(this.terrain, this.getCamera()); in simpleInitApp()
137 this.getCamera().setLocation(new Vector3f(0, 300, 0)); in simpleInitApp()
DTerrainTest.java160 TerrainLodControl control = new TerrainLodControl(terrain, getCamera()); in simpleInitApp()
179 hintText.setLocalTranslation(0, getCamera().getHeight(), 0); in loadHintText()
DTerrainTestReadWrite.java156 TerrainLodControl control = new TerrainLodControl(terrainQuad, getCamera()); in createMap()
192 hintText.setLocalTranslation(0, getCamera().getHeight(), 0); in loadHintText()
254 lodControl.setCamera(getCamera()); in loadTerrain()
DTerrainTestCollision.java138 TerrainLodControl control = new TerrainLodControl(terrain, getCamera()); in simpleInitApp()
188 hintText.setLocalTranslation(0, getCamera().getHeight(), 0); in loadHintText()
272 getCamera().lookAtDirection(new Vector3f(0, -1, 0), Vector3f.UNIT_Y);
DTerrainGridSerializationTest.java53 TerrainLodControl control = new TerrainLodControl(this.terrain, getCamera()); in simpleInitApp()
60 this.getCamera().setLocation(new Vector3f(0, 256, 0)); in simpleInitApp()
DTerrainGridTileLoaderTest.java111 TerrainLodControl control = new TerrainLodControl(this.terrain, getCamera()); in simpleInitApp()
118 this.getCamera().setLocation(new Vector3f(0, 256, 0)); in simpleInitApp()
/external/jmonkeyengine/engine/src/test/jme3test/renderer/
DTestMultiViews.java99 guiViewPort.getCamera().setViewPort(.5f, 1f, .5f, 1f); in simpleInitApp()
102 Camera guiCam2 = guiViewPort.getCamera().clone(); in simpleInitApp()
/external/jmonkeyengine/engine/src/desktop/com/jme3/app/state/
DScreenshotAppState.java60 reshape(vp, vp.getCamera().getWidth(), vp.getCamera().getHeight()); in initialize()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/
DLodControl.java153 Camera cam = vp.getCamera(); in controlRender()
156 float newDistance = bv.distanceTo(vp.getCamera().getLocation()) / ratio; in controlRender()
/external/jmonkeyengine/engine/src/core-effects/com/jme3/post/filters/
DTranslucentBucketFilter.java99 renderManager.setCamera(viewPort.getCamera(), false); in postFrame()
104 …ewPort.getQueue().renderQueue(RenderQueue.Bucket.Translucent, renderManager, viewPort.getCamera()); in postFrame()
DLightScatteringFilter.java100 getClipCoordinates(lightPosition, screenLightPos, viewPort.getCamera()); in postQueue()
104 viewPort.getCamera().getViewMatrix().mult(lightPosition, viewLightPos); in postQueue()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DMediaRecorderTest.java69 assertThat(shadowMediaRecorder.getCamera(), nullValue()); in testCamera()
72 assertThat(shadowMediaRecorder.getCamera(), notNullValue()); in testCamera()
73 assertThat(shadowMediaRecorder.getCamera(), sameInstance(c)); in testCamera()
/external/jmonkeyengine/engine/src/test/jme3test/post/
DTestMultiRenderTarget.java112 reshape(vp, vp.getCamera().getWidth(), vp.getCamera().getHeight()); in initialize()
/external/jmonkeyengine/engine/src/core-effects/com/jme3/water/
DSimpleWaterProcessor.java156 …material.setVector2("FrustumNearFar", new Vector2f(vp.getCamera().getFrustumNear(), vp.getCamera()… in initialize()
250 Camera cam = vp.getCamera(); in displayMap()
/external/jmonkeyengine/engine/src/test/jme3test/bullet/
DPhysicsTestHelper.java192 bulletg.setLocalTranslation(app.getCamera().getLocation()); in createBallShooter()
195 bulletControl.setLinearVelocity(app.getCamera().getDirection().mult(25)); in createBallShooter()

12