Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Releases: Holit/openglDemo

Release v0.2.0_final

14 Jun 07:48
Compare
Choose a tag to compare
  • fix: 修复了几种光照模型的着色器
  • feat:使用Space提升视角的y轴,Shift降低。
  • feat:使用F5切换渲染的模型
  • bug: 球体模型仍有故障,但是我不想修了

这是一个最终的提交版本,在此版本后不会再继续添加新功能。课程结束后,本repo将被存档。

Release v0.1.1_2306052339-beta

05 Jun 15:40
Compare
Choose a tag to compare
  • feat: 增加光源立方体
  • fix: 修复鼠标旋转问题,修复缩放问题
  • fix: 修复键盘的卡顿问题
  • feat: 允许调整光源数据,例如环境光、反射和漫反射强度,按下Ctrl+Z/X/C键调整这些参数,同时按下Alt键快速调整,并且将在调试界面显示当前值
  • feat: 调试界面显示主渲染物体(正十二面体)的变换矩阵
  • feat: 按下Ctrl+WSAD键移动光源
  • bug: 将camera移动过远将导致边界渲染拉伸错误。

Release v0.1.0_2306020012-beta

01 Jun 16:21
Compare
Choose a tag to compare

实现了所有所需要实现的目标:实现基于简单光照模型的十二面体真实感显示
支持下述操作

  • 自动渲染正十二面体
  • 支持三种渲染算法:Phong、Gouraud和Flat.
  • 鼠标移动时可以进行视角跟随,左键可以进行视角旋转(仍然存在bug)
  • 允许通过WSAD移动摄像机,并且设置了粘滞(即设计上按下一次键不会产生移动)
  • 按下F1切换光照着色器,按下F2显示详细的调试信息框。调试信息框将显示渲染器、OpenGL版本、帧率和摄像机位置。

故障排除

如果出现缺失vcruntime.dll,请自行安装vcruntime 2022,参见此网址
另外本程序设计为使用NVIDA显卡优先,因此暂时没有测试使用其他显卡的情况。如有任何故障,请提请issue。


Achieved the goal: Realistic display of dodecahedron based on simple lighting model.
The following operations are supported

  • Automatically render the dodecahedron
  • Support three rendering algorithms: Phong, Gouraud and Flat.
  • When the mouse moves, the camera can be followed, and the left button can be used to rotate the camera (there is still a bug)
  • Allow camera movement via WSAD, and sticky is set (i.e. by designed pressing a key does not cause movement)
  • Press F1 to switch the lighting shader, press F2 to display the detailed debugging information box. The debug info box will show the renderer, OpenGL version, frame rate and camera position.

troubleshooting

If aborting with missing vcruntime.dll , please install vcruntime 2022, go check here
In addition, this program is designed to use NVIDA graphics card first, so the use of other graphics cards has not been tested for the time being. If there is any glitch, please file an issue.