Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - draw a prism
Search - draw a prism - List
在屏幕上任意绘制一个多边形,在计算机内将其表示为一个以此多边形为底面的正n边棱柱(指定高度),棱柱的各面具有不同的颜色。 用Z-Buffer算法做面消隐; 允许以棱柱中心为固定点,通过输入x, y, z方向的转动角度实现任意角度的旋转(或通过鼠标操作实现任意角度的旋转) ; 投影方式:正平行投影,并假设物体始终在裁剪空间内;-On the screen draw an arbitrary polygon, within the computer as a polygon of its represented as a positive for the bottom side of the prism n (specified height), the prism of each side has a different color. Z-Buffer algorithm is used to do face hidden allowed to prism center fixed point, by entering the x, y, z direction of the rotation angle to achieve any angle of rotation (or through the mouse to achieve any angle of rotation) projection mode: Positive parallel projection, and assuming that objects are always cutting space
Date : 2025-12-18 Size : 2.01mb User : 一个新名字
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.