Widgetize3DMesh, Convert Any Mesh into A 2d Widget

尚未评分

Converts a 3D mesh into a 2D image, so it can be used by a widget.

  • 支持的平台
  • 支持的引擎版本
    5.3 - 5.4
  • 下载类型
    引擎插件
    此产品包含一款代码插件,含有预编译的二进制文件以及与虚幻引擎集成的所有源代码,能够安装到您选择的引擎版本中,并根据每个项目的需求启动。

Taking any mesh and rendering it in real time into a 2d image. This process allows us to render the mesh into a widget. Making this plugin useful for most projects that require dynamic visuals. Projects can range from navigation systems to embedded animation sequences. The plugin is created in C++ for performance. But also utilize blueprints for convenience and user simplicity.

Follow the steps to use the out of the box solution:

1) Open up a "User Widget"

2) Create "Widget_FlattenMesh" child widget

3) Inside the Detail Panel, modify "Object to Load", "Distance Capture", and "Target Mesh Materials"

- Object to Load: The target mesh to render

- Distance Capture: Where the camera will be placed when rendering, farther away will generate a smaller mesh.

- Target Mesh Materials: The Material that will be rendered onto the mesh


Do the following if the desire functionality is to rotate the mesh: 

1) Using that same "Widget_FlattenMesh" child, check the "Is Variable" inside the Details panel.

2) Open up the user widget "Graph" section

3) Inside the desire graph routine, Get the FlattenMesh Variable.

4) Call "Update Target Rotation" from that Variable, with the desire rotation.

技术细节

Features:

  •  CPP plugin that contains a comprehensive class that handles the rendering and converting of any static mesh into a 2d image.
  •  Out of the Box Widget that handles the required business logic for updating the plugin to do the rendering. Can easily be configured, using the details page inside the editor.

Code Modules:

  •  Widgetize3dMesh Module: Runtime type

Number of Blueprints: 10 (3 BP classes,2 Static Mesh, 4 Materials, 1 Texture)

Number of C++ Classes: 2

Network Replicated: No

Supported Development Platforms: Win64

Supported Target Build Platforms: Win64

Documentation: Can find a guide with a step by step guide on creating and using the widget inside the plugin folder under "Docs". The file is called "Widgetize3dMeshGuide.pdf".

Example Project: NO