Racetrack project: Sweep the red and white turns only at the corner turns

   2643   2   0
User Avatar
Member
45 posts
Joined: 3月 2010
Offline
Hello guys,

I'm building a pseudo-procedural racetrack.

The tarmac is made with a sweep along a curve. The red and white turns are made on a separate curve.

I am facing two problems:

1. How can i make the sweep to apply only on the turns points of the turns curve. I tried grouping but it doesn't work. I also tried after grouping the turns points to apply an Add SOP and after that the Sweep but it also doesn't work. I really don't want to use lots of Sweep SOPs?

In an ideal world of proceduralism:
2. What is the best approach to made the red-white turns based on the racetrack curve (now i am using a separate curve)?

Thank you very much.

Attachments:
race_track_4_proc.hipnc (426.6 KB)

http://kaigaraonline.wordpress.com [kaigaraonline.wordpress.com]
tutorials/tips and tricks for Mobile, Photography, GNU/Linux, 2D, 3D, programming.

http://gofortheredpill.wordpress.com [gofortheredpill.wordpress.com]
Change. And food! ^-^
User Avatar
Member
2629 posts
Joined: 6月 2008
Online
Here is a kind of kludgy way to handle this. Instead of using the Sweep try using a Copy followed up by a Skin. In your scene I have added a couple of Attribute Wrangles to make a custom scale for each of the copies. The candidates that are in the turns_only group get the default scale of 1.0. All other candidates get 0.01. So the Skin still creates them but they are much smaller. You might be able to take the non-turn-candidate scale even lower?
Edited by Enivob - 2016年10月14日 16:20:24

Attachments:
ap_race_track_4_proc.hipnc (456.7 KB)
Untitled-1.jpg (215.4 KB)

Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
45 posts
Joined: 3月 2010
Offline
Thank you for the tip! I will play with your example.
http://kaigaraonline.wordpress.com [kaigaraonline.wordpress.com]
tutorials/tips and tricks for Mobile, Photography, GNU/Linux, 2D, 3D, programming.

http://gofortheredpill.wordpress.com [gofortheredpill.wordpress.com]
Change. And food! ^-^
  • Quick Links