Forum Replies Created
-
AuthorPosts
-
v4vendetaParticipant
我的理解是diffuse项是次表面散射,菲涅尔方程中的refraction部分重新被散射出表面,应该不算在反射项中,ue/disney的做法没有问题
v4vendetaParticipant可以用vulkan configurator启动程序看一下vulkan的报错,以我的经验添加新的pass可能需要单独创建descriptorset和pipeline相关资源,需要通过上一个pass的结果填一个VkDescriptorImageInfo的结构体,通过vkupdatedescriptorset更新资源
v4vendetaParticipant应该将piloteditor设为启动项目
v4vendetaParticipant请将Pilot_Editor设为启动项目
v4vendetaParticipant批改完毕后助教会给回复你的邮件
v4vendetaParticipant此外在运行cmake. 的时候会出现如下错误
[main] Configuring folder: 代码框架
[proc] Executing command: “C:\Program Files\CMake\bin\cmake.EXE” –no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug -Hd:/onedrive/Program/cg/GamesCG/homework/Assignment1/代码框架 -Bd:/onedrive/Program/cg/GamesCG/homework/Assignment1/代码框架/build -G Ninja
[cmake] Not searching for unused variables given on the command line.
[cmake] CMake Error at CMakeLists.txt:4 (find_package):
[cmake] By not providing “FindOpenCV.cmake” in CMAKE_MODULE_PATH this project has
[cmake] asked CMake to find a package configuration file provided by “OpenCV”, but
[cmake] CMake did not find one.
[cmake]
[cmake] Could not find a package configuration file provided by “OpenCV” with any
[cmake] of the following names:
[cmake]
[cmake] OpenCVConfig.cmake
[cmake] opencv-config.cmake
[cmake]
[cmake] Add the installation prefix of “OpenCV” to CMAKE_PREFIX_PATH or set
[cmake] “OpenCV_DIR” to a directory containing one of the above files. If “OpenCV”
[cmake] provides a separate development package or SDK, be sure it has been
[cmake] installed.
[cmake]
[cmake]
[cmake] — Configuring incomplete, errors occurred!
[cmake] See also “D:/onedrive/Program/cg/GamesCG/homework/Assignment1/代码框架/build/CMakeFiles/CMakeOutput.log”.v4vendetaParticipant我也遇到了同样的问题,请问楼主最后是怎么解决的呢?
-
AuthorPosts