/dports/graphics/ogre3d/ogre-1.11.6/OgreMain/src/ |
H A D | OgreShadowCameraSetupPSSM.cpp | 51 …void PSSMShadowCameraSetup::calculateSplitPoints(uint splitCount, Real nearDist, Real farDist, Rea… in calculateSplitPoints() argument 65 Real splitPoint = lambda * nearDist * Math::Pow(farDist / nearDist, fraction) + in calculateSplitPoints() 66 (1.0f - lambda) * (nearDist + fraction * (farDist - nearDist)); in calculateSplitPoints() 70 mSplitPoints[splitCount] = farDist; in calculateSplitPoints() 104 Real farDist = mSplitPoints[iteration + 1]; in getShadowCamera() local 113 farDist += mSplitPadding; in getShadowCamera() 124 _cam->setFarClipDistance(farDist); in getShadowCamera()
|
H A D | OgreFrustum.cpp | 537 Real farDist = (mFarDist == 0) ? 100000 : mFarDist; in updateFrustumImpl() local 539 Vector3 min(left, bottom, -farDist); in updateFrustumImpl() 554 Real radio = farDist / mNearDist; in updateFrustumImpl() 555 min.makeFloor(Vector3(left * radio, bottom * radio, -farDist)); in updateFrustumImpl() 599 Real farDist = (mFarDist == 0) ? 100000 : mFarDist; in updateVertexData() local 630 *pFloat++ = farLeft; *pFloat++ = farTop; *pFloat++ = -farDist; in updateVertexData() 631 *pFloat++ = farRight; *pFloat++ = farTop; *pFloat++ = -farDist; in updateVertexData() 633 *pFloat++ = farRight; *pFloat++ = farTop; *pFloat++ = -farDist; in updateVertexData() 658 *pFloat++ = farLeft; *pFloat++ = farTop; *pFloat++ = -farDist; in updateVertexData() 846 Real farDist = (mFarDist == 0) ? 100000 : mFarDist; in updateWorldSpaceCornersImpl() local [all …]
|
H A D | OgreShadowCameraSetupFocused.cpp | 249 Real farDist = light.getShadowFarDistance(); in calculateB() local 250 if (farDist) in calculateB() 253 (cam.getDerivedDirection() * farDist); in calculateB() 262 farDist ? farDist : cam.getNearClipDistance() * 3000, in calculateB()
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/OgreMain/src/ |
H A D | OgreShadowCameraSetupPSSM.cpp | 53 …void PSSMShadowCameraSetup::calculateSplitPoints(uint splitCount, Real nearDist, Real farDist, Rea… in calculateSplitPoints() argument 67 Real splitPoint = lambda * nearDist * Math::Pow(farDist / nearDist, fraction) + in calculateSplitPoints() 68 (1.0f - lambda) * (nearDist + fraction * (farDist - nearDist)); in calculateSplitPoints() 72 mSplitPoints[splitCount] = farDist; in calculateSplitPoints() 106 Real farDist = mSplitPoints[iteration + 1]; in getShadowCamera() local 115 farDist += mSplitPadding; in getShadowCamera() 126 _cam->setFarClipDistance(farDist); in getShadowCamera()
|
H A D | OgreFrustum.cpp | 563 Real farDist = (mFarDist == 0) ? 100000 : mFarDist; in updateFrustumImpl() local 565 Vector3 min(left, bottom, -farDist); in updateFrustumImpl() 580 Real radio = farDist / mNearDist; in updateFrustumImpl() 581 min.makeFloor(Vector3(left * radio, bottom * radio, -farDist)); in updateFrustumImpl() 625 Real farDist = (mFarDist == 0) ? 100000 : mFarDist; in updateVertexData() local 655 *pFloat++ = farLeft; *pFloat++ = farTop; *pFloat++ = -farDist; in updateVertexData() 656 *pFloat++ = farRight; *pFloat++ = farTop; *pFloat++ = -farDist; in updateVertexData() 658 *pFloat++ = farRight; *pFloat++ = farTop; *pFloat++ = -farDist; in updateVertexData() 683 *pFloat++ = farLeft; *pFloat++ = farTop; *pFloat++ = -farDist; in updateVertexData() 874 Real farDist = (mFarDist == 0) ? 100000 : mFarDist; in updateWorldSpaceCornersImpl() local [all …]
|
H A D | OgreShadowCameraSetupFocused.cpp | 258 Real farDist = light.getShadowFarDistance(); in calculateB() local 259 if (farDist) in calculateB() 262 (cam.getDerivedDirection() * farDist); in calculateB() 271 farDist ? farDist : cam.getNearClipDistance() * 3000, in calculateB()
|
/dports/devel/vcglib/vcglib-2020.09/wrap/gl/ |
H A D | camera.h | 148 static void TransformGL(vcg::Camera<S> & camera, S nearDist, S farDist ) in TransformGL() 165 case CameraType::PERSPECTIVE: glFrustum(sx,dx,bt,tp,nearDist,farDist); break; in TransformGL() 166 case CameraType::ORTHO: glOrtho(sx,dx,bt,tp,nearDist,farDist); break; in TransformGL() 167 case CameraType::ISOMETRIC: SetGLIsometricProj(sx,dx,bt,tp,nearDist,farDist); break; in TransformGL() 168 case CameraType::CAVALIERI: SetGLCavalieriProj(sx,dx,bt,tp,nearDist,farDist); break; in TransformGL() 183 static void SetSubView(vcg::Camera<S> & camera,vcg::Point2<S> p0,S nearDist, S farDist,vcg::Point2<… in SetSubView() 198 … width* p0[0]+ sx, width* p1[0]+ sx, height* p0[1]+ bt, height* p1[1]+bt,nearDist,farDist); break; in SetSubView() 199 …o(width* p0[0]+sx, width* p1[0]+sx, height* p0[1]+ bt, height* p1[1]+bt,nearDist,farDist); break; in SetSubView()
|
H A D | shot.h | 112 static void SetView(vcg::Shot<ScalarType> & shot, ScalarType nearDist, ScalarType farDist) in SetView() 120 …GlCameraType::TransformGL(shot.Intrinsics, nearDist, farDist); // apply camera/projection transfor… in SetView() 146 ScalarType farDist; in GetFarPlane() local 166 farDist = (campos - farcorner).Norm(); in GetFarPlane() 168 return farDist; in GetFarPlane()
|
/dports/graphics/wdune/wdune-1.926/vcglib/wrap/gl/ |
H A D | camera.h | 148 static void TransformGL(vcg::Camera<S> & camera, S nearDist, S farDist ) in TransformGL() 165 case CameraType::PERSPECTIVE: glFrustum(sx,dx,bt,tp,nearDist,farDist); break; in TransformGL() 166 case CameraType::ORTHO: glOrtho(sx,dx,bt,tp,nearDist,farDist); break; in TransformGL() 167 case CameraType::ISOMETRIC: SetGLIsometricProj(sx,dx,bt,tp,nearDist,farDist); break; in TransformGL() 168 case CameraType::CAVALIERI: SetGLCavalieriProj(sx,dx,bt,tp,nearDist,farDist); break; in TransformGL() 183 static void SetSubView(vcg::Camera<S> & camera,vcg::Point2<S> p0,S nearDist, S farDist,vcg::Point2<… in SetSubView() 198 … width* p0[0]+ sx, width* p1[0]+ sx, height* p0[1]+ bt, height* p1[1]+bt,nearDist,farDist); break; in SetSubView() 199 …o(width* p0[0]+sx, width* p1[0]+sx, height* p0[1]+ bt, height* p1[1]+bt,nearDist,farDist); break; in SetSubView()
|
H A D | shot.h | 112 static void SetView(vcg::Shot<ScalarType> & shot, ScalarType nearDist, ScalarType farDist) in SetView() 120 …GlCameraType::TransformGL(shot.Intrinsics, nearDist, farDist); // apply camera/projection transfor… in SetView() 146 ScalarType farDist; in GetFarPlane() local 166 farDist = (campos - farcorner).Norm(); in GetFarPlane() 168 return farDist; in GetFarPlane()
|
/dports/games/openspades/openspades-0.1.3/Sources/Draw/ |
H A D | GLBasicShadowMapRenderer.cpp | 237 float farDist = 0.0; in Render() local 241 case 0: farDist = 12.f; break; in Render() 242 case 1: farDist = 40.f; break; in Render() 243 case 2: farDist = 150.f; break; in Render() 246 BuildMatrix(nearDist, farDist); in Render() 268 nearDist = farDist; in Render()
|
/dports/games/glest/glest_source_3.2.2/source/glest_game/game/ |
H A D | game_camera.cpp | 132 const float farDist= 90.f; in computeVisibleQuad() local 145 Vec2i p2(static_cast<int>(p.x+v1.x*farDist), static_cast<int>(p.y+v1.y*farDist)); in computeVisibleQuad() 147 Vec2i p4(static_cast<int>(p.x+v2.x*farDist), static_cast<int>(p.y+v2.y*farDist)); in computeVisibleQuad()
|
/dports/games/stuntrally/stuntrally-2.6.1/source/paged-geom/ |
H A D | PagedGeometry.h | 1379 farDist = farRange; in setFarRange() 1380 farDistSq = farDist * farDist; in setFarRange() 1382 farTransDist = farDist + fadeLength; in setFarRange() 1405 return farDist; in getFarRange() 1452 farTransDist = farDist + fadeLength; in setTransition() 1547 Ogre::Real farDist, farDistSq; variable
|
H A D | PagedGeometry.cpp | 644 fadeNear = farDist; in update() 651 …fadeNear = prevManager->farDist + (prevManager->farTransDist - prevManager->farDist) * 0.5f; //Thi… in update() 652 fadeFar = prevManager->farDist; in update() 792 loadarea.left = area.left - farDist; in preloadGeometry() 793 loadarea.right = area.right + farDist; in preloadGeometry() 794 loadarea.top = area.top - farDist; in preloadGeometry() 795 loadarea.bottom = area.bottom + farDist; in preloadGeometry()
|
/dports/graphics/rigsofrods-pagedgeometry/ogre-pagedgeometry-1.2.0/include/ |
H A D | PagedGeometry.h | 1379 farDist = farRange; in setFarRange() 1380 farDistSq = farDist * farDist; in setFarRange() 1382 farTransDist = farDist + fadeLength; in setFarRange() 1405 return farDist; in getFarRange() 1452 farTransDist = farDist + fadeLength; in setTransition() 1547 Ogre::Real farDist, farDistSq; variable
|
/dports/math/cglm/cglm-0.8.4/src/ |
H A D | frustum.c | 39 float farDist, in glmc_frustum_corners_at() argument 41 glm_frustum_corners_at(corners, splitDist, farDist, planeCorners); in glmc_frustum_corners_at()
|
/dports/math/cglm/cglm-0.8.4/include/cglm/struct/ |
H A D | frustum.h | 145 float farDist, in glms_frustum_corners_at() argument 151 glm_frustum_corners_at(rawCorners, splitDist, farDist, rawPlaneCorners); in glms_frustum_corners_at()
|
/dports/misc/usd/USD-21.11/pxr/base/gf/ |
H A D | wrapFrustum.cpp | 69 double fov, aspect, nearDist, farDist; in GetPerspectiveHelper() local 71 &fov, &aspect, &nearDist, &farDist ); in GetPerspectiveHelper() 73 boost::python::make_tuple( fov, aspect, nearDist, farDist ) : object(); in GetPerspectiveHelper()
|
/dports/math/cglm/cglm-0.8.4/include/cglm/ |
H A D | frustum.h | 225 float farDist, in glm_frustum_corners_at() argument 232 sc = dist * (splitDist / farDist); in glm_frustum_corners_at()
|
/dports/math/cglm/cglm-0.8.4/include/cglm/call/ |
H A D | frustum.h | 36 float farDist,
|
/dports/games/megaglest/megaglest-source-3.13.0/source/glest_game/game/ |
H A D | game_camera.cpp | 264 float farDist = 90.f * (pos.y > nearDist ? pos.y / 15.f : 1.f); in computeVisibleQuad() local 277 Vec2i p2(static_cast<int>(p.x + v1.x * farDist), static_cast<int>(p.y + v1.y * farDist)); in computeVisibleQuad() 279 Vec2i p4(static_cast<int>(p.x + v2.x * farDist), static_cast<int>(p.y + v2.y * farDist)); in computeVisibleQuad()
|
/dports/games/doomsday/doomsday-2.3.1/doomsday/sdk/libcore/include/de/core/ |
H A D | matrix.h | 369 …static Matrix4 perspectiveZoom(Type width, Type height, Type nearDist = 1.f, Type farDist = 1000.f… 379 …+ left) / (right - left), (top + bottom) / (top - bottom), -(farDist + nearDist) / (farDist - near… 380 0, 0, -2 * (farDist * nearDist) / (farDist - nearDist), 0
|
/dports/graphics/rigsofrods-pagedgeometry/ogre-pagedgeometry-1.2.0/source/ |
H A D | PagedGeometry.cpp | 642 fadeNear = farDist; in update() 649 …fadeNear = prevManager->farDist + (prevManager->farTransDist - prevManager->farDist) * 0.5f; //Thi… in update() 650 fadeFar = prevManager->farDist; in update() 790 loadarea.left = area.left - farDist; in preloadGeometry() 791 loadarea.right = area.right + farDist; in preloadGeometry() 792 loadarea.top = area.top - farDist; in preloadGeometry() 793 loadarea.bottom = area.bottom + farDist; in preloadGeometry()
|
/dports/astro/celestia-gtk/celestia-1.6.1/src/celmath/ |
H A D | frustum.h | 21 Frustum(float fov, float aspectRatio, float nearDist, float farDist);
|
/dports/astro/celestia/celestia-1.6.1/src/celmath/ |
H A D | frustum.h | 21 Frustum(float fov, float aspectRatio, float nearDist, float farDist);
|