top of page

Shelf Generator

2025-02-05 23-30-40.gif

Final Results Showcase:

Problem we are trying to solve:

A tool that can generate shelf mesh and spawn meshes on the shelf

image.png
Solution to the problem:

Sample the static mesh input to get point data

image.png
Graph Review for Spawning Mesh On the Shelf:
image.png
Sample Mesh Input:

First, I set up an actor class blueprint to allow users to use this tool on any static mesh input with a public variable.

Then, I sample the mesh and get point info.

image.png
image.png
Spawn Potion Bottles:

I used two sets of normal to density and density filter nodes to get points that are only facing upwards on the mesh after I used density (attribute) noise to add more position variations for the points. With a transform points node, I was able to randomize offsets, rotations, and sizes for the potion bottles.

image.png
Adding Additional Objects:

By running the results of the first and the second normal to density node, I got points that was filtered out by the second normal to density. After running the output in a density filter node, I used the points to generate more objects. 

image.png
Spawn Shelves on a Spline:

This method is an add-on to the graphs above. After creating a blueprint with spline info, I sampled the spline and used the spline data as the target to copy the points from the static mesh. On top of that, I spawn the shelf mesh so it's also spawning along the meshes with the objects.

image.png
Resource:

All assets used are downloaded from Fab.com

Book shelf image

https://stock.adobe.com/search?k=old+bookshelf&asset_id=340078556 

  • Email
  • LinkedIn

© 2025 by RANRAN JIANG.

bottom of page