# Procedural tower

## Recommended Posts

I' d like to model a procedural tower

I'd like to generate points to copy planks but not on first and last points, and be able to randomize points positions.

My purpose is to be able to load planks from megascan and copy then to create this tower procedurally

Any idea ?

Thanks for your help

##### Share on other sites

What did you try so far?

##### Share on other sites

here is what I've tried

hdni_tower.hiplc

##### Share on other sites
1 hour ago, davidyannick said:

here is what I've tried

I will try to open it and give you more detailed answer if I find time, but right now, from the top of my head, something like - using a base geo (box) separate side prims based on normal, on each prim keep just corner points, make two lines out of it, scatter points on each line, sort, group by range and create attributes to be able to use add sop to create lines as you want your planks (this is for diagonal ones, for the top ones you have to figure out yourself but it is the same principle). Then I would split each segment of the polyline and take it into a loop to make points and calculate the orientation based on coordinates of points of the line segment. Then copy-to-points the planks from megascans, using the orient to make them sit on the point which is in the middle of the line, but orienting following up vector and normal. I hope it makes sense

##### Share on other sites
1 hour ago, skomdra said:

I will try to open it and give you more detailed answer if I find time, but right now, from the top of my head, something like - using a base geo (box) separate side prims based on normal, on each prim keep just corner points, make two lines out of it, scatter points on each line, sort, group by range and create attributes to be able to use add sop to create lines as you want your planks (this is for diagonal ones, for the top ones you have to figure out yourself but it is the same principle). Then I would split each segment of the polyline and take it into a loop to make points and calculate the orientation based on coordinates of points of the line segment. Then copy-to-points the planks from megascans, using the orient to make them sit on the point which is in the middle of the line, but orienting following up vector and normal. I hope it makes sense

gonna try this thanks

##### Share on other sites

doesn't this help ? you started the thread

##### Share on other sites
20 minutes ago, Noobini said:

doesn't this help ? you started the thread

this time no, because I'd like to generate random points and then copy (instance) of planks from megascan

## Create an account or sign in to comment

You need to be a member in order to leave a comment

## Create an account

Sign up for a new account in our community. It's easy!

Register a new account