Back to Basics: The Factory Patterncreating, we’ll pass in a callback function for that type. This is one way you could implement a ‘plugin system’ to your software.The Goal is to allow us at run-time to create new types (4/4) 73 ● And pattern 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
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
C++ in the CloudC++ in the Cloud One NIF at a Time with Elixir Sakshi Verma | Senior Software Engineerhttps://www.linkedin.com/in/sakverma Functional, concurrent language built for scalability. Ideal for managing shared library Loaded into Erlang VM at startuphttps://www.linkedin.com/in/sakverma Why Write a NIF? Erlang/Elixir ≠ CPU-heavy tasks. 01 Direct hardware interaction. 02 Interop with graphics com/in/sakverma NIF Code: A Closer Lookhttps://www.linkedin.com/in/sakverma #includenif.h> #include ERL_NIF_TERM xgboost_build_info(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[]) 0 码力 | 14 页 | 609.86 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
Plug-in Based Software Architecture for RoboticsOutline ● What is plugin architecture? ● Why use plugin architecture? ● Designing a simplified plugin architecture ● Library used in robotics to implement plugin based system ○ Pluginlib ● Case study for plugin architecture - MoveIt ● Limitations ● Summary 2Introduction •Abi Sivaraman •Robotics Engineer at PickNik Robotics •I work with robotic arms •MoveIt Maintainer 3What is plugin architecture Plug-ins are self-contained modules that are loaded into the system at runtime. 4Components of plugin architecture 1. Core - Defines how the system operates and provides interface 2. Plugins - Stand-alone0 码力 | 75 页 | 2.40 MB | 6 月前3
Dynamically Loaded Libraries Outside the Standard0: Dependent libraries • Level 1: Delay loading • Level 2: Foreign linkage modules • Level 3: Plugin systems How dynamic is dynamic?45 CppCon 2021 | • If we view the whole program in memory as a “C++ PLUGINAPP_API LPPLUGINSTRUCT plugin_app_create_plugin(void); PLUGINAPP_API void plugin_app_destroy_plugin(LPPLUGINSTRUCT); PLUGINAPP_API const gchar* plugin_app_get_plugin_name(void); PLUGINAPP_API gchar* plugin_app_get_plugin_provider(void); PLUGINAPP_API const gchar* plugin_app_get_menu_name(void); PLUGINAPP_API const gchar* plugin_app_get_menu_category(void); PLUGINAPP_API void plugin_app_run_proc(void);0 码力 | 100 页 | 3.98 MB | 6 月前3
Conan 2.9 Documentationcapability of being able to sign and verify software packages. This extension point will soon get a plugin implementation based on Sigstore. 2.14 Package immutability optimizations The thorough use of revisions convenient to, for example, keep better traceability of our tools. In this case, the compatibility.py plugin can help to locate the best matching binary in case Conan doesn’t find the binary for our specific 6.2 CLion 6.2.1 Introduction There’s a plugin available in the JetBrains Marketplace that’s compatible with CLion versions higher than 2022.3. With this plugin, you can browse Conan packages available0 码力 | 795 页 | 4.99 MB | 11 月前3
Conan 2.8 Documentationcapability of being able to sign and verify software packages. This extension point will soon get a plugin implementation based on Sigstore. 2.14 Package immutability optimizations The thorough use of revisions convenient to, for example, keep better traceability of our tools. In this case, the compatibility.py plugin can help to locate the best matching binary in case Conan doesn’t find the binary for our specific 6.2 CLion 6.2.1 Introduction There’s a plugin available in the JetBrains Marketplace that’s compatible with CLion versions higher than 2022.3. With this plugin, you can browse Conan packages available0 码力 | 785 页 | 4.95 MB | 11 月前3
Conan 2.10 Documentationcapability of being able to sign and verify software packages. This extension point will soon get a plugin implementation based on Sigstore. 2.14 Package immutability optimizations The thorough use of revisions convenient to, for example, keep better traceability of our tools. In this case, the compatibility.py plugin can help to locate the best matching binary in case Conan doesn’t find the binary for our specific 6.2 CLion 6.2.1 Introduction There’s a plugin available in the JetBrains Marketplace that’s compatible with CLion versions higher than 2022.3. With this plugin, you can browse Conan packages available0 码力 | 803 页 | 5.02 MB | 11 月前3
共 93 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10













