This repository has been archived by the owner on Jul 12, 2023. It is now read-only.
Release v0.1.0_2306020012-beta
Holit
released this
01 Jun 16:21
·
11 commits
to master
since this release
实现了所有所需要实现的目标:实现基于简单光照模型的十二面体真实感显示。
支持下述操作
- 自动渲染正十二面体
- 支持三种渲染算法: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.