资源列表
3D_Modelling_example_code
- 使用visual C++编写的openGL代码,展示了3D_modelling的例子(The openGL code written in visual C++ shows an example of 3D_modelling)
cube
- VS2012+OpenGL绘制简单立方体(VS2012+OpenGL draw a simple cube)
openglTheFiveStarRedFlag
- 在MFC平台上,利用OpenGL通过shader画五星红旗(Draw a five star red flag with OpenGL)
opengl
- 三维曲面(球面、圆柱面或按正弦函数起伏的曲面),设置合适的光源及材质,应用环境光、漫反射及镜面反射,显示有光照效果的曲面图形,可以改变光源的位置及材质,观察光照效果的变化。(Three dimensional surface (spherical and cylindrical surface or by the ups and downs of the sine function), light and suitable materials, application of ambient li
Juego2D
- Game build in 2D using Opengl and Freeglut
Phong-shading-and-texture-maping
- Phong shading 和 texture mapping的基础实现(A basic implement of Phong Shading and texture mapping)
graphic lighting
- lighting in the photo by using openjl
GraphicProject
- big project from scratch by using OpenGL
code
- 1、利用OpenGL函数画一个三维物体; 2、利用鼠标或键盘控制三维物体在屏幕上移动、旋转和放缩 (1)移动:不能直接调用OpenGL几何变换函数,运用齐次坐标,采用矩阵相乘的方式自己编程实现; (2)旋转、放缩可以调用OpenGL函数(1. Draw a three-dimensional object by using the OpenGL function; 2. Use the mouse or keyboard to control the movement, rotation
code2
- 1、用鼠标拖动画直线,线段终点始终跟随鼠标移动; 2、使用菜单界面修改直线的颜色; 3、利用键盘控制直线在屏幕上移动;(1, using the mouse to drag the straight line, the end of the line is always followed by the mouse movement; 2, use the menu interface to modify the color of the straight line. 3, use th
code
- 用Bresenham画线算法实现水平、垂直、斜率大于1、斜率小于1、斜率为正、斜率为负等各种情况(不能直接调用OpenGL画线函数)。(Using Bresenham line drawing algorithm to achieve horizontal, vertical, slope greater than 1, slope is less than 1, slope is positive, slope is negative, and so on, and can not direc
code
- 1、画一条Bezier样条曲面,包含4*4个控制点; 2、用鼠标调整控制点的位置,观察曲面变化(1, draw a Bezier spline surface, including 4*4 control points; 2. Adjust the position of the control point with the mouse and observe the change of the surface)