更新RM
parent
fc4a073905
commit
1fe69cd629
16
ReadMe.md
16
ReadMe.md
|
@ -10,6 +10,22 @@
|
||||||
3. 支持模型的PBR材质渲染
|
3. 支持模型的PBR材质渲染
|
||||||
4. 使用基于IBL的环境光照
|
4. 使用基于IBL的环境光照
|
||||||
|
|
||||||
|
#### 展示
|
||||||
|
|
||||||
|
展示使用录制的GIF并转换为animated webp,存在**画质损失**,仅供参考
|
||||||
|
|
||||||
|
详细效果建议在[版本发布](https://gitea.inksoul.top/inksoul/plumageRender/releases)中下载源代码.zip(包含模型和shader)
|
||||||
|
|
||||||
|
基本效果:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
动画:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
#### 下一步计划(等待研究生考试结束)
|
#### 下一步计划(等待研究生考试结束)
|
||||||
|
|
||||||
1. 引入spdlog日志库,细化日志(正在做)
|
1. 引入spdlog日志库,细化日志(正在做)
|
||||||
|
|
Binary file not shown.
|
@ -1,7 +1,7 @@
|
||||||
# Function for building single homework
|
# Function for building single homework
|
||||||
function(buildHomework HOMEWORK_NAME)
|
function(buildHomework HOMEWORK_NAME)
|
||||||
SET(HOMEWORK_FOLDER ${CMAKE_CURRENT_SOURCE_DIR}/${HOMEWORK_NAME})
|
SET(HOMEWORK_FOLDER ${CMAKE_CURRENT_SOURCE_DIR}/${HOMEWORK_NAME})
|
||||||
message(STATUS "Generating project file for homework in ${HOMEWORK_FOLDER}")
|
message(STATUS "Generating project file in ${HOMEWORK_FOLDER}")
|
||||||
# Main
|
# Main
|
||||||
file(GLOB SOURCE *.cpp ${BASE_HEADERS} ${HOMEWORK_FOLDER}/*.cpp)
|
file(GLOB SOURCE *.cpp ${BASE_HEADERS} ${HOMEWORK_FOLDER}/*.cpp)
|
||||||
SET(MAIN_CPP ${HOMEWORK_FOLDER}/${HOMEWORK_NAME}.cpp )
|
SET(MAIN_CPP ${HOMEWORK_FOLDER}/${HOMEWORK_NAME}.cpp )
|
||||||
|
|
|
@ -220,7 +220,7 @@ PlumageRender::PlumageRender()
|
||||||
const std::string assetpath = getAssetPath();
|
const std::string assetpath = getAssetPath();
|
||||||
|
|
||||||
if (_access(assetpath.c_str(),0) != 0) {
|
if (_access(assetpath.c_str(),0) != 0) {
|
||||||
std::string msg = "Could not locate asset path in \"" + assetpath + "\".\nMake sure binary is run from correct relative directory!";
|
std::string msg = "Could not locate asset path in \"" + assetpath + "\".\nMake sure binary is running from correct relative directory!";
|
||||||
std::cerr << msg << std::endl;
|
std::cerr << msg << std::endl;
|
||||||
system("pause");
|
system("pause");
|
||||||
//exit(-1);
|
//exit(-1);
|
||||||
|
|
Loading…
Reference in New Issue