Home
last modified time | relevance | path

Searched refs:nearDist (Results 1 – 25 of 68) sorted by relevance

123

/dports/graphics/ogre3d/ogre-1.11.6/OgreMain/src/
H A DOgreShadowCameraSetupPSSM.cpp51 …void PSSMShadowCameraSetup::calculateSplitPoints(uint splitCount, Real nearDist, Real farDist, Rea… in calculateSplitPoints() argument
61 mSplitPoints[0] = nearDist; in calculateSplitPoints()
65 Real splitPoint = lambda * nearDist * Math::Pow(farDist / nearDist, fraction) + in calculateSplitPoints()
66 (1.0f - lambda) * (nearDist + fraction * (farDist - nearDist)); in calculateSplitPoints()
103 Real nearDist = mSplitPoints[iteration]; in getShadowCamera() local
109 nearDist -= mSplitPadding; in getShadowCamera()
123 _cam->setNearClipDistance(nearDist); in getShadowCamera()
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/OgreMain/src/
H A DOgreShadowCameraSetupPSSM.cpp53 …void PSSMShadowCameraSetup::calculateSplitPoints(uint splitCount, Real nearDist, Real farDist, Rea… in calculateSplitPoints() argument
63 mSplitPoints[0] = nearDist; in calculateSplitPoints()
67 Real splitPoint = lambda * nearDist * Math::Pow(farDist / nearDist, fraction) + in calculateSplitPoints()
68 (1.0f - lambda) * (nearDist + fraction * (farDist - nearDist)); in calculateSplitPoints()
105 Real nearDist = mSplitPoints[iteration]; in getShadowCamera() local
111 nearDist -= mSplitPadding; in getShadowCamera()
125 _cam->setNearClipDistance(nearDist); in getShadowCamera()
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/client/src/world/bsp/
H A Dpartitionevaluator.cpp286 coord_t nearDist; in DENG2_PIMPL_NOREF() local
287 if(nearMiss(rel, fromDist, toDist, &nearDist)) in DENG2_PIMPL_NOREF()
290 cost.total += int( 100 * splitCostFactor * (nearDist * nearDist - 1.0) ); in DENG2_PIMPL_NOREF()
299 coord_t nearDist; in DENG2_PIMPL_NOREF() local
300 if(nearMiss(rel, fromDist, toDist, &nearDist)) in DENG2_PIMPL_NOREF()
305 cost.total += int( 70 * splitCostFactor * (nearDist * nearDist - 1.0) ); in DENG2_PIMPL_NOREF()
320 coord_t nearDist; in DENG2_PIMPL_NOREF() local
321 if(nearEdge(fromDist, toDist, &nearDist)) in DENG2_PIMPL_NOREF()
324 cost.total += int( 140 * splitCostFactor * (nearDist * nearDist - 1.0) ); in DENG2_PIMPL_NOREF()
/dports/devel/vcglib/vcglib-2020.09/wrap/gl/
H A Dcamera.h148 static void TransformGL(vcg::Camera<S> & camera, S nearDist, S farDist ) in TransformGL()
154 S ratio = nearDist/nr; 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 Dshot.h112 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()
/dports/graphics/wdune/wdune-1.926/vcglib/wrap/gl/
H A Dcamera.h148 static void TransformGL(vcg::Camera<S> & camera, S nearDist, S farDist ) in TransformGL()
154 S ratio = nearDist/nr; 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 Dshot.h112 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()
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgShadow/
H A DLightSpacePerspectiveShadowMap.cpp166 double nearDist = -bb._max[2]; in operator ()() local
192 osg::Vec3d pos = eyePos-up*(n-nearDist); in operator ()()
293 double nearDist = -bb._max[2]; in operator ()() local
321 if( eye[2] < 0 && nearDist <= 0 ) in operator ()()
325 nearDist = clampedNearDist; in operator ()()
335 if (nearDist<0.0) in operator ()()
337 nearDist = 0.0; in operator ()()
368 const double z_n = factor*nearDist; in operator ()()
384 osg::Vec3d pos = eye-up*(n-nearDist); in operator ()()
472 void setNearDist( const double & nearDist ) in setNearDist() argument
[all …]
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgShadow/
H A DLightSpacePerspectiveShadowMap.cpp166 double nearDist = -bb._max[2]; in operator ()() local
192 osg::Vec3d pos = eyePos-up*(n-nearDist); in operator ()()
293 double nearDist = -bb._max[2]; in operator ()() local
321 if( eye[2] < 0 && nearDist <= 0 ) in operator ()()
325 nearDist = clampedNearDist; in operator ()()
335 if (nearDist<0.0) in operator ()()
337 nearDist = 0.0; in operator ()()
368 const double z_n = factor*nearDist; in operator ()()
384 osg::Vec3d pos = eye-up*(n-nearDist); in operator ()()
472 void setNearDist( const double & nearDist ) in setNearDist() argument
[all …]
/dports/graphics/Coin/coin-Coin-4.0.0/src/base/
H A DSbDPViewVolume.cpp829 this->nearDist = nearval; in ortho()
880 this->nearDist = nearval; in perspective()
909 this->nearDist = nearval; in frustum()
973 narrowed.nearDist = this->nearDist + (1.0f - nearval) * this->nearToFar; in zNarrow()
977 this->getPlaneRectangle(narrowed.nearDist - this->nearDist, in zNarrow()
1120 return this->nearDist; in getNearDist()
1295 matrix.multVecMatrix(oldprojpt + this->nearDist * this->projDir, in transform()
1298 double fardist = this->nearDist + this->nearToFar; in transform()
1307 this->nearDist = projPlane.getDistance(nearpt); in transform()
1355 double depth = this->nearDist + distance; in getPlaneRectangle()
[all …]
/dports/games/glest/glest_source_3.2.2/source/glest_game/game/
H A Dgame_camera.cpp131 const float nearDist= 20.f; in computeVisibleQuad() local
144 Vec2i p1(static_cast<int>(p.x+v1.x*nearDist), static_cast<int>(p.y+v1.y*nearDist)); in computeVisibleQuad()
146 Vec2i p3(static_cast<int>(p.x+v2.x*nearDist), static_cast<int>(p.y+v2.y*nearDist)); in computeVisibleQuad()
/dports/astro/celestia-gtk/celestia-1.6.1/src/celmath/
H A Dfrustum.h20 Frustum(float fov, float aspectRatio, float nearDist);
21 Frustum(float fov, float aspectRatio, float nearDist, float farDist);
/dports/astro/celestia/celestia-1.6.1/src/celmath/
H A Dfrustum.h20 Frustum(float fov, float aspectRatio, float nearDist);
21 Frustum(float fov, float aspectRatio, float nearDist, float farDist);
/dports/games/megaglest/megaglest-source-3.13.0/source/glest_game/game/
H A Dgame_camera.cpp262 float nearDist = 15.f; in computeVisibleQuad() local
263 float dist = pos.y > nearDist ? pos.y * 1.2f : nearDist; in computeVisibleQuad()
264 float farDist = 90.f * (pos.y > nearDist ? pos.y / 15.f : 1.f); in computeVisibleQuad()
276 Vec2i p1(static_cast<int>(p.x + v1.x * nearDist), static_cast<int>(p.y + v1.y * nearDist)); in computeVisibleQuad()
278 Vec2i p3(static_cast<int>(p.x + v2.x * nearDist), static_cast<int>(p.y + v2.y * nearDist)); in computeVisibleQuad()
/dports/games/doomsday/doomsday-2.3.1/doomsday/sdk/libcore/include/de/core/
H A Dmatrix.h369 …static Matrix4 perspectiveZoom(Type width, Type height, Type nearDist = 1.f, Type farDist = 1000.f…
377 2 * nearDist / (right - left), 0, 0, 0,
378 0, 2 * nearDist / (top - bottom), 0, 0,
379 … (right - left), (top + bottom) / (top - bottom), -(farDist + nearDist) / (farDist - nearDist), -1,
380 0, 0, -2 * (farDist * nearDist) / (farDist - nearDist), 0
/dports/misc/usd/USD-21.11/pxr/base/gf/
H A DwrapFrustum.cpp69 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/games/stuntrally/stuntrally-2.6.1/source/paged-geom/
H A DPagedGeometry.h1365 nearDist = nearRange; in setNearRange()
1366 nearDistSq = nearDist * nearDist; in setNearRange()
1394 return nearDist; in getNearRange()
1546 Ogre::Real nearDist, nearDistSq; variable
/dports/graphics/rigsofrods-pagedgeometry/ogre-pagedgeometry-1.2.0/include/
H A DPagedGeometry.h1365 nearDist = nearRange; in setNearRange()
1366 nearDistSq = nearDist * nearDist; in setNearRange()
1394 return nearDist; in getNearRange()
1546 Ogre::Real nearDist, nearDistSq; variable
/dports/astro/celestia-gtk/celestia-1.6.1/src/celengine/
H A Dplanetgrid.cpp65 float nearDist = renderer->getNearPlaneDistance(); in longLatLabel() local
83 if (planetZ < -nearDist * 1.001) in longLatLabel()
84 planetZ = -nearDist * 1.001; in longLatLabel()
/dports/astro/celestia/celestia-1.6.1/src/celengine/
H A Dplanetgrid.cpp65 float nearDist = renderer->getNearPlaneDistance(); in longLatLabel() local
83 if (planetZ < -nearDist * 1.001) in longLatLabel()
84 planetZ = -nearDist * 1.001; in longLatLabel()
/dports/x11/virtualgl/virtualgl-3.0/wgldemos/
H A Dwglspheres.c107 GLfloat nearDist = 1.5, farDist = 40., zeroParallaxDist = 17.; in renderSpheres() local
115 stereoCameraOffset = -xAspect * zeroParallaxDist / nearDist * 0.035f; in renderSpheres()
117 stereoCameraOffset = xAspect * zeroParallaxDist / nearDist * 0.035f; in renderSpheres()
121 glFrustum(-xAspect, xAspect, -yAspect, yAspect, nearDist, farDist); in renderSpheres()
/dports/games/openspades/openspades-0.1.3/Sources/Draw/
H A DGLBasicShadowMapRenderer.cpp231 float nearDist = 0.f; in Render() local
246 BuildMatrix(nearDist, farDist); in Render()
268 nearDist = farDist; in Render()
/dports/games/doomsday/doomsday-2.3.1/doomsday/sdk/libappfw/include/de/vr/
H A Doculusrift.h125 Matrix4f projection(float nearDist, float farDist) const;
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/OgreMain/include/
H A DOgreShadowCameraSetupPSSM.h81 void calculateSplitPoints(uint splitCount, Real nearDist, Real farDist, Real lambda = 0.95);
/dports/graphics/ogre3d/ogre-1.11.6/OgreMain/include/
H A DOgreShadowCameraSetupPSSM.h88 … void calculateSplitPoints(uint splitCount, Real nearDist, Real farDist, Real lambda = 0.95f);

123