Jump to content

Spline with constant slope


jam_ed
 Share

Recommended Posts

Create your ground plane that is sloped 10 degrees, probably create a quad plane and rotate it 10 degrees. Create your road spline in the top view completely flat, run a normalize spline on it, then loft your road shape. Apply an edit poly to both your ground and road. Under "FreeForm Tools" in Graphite choose "Conform". Pick your ground plane as the surface, then paint conform the road down to the ground plane. You'll have to fiddle with the settings and strength, but this will give you a pretty good start.

 

Road.jpg

 

Or use one of these handy scripts:

http://www.scriptspot.com/3ds-max/scripts/terrain-conformer

http://www.scriptspot.com/3ds-max/scripts/poly2surf

 

Remember, there is literally no way anyone is going to be able to measure a constant 10 degree slope in your rendering. So, like hand grenades, just get it close. Getting wrapped up in maths and specifics is just going to burn time and gray your hair.

Link to comment
Share on other sites

Thanks for sharing your thoughts guys.

Unfortunately, for this assignment I do require numeric precision, as my model will be imported into another (client)

 

I still cant believe there's no way to edit a spline like with a helix, where you can pick the height and get a constant slope...

Or even better, get the first and last vertex of a spline then select height or angle for the elevations

 

image.jpg

Link to comment
Share on other sites

Yes Miauu's script seems to do what I was looking for.

He kindly sent me a trial version so I can test it.

 

Practical uses which I'm trying to solve are landscape and infrastructure designing, like modeling curved slopes and flyovers.

Link to comment
Share on other sites

I understand what you are trying to do but it is hard to do and not a common request. I would use the spacing tool and space out a object evenly along the spline of the shape you want, just use as many copies as you need feet or whatever in height and then you can manually adjust the base spline to climb up the hill. Then you can apply a sweep to create the road or path or whatever you are trying to do exactly and I guess a turbosmooth or something to smooth it out because it will be sort of choppy.

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

×
×
  • Create New...