一个手势控制立方体转动的工程,代码中有非常非常详细的解释以及相关知识点的讲解~
C++代码编写立方体旋转
使用opengl生成一个立方体cube,通过设置可以将相册中的图片贴到cube上,设置为动态壁纸,还可以设置它的背景色、旋转方式、旋转速度、是否透明等。这是我们必修课上做的项目,也是刚学android
用名字堆栈方法实现鼠标拣选GLintviewport[4];GLdoublemvmatrix[16],projmatrix[16];GLintrealy;GLdoublewx,wy,wz;
采用OpenGLAPI编写的例程,一个多彩的立方体转来转去,立体感很强。
自己编的立方体旋转的程序VC6.0环境下初学OpenGLVC图像编程的可能会有点点用吧
C#3D开发构造立方体详细构造立方体六个面的属性使用画刷涂色(注:可以用图像画刷贴纹理)
OPENGL C++编写的 立方体旋转程序
超立方体项目
平面和立方体