procedural set dressing tool
This is a Technical showcase of unreal PCG tool. I want to make a procedural set dressing tool that will randomly generate different props of different size and shape in a realistic way
Create empty Actor blueprint and PCG blue print in Content Drawer and rename them
I placed 5 trigger boxes, they will be the marking for item spawning
mesh sampling the table and use normal to density to get only the top surface point.
Tag each of the trigger boxes from the table blueprint and volume sample them
using the intersection note so the points only appear inside the trigger box
spawning the actor on the points
Repeat this process for each type of props, for this case because I have four different props, so I made 4 copys of the same PCG note
Final result
I want to add some carpet under the table and more details around the shop to look more realistic
So by using intersection note between the landscape the trigger box I was able the spawn point under the table
Finally I added some decorations around the table
this will randomize the location of the frame
this randomize the color of the cloth
The hawker's shop is now complete and looks realistic. It can alter the amount of spice, bags, basket of fruits, and location of individual items.
Final result