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