使用glOrtho函数可以将当前的可视空间设置为正投影空间。基参数的意义,如果绘制的图空间本身就是二维的,可以使gluOrtho2D.他的使用类似于glOrtho.

设置或修改修剪空间的范围

void glOrtho(GLdouble left,GLdouble right,GLdouble bottom,GLdouble top,GLdouble near,GLdouble far);

glOrtho就是一个正射投影函数。它创建一个平行视景体。实际上这个函数的操作是创建一个正射投影矩阵,并且用这个矩阵乘以当前矩阵。其中近裁剪平面是一个矩形,矩形左下角点三维空间坐标是(left,bottom,-near),右上角点是(right,top,-near);远裁剪平面也是一个矩形,左下角点空间坐标是(left,bottom,-far),右上角点是(right,top,-far)。所有的near和far值同时为正或同时为负。如果没有其他变换,正射投影的方向平行于Z轴,且视点朝向Z负轴。这意味着物体在视点前面时far和near都为负值,物体在视点后面时far和near都为正值。

glOrtho

glOrtho -- multiply the current matrix by an orthographic matrix

C SPECIFICATION

void glOrtho(GLdouble left,GLdouble right,GLdouble bottom,GLdouble top,GLdouble near,GLdouble far)

PARAMETERS

left, right

Specify the coordinates for the left and right vertical clipping planes.

bottom, top

Specify the coordinates for the bottom and top horizontal clipping planes.

相关查询: glOrtho 正投影 gluOrtho 类似于 glOrtho.
最新查询:graminis 沿岸地区 严刑峻法 顾问公司 以太网 王洪文 л���ǻ����Ⱥ�� 玉米粉 田边地头 惟我独尊 欧几里得 PhilJoanou 东台市 陆培炎 行草五律诗 多瑙河 足球迷 硬核嗓 紫山先生大全集 李集乡 运城市民政局 初级线圈 艺术•生活 高江 储备粮 Soledad ¹կ�� 众人皆知 椿山科长七日间 标志牌 Paulista Peasawerk Schifters Arbalet suspended Baltistan Bru-sha Younger tumefaciens Grenoble Sandwich ealdorman TF-104G SophosLabs 9779432 Garavani Sensibility Prokaryotic azureus CAMBRIDGE Francolin Lucanidae individuals richard Baltistn Mauritians maningayo Bibliography 芝山岩 Vytegra sakatan Centavos Polterabend balance player. Certified Pentium incorporated Haggadah alderman Antonius heihe Sedimentary Toblach Aircraft Eumenides lcpd battery Symbols glOrtho
友情链接: 知道 电影 百科 好搜 问答 微信 值得买 巨便宜 天天特价 洛阳汽车脚垫 女装 女鞋 母婴 内衣 零食 美妆 汽车 油价 郑州 北京 上海 广州 深圳 杭州 南京 苏州 武汉 天津 重庆 成都 大连 宁波 济南 西安 石家庄 沈阳 南阳 临沂 邯郸 保定 温州 东莞 洛阳 周口 青岛 徐州 赣州 菏泽 泉州 长春 唐山 商丘 南通 盐城 驻马店 佛山 衡阳 沧州 福州 昆明 无锡 南昌 黄冈 遵义
© 2026 haodianxin 百科 豫ICP备14030218号-3 消耗时间:0.018秒 内存0.85MB 2025-09-16 06:35:41