Jump to content
Sign in to follow this  
rayalez

Creating procedural walls by copying modelled wall segment along the curve?

Recommended Posts

I want to create a procedural wall asset by copying modelled wall segment along the curve. In the tutorials I could find, people usually just sweep the curve with some profile, and that's less than ideal, because you can't just model any kind of wall segment with complex geometry.

My goal is to be able to draw the curve of any shape, and automatically turn it into a wall by copying wall segments onto it's points - at a correct distance, with the correct orientation.

Can you guys help me out?

I think the biggest challenge is making the wall segments point into the right direction, because I don't really know how to generate normals for points on a cruve in a way that will consistently make them point "outside" the building.

Share this post


Link to post
Share on other sites

You'll want a polyframe SOP then. Fiddle with the settings, it'll do what you want.

 

If that doesn't work you'll probably need to do a double cross product with the normal and the vector towards the "center" of your building.

Share this post


Link to post
Share on other sites

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

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×