Quick Start
发布于:2024-11-21
Install Simulator plugin
Download Style3D Simulator zip file from website: simulator.style3d.com/en
unzip and copy the corresponding version plugin folder for your project
Paste Simulator plugin into your project or unreal engine(only need to choose one option)
Option 1: Paste Simulator plugin into your project
Create a "Plugins" fold under your project files
Paste Simulator plugin into the "Plugins" folder
Option 2: Paste Simulator plugin into Unreal Engine
for example, if use UE5.2, paste into "UE_5.2/Engine/Plugins"
4.Enable plug-in
Check on Meta plugin,restart Unreal Engine project
Log in after successful installation
Export Avatar
Pitch on avatar Skeletal Mesh ,add Style3D component to it
Click Export Obstacle ,avatar will be saved as a .obj file
Create or Modify Garment
Open a Atelier garment project from cloud resource library
Import avatar obj file from the above process
Pich on new avatar, set Attend simulation to Yes
Pitch on other avatars ,set Attend Simulation to NO
Set the new avatar to be displayed ,and other avatars not to be displayed
Adjust the position of cloth to fit the avatar body as much as you can,then click on Simulate button see if the garment fit avatar body correctly. If it is not fit correctly, repeat this step.
Adjust Particle Distance to ensure vertex count less than 50000 for best performance
Export SMD(style3D garment file)
Import SMD to Unreal Engine
Drag SMD into UE content browser
Assemble Garment and Fit Avatar Pose
Add garment to style3D component
Bind garment
Add animation
Check on preview in editor(change on and off) ,preview whether the garment fit avatar pose
Garment Simulate
Set Style3D Runtime mode to GarmentSimulate
Set Solver Property
3.Simulate
Record Garment Cache
Assemble Garment and Fit Avatar pose as above process
Set Runtime Mode to GarmentCacheRecord
Set GarmentCache name
Record Rate Scale: 0.3 is recommended for recording.(larger number will cause more device performance)
Check on Avatar Animation
Check on Save Subfile While Recording
Start record GarmentCache
Play Garment Cache
Add animation asset to the avatar
Assembl garment to style3D component
Set Runtime Mode to GarmentCachePlay
Find the GarmentCache you want under Exist Cahce, copy the name to the Cache to Play
Make sure current Simulator Data Asset and Avatar animation asset match the GarmentCache
Start GarmentCache play
Play Garment Cache in Sequencer
If all the above processes are handled well,the GarmentCache can be played in Sequencer
Create Level Sequencer
Add Avatar track
Add Style3D subtrack
Add GarmentCache subtrack
If Cache added successfully,there will be a slider which you can use to set first frame of the animation.
Add camera and render sequencer