glDepthRange:名稱,參數,描述,筆記,錯誤 - 中文百科全書
文章推薦指數: 80 %
After clipping and division by w, z coordinates range from -1.0 to 1.0, corresponding to the near and far clipping planes. glDepthRange specifies a linear ... glDepthRange glDepthRange-specifythemappingofzvaluesfromnormalizeddevicecoordinatestowindowcoordinates 名稱,參數,描述,筆記,錯誤, 名稱CSPECIFICATIONvoidglDepthRange(GLclampdnear,GLclampdfar)參數near?Specifiesthemappingofthenearclippingplanetowindowcoordinates.Thedefaultvalueis0.far?Specifiesthemappingofthefarclippingplanetowindowcoordinates.Thedefaultvalueis1.描述Afterclippinganddivisionbyw,zcoordinatesrangefrom-1.0to1.0,correspondingtothenearandfarclippingplanes.glDepthRangespecifiesalinearmappingofthenormalizedzcoordinatesinthisrangetowindowzcoordinates.Regardlessoftheactualdepthbufferimplementation,windowcoordinatedepthvaluesaretreatedasthoughtheyrangefrom0.0through1.0(likecolorcomponents).Thus,thevaluesacceptedbyglDepthRangearebothclampedtothisrangebeforetheyareaccepted.Thedefaultmappingof0,1mapsthenearplaneto0andthefarplaneto1.Withthismapping,thedepthbufferrangeisfullyutilized.筆記Itisnotnecessarythatnearbelessthanfar.Reversemappingssuchas1,0areacceptable.錯誤GL_INVALID_OPERATIONisgeneratedifglDepthRangeiscalledbetweenacalltoglBeginandthecorrespondingcalltoglEnd.ASSOCIATEDGETSglGetwithargumentGL_DEPTH_RANGESEEALSO"glDepthFunc","glViewport" 相關詞條 glDepthRangeglDepthRange-specifythemappingofzvaluesfromnormalizeddevicecoordinatestowindowcoordinates... 熱門詞條 沉香破 恩典365 腰果 防踢被 未滿十八歲 entersandman 拜年 居家 擁恆 張書偉 Broken 永春縣 我不受歡迎 蒙特梭利教學法 conduct IHD GUARANTEE 拋磚引玉 Georgia 黑幫之城 橙汁排骨 MacBookAir 楊延昭 純金打造 2013年請假攻略 吳世勛 一騎當千 road glDepthRange@中文百科全書
延伸文章資訊
- 1glDepthRange 函式(Gl) - Win32 apps | Microsoft Docs
GlDepthRange 函式會指定從正規化裝置座標到視窗座標的z 值對應。
- 2how does glDepthRange work? - Stack Overflow
glDepthRange specifies a linear mapping of the normalized depth coordinates in this range to wind...
- 3glDepthRange_百度百科
glDepthRange specifies a linear mapping of the normalized z coordinates in this range to window z...
- 4OpenGL: glDepthRange的理解_Augusdi的博客
与x和y窗口坐标不同,在OpenGL中,z坐标总是被认为位于0.0~1.0的范围之间。可通过glDepthRange()调整。API中队glDepthRange的解释:After clippin...
- 5GL.glDepthRange() - Pike Reference Manual
After clipping and division by w, depth coordinates range from -1 to 1, corresponding to the near...