注册
登录
模型可视化
>>
LearnOpenGL
>>
返回
项目作者:
golden1232004
项目描述 :
learn openGL
高级语言:
C++
项目主页:
项目地址:
git://github.com/golden1232004/LearnOpenGL.git
创建时间:
2017-03-03T06:50:28Z
项目社区:
https://github.com/golden1232004/LearnOpenGL
开源协议:
下载
Indroduction
hello_triangle
hello_triangle_exercise1.cpp: 绘制两个彼此相连的三角形
hello_triangle_exercise2.cpp: 创建相同的两个三角形,但对它们的数据使用不同的VAO和VBO.
hello_triangle_exercise3.cpp: 创建两个着色器程序,第二个程序使用与第一个不同的片段着色器,输出黄色;再次绘制这两个三角形,其中一个输出为黄色
hello_triangle2.cpp: 使用索引缓冲对象技术
shader
shaders-uniform.cpp: use uniform
shaders-interpolated.cpp: use interpolated
texture
texture_exercise3.cpp: 尝试在矩形上只显示纹理图像的中间一部分,修改纹理坐标,达到能看见单个的像素的效果。尝试使用GL_NEAREST的纹理过滤方式让像素显示得更清晰
transformation
transform.cpp
transform_exercise.cpp:调用glDrawElements画出第二个箱子,只使用变换将其摆放在不同的位置。让这个箱子被摆放在窗口的左上角,并且会不断的缩放(而不是旋转)
coordinate system
coordinate_systems.cpp
coordinate_systems_with_depth.cpp : draw cube
coordinate_systems_multiple_objects.cpp:
about GLM
GLM is a header only library. Hence, there is nothing to build to use it. To use GLM, a programmer only has to include
in his program. This include provides all the GLSL features implemented by GLM.
Reference
LearnOpenGL
GLM