搜索资源列表
Sedgewick
- The table surface is divided into N by M square cells. Some cubes are stacked one upon another over the cells, forming towers. For each cell the number of cubes stacked over it is given in the matrix A. -The table surface is divided into N by M squa
shangchuan
- n皇后算法,多边形裁减,正方体旋转,三角形的绘制与填充,画虚的直线和曲线-n Queen s algorithm, polygon reduction, cube spins, drawing a triangle with the filling, painting imaginary straight lines and curves
1_12_fog
- 12. 在雾中绘制一个立方体,用<C>键控制雾颜色的变化,用<N>键控制雾浓度的变化(0.0-1.0).用<E>键控制雾的开和关. 用<PageUp>和<PageDown>键控制立方体所在的深度-12. In the mist of a cube map, using key control fog <C> color changes, with keys to control fog <N> concentra
touying
- 可以显示任意位置立方体在光源下的投射阴影。a/s/d/o/p/m/n分别可以控制立方体前后左右移动及旋转-Cube can be displayed anywhere in the light under the shadow of the projection. a/s/d/o/p/m/n-cube can be controlled separately before and after the movement and rotation around
magiccube
- 产生n*n魔方阵,如3×3的魔方阵: 8 1 6 3 5 7 4 9 2 魔方阵的排列规律如下: (1)将1放在第一行中间一列; (2)从2开始直到n×n止各数依次按下列规则存放;每一个数存放的行比前一个数的行数减1,列数加1(例如上面的三阶魔方阵,5在4的上一行后一列); (3)如果上一个数的行数为1,则下一个数的行数为n(指最下一行) 例如1在第一行,则2应放在最下一行,列数同样加1; (4)当上一个数的列数为n时,下一
mfsf
- 奇数N*N阶2D魔方填充,即把1-N*N填到NN的格子中,横竖对角之各都想等-2D odd order N* N cube filled, that is 1-N* N grid fill to the NN, the horizontal and vertical angle of the wants and so on
OpenGL_MFC
- 这一些OpenGL在MFC中实现的一些小的例程,可以实现抗锯齿,纹理映射,纹理照明,纹理透明度等。 这些例程创建一种方法实现以下功能: 在一个对话框中画一个简单的立方体并使用OpenGL进行渲染。 可以用鼠标右键菜单操纵物体,改变纹理等。 一个定时器控制的自动旋转。 纹理文件必须是2^n*2^m*24bits的BMP位图。-This is the smallest example to make : Antialiasing Gouraud Textur
Doo-Sabin
- Doo-Sabin细分算法,利用de-boor算法实现对立方体的n次细分-Doo-Sabin subdivision. With de-boor algorithm to subdivision cube subdivision several times
29180553
- n皇后算法,多边形裁减,正方体旋转,三角形的绘制与填充,画虚的直线和曲线,-N queen algorithm, polygon cuts, cube rotation, the drawing of the triangle and filling, draw imaginary lines and curves,
opengl画立方体
- 在VISUAL C++6.0平台下,用OpenGL绘制立方体的实例,给出了几种不同的方法,值得借鉴。(n the VISUAL C++6.0 platform, draw examples of cube with OpenGL, give several different methods, it is worth learning)