Jump to content

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


rayalez

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.

Link to comment
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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...