glDepthRange:名稱,參數,描述,筆記,錯誤 - 中文百科全書

文章推薦指數: 80 %
投票人數:10人

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@中文百科全書



請為這篇文章評分?