At the end of your city creation where you have baked the plots, the roads, and buildings you may need to turn spline and dynamic meshes into static meshes to save great performance.
The process is irreversible and accomplished by using commands in the “PCC_Main_Widget” found in the “ProceduralCityCreator –> PCC_Widget” folder.
Right-click on the “PCC_Main_Widget” and choose “Execute_Widget”.
Move the slider until you see the “Welcome to Bake Spline & Dyna Meshes” widget showing.
– The first button “Click to convert All Spline & Dyna Meshes to Static Meshes” will convert all the spline and dynamic meshes in the scene into static meshes.
The process can take quite some time to finish and possibly crash if there is insufficient RAM.
– That is why it is better to use the second button “Click to convert Spline & Dyna Meshes to Static Meshes (Multiple times)” where you can convert a fixed number of Spline & Dyna meshes per click.
– Note: the “Number of Bakes per Click” attribute is where you put the number of SD meshes to bake per click
– Note: the “Folder Path” refers to the path of the folder in the content browser where to store baked meshes. By default, it is the “PCC_Baked” folder represented with the path /Game/PCC_Baked/.
To use a custom folder, just create one in the content browser, label it correctly, and change “PCC_Baked” with your folder name, for instance, /Game/MyCustom_Folder/.
Baking spline and dynamic meshes to static meshes
1 min read
Updated on March 23, 2024