C++高性能并行编程与优化 - 课件 - 09 CUDA C++ 流体仿真实战CUDA 编译器,链接 OpenVDB 在 Blender 中查看导出的结果 边界条件 边界条件:初始化 边界条件:添加判断边界的版本 边界条件:仅在第一层额外判断边界条件 进一步改进 VDB 导出:支持导出多个网格,并指定名称 进一步改进 VDB 导出: P-IMPL 模式 进一步改进 VDB 导出: F-IMPL 模式 Blender 渲染结果 改进 改进边界条件:外部边界流出而不是反弹,内部边界可以流出速度 改进边界条件:外部边界流出而不是反弹,内部边界可以流出速度 Blender 中调整一下材质 Blender 中调整一下材质 改进对流:让烟雾随时间逐渐褪色 改进对流:让烟雾随时间逐渐褪色 改进褪色:不是褪色 density ,而是褪色 temperature 改进褪色:不是褪色 density ,而是褪色 temperature 改进褪色:不是单纯地乘以 decayRate ,还和周围环境温度求平均值0 码力 | 58 页 | 14.90 MB | 1 年前3
Back to Basics: The Factory Patternpattern is actually used ○ grep -irn “factory” . ● The answer is yes! ● https://github.com/blender/blender ● ● ●Factory Method/Pattern Usage (5/6) 81 ● I dug around a few open source projects to see0 码力 | 93 页 | 3.92 MB | 6 月前3
Back to Basics: Smart Pointersdur=std::chrono::system_clock::now() - st(); std::cout << dur.count(); Pointer Time Available Since new 2.93 s C++98 std::unique_ptr 2.96 s C++11 std::make_unique 2.84 s C++14 std::shared_ptr 6.00 s C++110 码力 | 30 页 | 625.43 KB | 6 月前3
What's New in Visual Studio 2022915 505 272 878 1059 2886 0 500 1000 1500 2000 2500 3000 3500 Unreal Engine 5 TensorFlow Blender AAA Game 3 AAA Game 2 AAA Game 1 Time in Seconds (Lower is better) VS 17.5 VS 17.7In Visual0 码力 | 55 页 | 3.27 MB | 6 月前3
C++高性能并行编程与优化 - 课件 - 05 C++11 开始的多线程编程函数,从而保证 pool 解 构时会自动等待全部线程执行完毕。 小彭老师快乐吐槽时间 • 多线程、异步、无阻塞、并发,能提升程序响应速度,对现实世界中的软件工程至关重要 。 • 反面教材: blender 在运行物理解算的时候,界面会卡住,算完一帧后窗口才能刷新一遍 ,导致解算过程中基本别想做事,这一定程度上归功于 opengl 原始的单线程设计。 • 正面教材: zeno 可以在解算过程中0 码力 | 79 页 | 14.11 MB | 1 年前3
PyMuPDF 1.24.2 Documentationpymupdf.pdf 0.11 0.56 0.83 6.05 pythonbook.pdf 0.19 1.2 1.34 37.19 sample-50-MB-pdf-file.pdf 0.12 0.1 2.93 0.08 Total 3.05 10.54 33.57 494.04 Rate compared to PyMuPDF 1.0 3.5 11.0 162 31.4 Text Extraction0 码力 | 565 页 | 6.84 MB | 1 年前3
Hyperledger Fabric 2.1.1 Documentationas the one above. When to use which type of heading. Check out this topic on headings [http://blender-manual- i18n.readthedocs.io/ja/latest/about/markup_style_guide.html?highlight=tooltip#headings]0 码力 | 816 页 | 10.25 MB | 1 年前3
Hyperledger Fabric 2.1 Documentationas the one above. When to use which type of heading. Check out this topic on headings [http://blender-manual- i18n.readthedocs.io/ja/latest/about/markup_style_guide.html?highlight=tooltip#headings]0 码力 | 904 页 | 10.95 MB | 1 年前3
Julia 1.11.4function with 1 method) julia> @time @eval foo(); 0.252395 seconds (1.12 M allocations: 56.178 MiB, 2.93% gc time, 98.12% compilation time) julia> @time @eval foo(); 0.000156 seconds (63 allocations: 20 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.5 Documentationfunction with 1 method) julia> @time @eval foo(); 0.252395 seconds (1.12 M allocations: 56.178 MiB, 2.93% gc time, 98.12% compilation time) julia> @time @eval foo(); 0.000156 seconds (63 allocations: 20 码力 | 2007 页 | 6.73 MB | 3 月前3
共 19 条
- 1
- 2













