Home
last modified time | relevance | path

Searched refs:zNear (Results 1 – 25 of 2143) sorted by relevance

12345678910>>...86

/dports/math/glm/glm-0.9.9.8/glm/ext/
H A Dmatrix_clip_space.inl24 Result[3][2] = - zNear / (zFar - zNear);
37 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
50 Result[3][2] = - zNear / (zFar - zNear);
63 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
244 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
258 Result[2][2] = - (zFar + zNear) / (zFar - zNear);
276 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
290 Result[2][2] = (zFar + zNear) / (zFar - zNear);
367 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
407 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
[all …]
/dports/devel/upp/upp/uppsrc/plugin/glm/ext/
H A Dmatrix_clip_space.inl24 Result[3][2] = - zNear / (zFar - zNear);
37 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
50 Result[3][2] = - zNear / (zFar - zNear);
63 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
234 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
248 Result[2][2] = - (zFar + zNear) / (zFar - zNear);
266 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
280 Result[2][2] = (zFar + zNear) / (zFar - zNear);
352 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
392 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
[all …]
/dports/games/warzone2100/warzone2100/3rdparty/glm/glm/ext/
H A Dmatrix_clip_space.inl24 Result[3][2] = - zNear / (zFar - zNear);
37 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
50 Result[3][2] = - zNear / (zFar - zNear);
63 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
244 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
258 Result[2][2] = - (zFar + zNear) / (zFar - zNear);
276 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
290 Result[2][2] = (zFar + zNear) / (zFar - zNear);
367 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
407 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
[all …]
/dports/x11-toolkits/pangolin/Pangolin-0.6/src/display/
H A Dopengl_render_state.cpp418 P.m[2*4+2] = -(zFar +zNear) / (zFar - zNear); in ProjectionMatrixRUB_BottomLeft()
422 P.m[3*4+2] = -(2*zFar*zNear)/(zFar-zNear); in ProjectionMatrixRUB_BottomLeft()
452 P.m[3*4+2] = -(2*zFar*zNear)/(zFar-zNear); in ProjectionMatrixRUB_TopLeft()
479 P.m[2*4+2] = (zFar +zNear) / (zFar - zNear); in ProjectionMatrixRDF_TopLeft()
482 P.m[3*4+2] = (2*zFar*zNear)/(zNear - zFar); in ProjectionMatrixRDF_TopLeft()
508 P.m[2*4+2] = (zFar +zNear) / (zFar - zNear); in ProjectionMatrixRDF_TopRight()
511 P.m[3*4+2] = (2*zFar*zNear)/(zNear - zFar); in ProjectionMatrixRDF_TopRight()
537 P.m[2*4+2] = (zFar +zNear) / (zFar - zNear); in ProjectionMatrixRDF_BottomLeft()
540 P.m[3*4+2] = (2*zFar*zNear)/(zNear - zFar); in ProjectionMatrixRDF_BottomLeft()
566 P.m[2*4+2] = (zFar +zNear) / (zFar - zNear); in ProjectionMatrixRDF_BottomRight()
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/freestyle/intern/scene_graph/
H A DNodeCamera.cpp89 double left, double right, double bottom, double top, double zNear, double zFar) in NodeOrthographicCamera() argument
95 zNear_(zNear), in NodeOrthographicCamera()
104 projection_matrix_[10] = -2.0 / (zFar - zNear); in NodeOrthographicCamera()
105 projection_matrix_[11] = -(zFar + zNear) / (zFar - zNear); in NodeOrthographicCamera()
132 projection_matrix_[10] = (zNear + zFar) / (zNear - zFar); in NodePerspectiveCamera()
133 projection_matrix_[11] = (2.0 * zNear * zFar) / (zNear - zFar); in NodePerspectiveCamera()
139 double left, double right, double bottom, double top, double zNear, double zFar) in NodePerspectiveCamera() argument
144 projection_matrix_[0] = (2.0 * zNear) / (right - left); in NodePerspectiveCamera()
146 projection_matrix_[5] = (2.0 * zNear) / (top - bottom); in NodePerspectiveCamera()
148 projection_matrix_[10] = -(zFar + zNear) / (zFar - zNear); in NodePerspectiveCamera()
[all …]
/dports/graphics/libprojectm/projectm-3.1.12/vendor/glm/gtc/
H A Dmatrix_transform.inl119 Result[3][2] = - zNear / (zFar - zNear);
132 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
145 Result[3][2] = - zNear / (zFar - zNear);
158 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
338 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
352 Result[2][2] = - (zFar + zNear) / (zFar - zNear);
370 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
384 Result[2][2] = (zFar + zNear) / (zFar - zNear);
460 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
500 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
[all …]
/dports/emulators/mess/mame-mame0226/3rdparty/glm/glm/gtc/
H A Dmatrix_transform.inl130 Result[3][2] = - zNear / (zFar - zNear);
133 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
155 Result[3][2] = - zNear / (zFar - zNear);
158 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
271 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
273 Result[2][2] = - (zFar + zNear) / (zFar - zNear);
294 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
296 Result[2][2] = (zFar + zNear) / (zFar - zNear);
331 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
358 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
[all …]
/dports/audio/faust/faust-2.37.3/architecture/smartKeyboard/android/app/oboe/samples/RhythmGame/third_party/glm/gtc/
H A Dmatrix_transform.inl130 Result[3][2] = - zNear / (zFar - zNear);
133 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
155 Result[3][2] = - zNear / (zFar - zNear);
158 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
271 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
273 Result[2][2] = - (zFar + zNear) / (zFar - zNear);
294 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
296 Result[2][2] = (zFar + zNear) / (zFar - zNear);
331 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
358 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
[all …]
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/libraries/win32/mingw32/include/glm/gtc/
H A Dmatrix_transform.inl130 Result[3][2] = - zNear / (zFar - zNear);
133 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
155 Result[3][2] = - zNear / (zFar - zNear);
158 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
271 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
273 Result[2][2] = - (zFar + zNear) / (zFar - zNear);
294 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
296 Result[2][2] = (zFar + zNear) / (zFar - zNear);
331 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
358 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
[all …]
/dports/emulators/mame/mame-mame0226/3rdparty/glm/glm/gtc/
H A Dmatrix_transform.inl130 Result[3][2] = - zNear / (zFar - zNear);
133 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
155 Result[3][2] = - zNear / (zFar - zNear);
158 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
271 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
273 Result[2][2] = - (zFar + zNear) / (zFar - zNear);
294 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
296 Result[2][2] = (zFar + zNear) / (zFar - zNear);
331 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
358 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
[all …]
/dports/graphics/nanort/nanort-b1feea8/examples/common/glm/glm/gtc/
H A Dmatrix_transform.inl130 Result[3][2] = - zNear / (zFar - zNear);
133 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
155 Result[3][2] = - zNear / (zFar - zNear);
158 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
271 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
273 Result[2][2] = - (zFar + zNear) / (zFar - zNear);
294 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
296 Result[2][2] = (zFar + zNear) / (zFar - zNear);
331 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
358 Result[3][2] = -(zFar * zNear) / (zFar - zNear);
[all …]
/dports/games/scummvm/scummvm-2.5.1/math/
H A Dglmath.cpp52 Matrix4 makePerspectiveMatrix(double fovy, double aspect, double zNear, double zFar) { in makePerspectiveMatrix() argument
55 ymax = zNear * tan(fovy * M_PI / 360.0); in makePerspectiveMatrix()
60 return makeFrustumMatrix(xmin, xmax, ymin, ymax, zNear, zFar); in makePerspectiveMatrix()
63 Matrix4 makeFrustumMatrix(double left, double right, double bottom, double top, double zNear, doubl… in makeFrustumMatrix() argument
65 proj(0, 0) = (2.0f * zNear) / (right - left); in makeFrustumMatrix()
66 proj(1, 1) = (2.0f * zNear) / (top - bottom); in makeFrustumMatrix()
69 proj(2, 2) = -(zFar + zNear) / (zFar - zNear); in makeFrustumMatrix()
71 proj(3, 2) = -(2.0f * zFar * zNear) / (zFar - zNear); in makeFrustumMatrix()
/dports/games/residualvm/residualvm-0.3.1/math/
H A Dglmath.cpp52 Matrix4 makePerspectiveMatrix(double fovy, double aspect, double zNear, double zFar) { in makePerspectiveMatrix() argument
55 ymax = zNear * tan(fovy * M_PI / 360.0); in makePerspectiveMatrix()
60 return makeFrustumMatrix(xmin, xmax, ymin, ymax, zNear, zFar); in makePerspectiveMatrix()
63 Matrix4 makeFrustumMatrix(double left, double right, double bottom, double top, double zNear, doubl… in makeFrustumMatrix() argument
65 proj(0, 0) = (2.0f * zNear) / (right - left); in makeFrustumMatrix()
66 proj(1, 1) = (2.0f * zNear) / (top - bottom); in makeFrustumMatrix()
69 proj(2, 2) = -(zFar + zNear) / (zFar - zNear); in makeFrustumMatrix()
71 proj(3, 2) = -(2.0f * zFar * zNear) / (zFar - zNear); in makeFrustumMatrix()
/dports/games/egl/egl-0.3.1_9/renderer/
H A Dr_math.c68 GLfloat zNear; in R_SetupProjectionMatrix() local
72 zNear = r_zNear->intVal; in R_SetupProjectionMatrix()
84 yMax = zNear * (float)tan ((rd->fovY * M_PI) / 360.0f); in R_SetupProjectionMatrix()
90 xMin += -(2 * ri.cameraSeparation) / zNear; in R_SetupProjectionMatrix()
91 xMax += -(2 * ri.cameraSeparation) / zNear; in R_SetupProjectionMatrix()
94 m[0] = (2.0f * zNear) / (xMax - xMin); in R_SetupProjectionMatrix()
99 m[5] = (2.0f * zNear) / (yMax - yMin); in R_SetupProjectionMatrix()
104 m[10] = -(ri.scn.zFar + zNear) / (ri.scn.zFar - zNear); in R_SetupProjectionMatrix()
108 m[14] = -(2.0f * ri.scn.zFar * zNear) / (ri.scn.zFar - zNear); in R_SetupProjectionMatrix()
/dports/games/flightgear/flightgear-2020.3.11/utils/fgviewer/
H A DFrustum.hxx36 … double& left, const double& right, const double& bottom, const double& top, const double& zNear) : in Frustum()
41 _near(zNear) in Frustum()
63 double zNear = depthRange[0]; in getMatrix() local
71 double a22 = (zNear + zFar)/(zNear - zFar); in getMatrix()
73 double a32 = 2*zNear*zFar/(zNear - zFar); in getMatrix()
81 osg::Matrix getMatrix(const double& zNear, const double& eps = 0) const in getMatrix()
91 double a32 = zNear*(eps - 2); in getMatrix()
129 double zNear = _near + eyeOffset[2]; in translate() local
130 return Frustum(left, right, bottom, top, zNear); in translate()
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/general/
H A Dfog-modes.c44 float zNear = 0.0, zFar = 1.0; in piglit_display() local
53 glOrtho(0, 1, 0, 1, -zNear, -zFar); in piglit_display()
62 glFogf(GL_FOG_START, zNear); in piglit_display()
78 float z = zNear + (zFar - zNear) * i / 5.0; in piglit_display()
88 float z = zNear + (zFar - zNear) * i / 5.0; in piglit_display()
94 f = (zFar - z) / (zFar - zNear); in piglit_display()
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/plugins_experimental/filter_ouput_optical_flow/
H A DDominancyClassifier.cpp136 float zNear, zFar; in updateDepthRange() local
155 float zNear, zFar; in projectiveTexMatrices() local
157 if( zNear < 0.0001f ) in projectiveTexMatrices()
158 zNear = 0.1f; in projectiveTexMatrices()
159 if( zFar < zNear ) in projectiveTexMatrices()
172 m_Proj[2][2] = (zNear+zFar) / (zNear-zFar); in projectiveTexMatrices()
173 m_Proj[3][2] = 2.0f*zNear*zFar / (zNear-zFar); in projectiveTexMatrices()
300 float zNear, zFar; in generateWeightsAndShadowMap() local
302 if( zNear < 0.0001f ) in generateWeightsAndShadowMap()
303 zNear = 0.1f; in generateWeightsAndShadowMap()
[all …]
/dports/lang/fpc-source/fpc-3.2.2/tests/webtbs/
H A Dtw13596a.pp11 procedure gluPerspective(fovy, aspect, zNear, zFar: single); inline;
12 procedure gluPerspectivef32(fovy: longint; aspect, zNear, zFar: longint); inline;
31 procedure gluPerspectivef32(fovy: longint; aspect, zNear, zFar: longint); inline;
37 ymax := mulf32(zNear, TAN_bin[(fovy shr 1) and LUT_MASK]);
42 // glFrustumf32(xmin, xmax, ymin, ymax, zNear, zFar);
46 procedure gluPerspective(fovy, aspect, zNear, zFar: single); inline;
48 …gluPerspectivef32(trunc(fovy * LUT_SIZE / 360.0), floattof32(aspect), floattof32(zNear), floattof3…
/dports/games/dustrac/DustRacing2D-ae380b8/src/game/MiniCore/src/Graphics/contrib/glm/ogl-math/glm/gtc/
H A Dmatrix_transform.inl170 valType const & zNear, argument
180 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
227 valType const & zNear, argument
240 Result[2][2] = - (zFar + zNear) / (zFar - zNear);
242 Result[3][2] = - (valType(2) * zFar * zNear) / (zFar - zNear);
252 valType const & zNear, argument
263 Result[2][2] = - (zFar + zNear) / (zFar - zNear);
265 Result[3][2] = - (valType(2) * zFar * zNear) / (zFar - zNear);
274 T zNear argument
288 Result[3][2] = - T(2) * zNear;
[all …]
/dports/science/py-avogadrolibs/avogadrolibs-1.94.0/avogadro/rendering/
H A Dcamera.cpp146 float zNear, float zFar) in calculatePerspective() argument
152 m_data->projection(2, 2) = (zNear + zFar) / (zNear - zFar); in calculatePerspective()
153 m_data->projection(2, 3) = (2.0f * zFar * zNear) / (zNear - zFar); in calculatePerspective()
158 void Camera::calculatePerspective(float fieldOfView, float zNear, float zFar) in calculatePerspective() argument
162 zNear, zFar); in calculatePerspective()
166 float top, float zNear, float zFar) in calculateOrthographic() argument
177 m_data->projection(2, 2) = -2.0f / (zFar - zNear); in calculateOrthographic()
178 m_data->projection(2, 3) = -(zFar + zNear) / (zFar - zNear); in calculateOrthographic()
/dports/science/avogadrolibs/avogadrolibs-1.94.0/avogadro/rendering/
H A Dcamera.cpp146 float zNear, float zFar) in calculatePerspective() argument
152 m_data->projection(2, 2) = (zNear + zFar) / (zNear - zFar); in calculatePerspective()
153 m_data->projection(2, 3) = (2.0f * zFar * zNear) / (zNear - zFar); in calculatePerspective()
158 void Camera::calculatePerspective(float fieldOfView, float zNear, float zFar) in calculatePerspective() argument
162 zNear, zFar); in calculatePerspective()
166 float top, float zNear, float zFar) in calculateOrthographic() argument
177 m_data->projection(2, 2) = -2.0f / (zFar - zNear); in calculateOrthographic()
178 m_data->projection(2, 3) = -(zFar + zNear) / (zFar - zNear); in calculateOrthographic()
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/meshlabplugins/filter_img_patch_param/
H A DVisibilityCheck.cpp100 CMeshO::ScalarType zNear, zFar; in init() local
102 if( zNear < 0.0001f ) in init()
103 zNear = 0.1f; in init()
104 if( zFar < zNear ) in init()
105 zFar = zNear + 1000.0f; in init()
247 if( zNear < 0.0001f ) in shadowProjMatrices()
248 zNear = 0.1f; in shadowProjMatrices()
249 if( zFar < zNear ) in shadowProjMatrices()
250 zFar = zNear + 1000.0f; in shadowProjMatrices()
264 m_Proj[2][2] = (zNear+zFar) / (zNear-zFar); in shadowProjMatrices()
[all …]
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgGA/
H A DCameraManipulator.cpp105 double left,right,bottom,top,zNear,zFar; in computeHomePosition() local
106 if (camera->getProjectionMatrixAsFrustum(left,right,bottom,top,zNear,zFar)) in computeHomePosition()
108 double vertical2 = fabs(right - left) / zNear / 2.; in computeHomePosition()
109 double horizontal2 = fabs(top - bottom) / zNear / 2.; in computeHomePosition()
117 if (camera->getProjectionMatrixAsOrtho(left,right,bottom,top,zNear,zFar)) in computeHomePosition()
119 dist = fabs(zFar - zNear) / 2.; in computeHomePosition()
/dports/graphics/jogamp-jogl/jogl/src/jogl/classes/com/jogamp/opengl/math/
H A DMatrix4.java139 …left, final float right, final float bottom, final float top, final float zNear, final float zFar)… in makeOrtho() argument
140 multMatrix( FloatUtil.makeOrtho(mat4Tmp1, 0, true, left, right, bottom, top, zNear, zFar) ); in makeOrtho()
154 …left, final float right, final float bottom, final float top, final float zNear, final float zFar)… in makeFrustum() argument
155 … multMatrix( FloatUtil.makeFrustum(mat4Tmp1, 0, true, left, right, bottom, top, zNear, zFar) ); in makeFrustum()
166 …public final void makePerspective(final float fovy_rad, final float aspect, final float zNear, fin… in makePerspective() argument
167 multMatrix( FloatUtil.makePerspective(mat4Tmp1, 0, true, fovy_rad, aspect, zNear, zFar) ); in makePerspective()
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgGA/
H A DCameraManipulator.cpp108 double left,right,bottom,top,zNear,zFar; in computeHomePosition() local
109 if (camera->getProjectionMatrixAsFrustum(left,right,bottom,top,zNear,zFar)) in computeHomePosition()
111 double vertical2 = fabs(right - left) / zNear / 2.; in computeHomePosition()
112 double horizontal2 = fabs(top - bottom) / zNear / 2.; in computeHomePosition()
120 if (camera->getProjectionMatrixAsOrtho(left,right,bottom,top,zNear,zFar)) in computeHomePosition()
122 dist = fabs(zFar - zNear) / 2.; in computeHomePosition()

12345678910>>...86