PDA

View Full Version : Draping a spline over a mesh


lukec
06-08-2006, 12:33 AM
Hi guys, I got a bit of a problem I could really use a hand on. I'm going to have to appologise as I'm still relatively new in the maxscript game and am still learning. Ive been through the maxscript help files and read the how to move objects to a surface and I understand it pretty much and I get the genereal idea, however I'm trying to adapt that to moving the verts on a spline to a surface and I really have no clue.

Basicly, I have been given a heap of line markings for a job I'm working on in 2D and I have already modeled the 3D road surfaces and I really don't want to have to attempt to do it manually.

Any help would be GREATLY appreciated,

Thanks
Luke

Moosley
06-08-2006, 10:15 AM
Hi!

Have you considered using a reactor rope?

~Simon~

rdg
06-08-2006, 10:54 AM
There is a free plugin called 'glue tool':
http://www.itoosoft.com/

It projects complex splines to terrains.

Georg

joconnell
06-08-2006, 11:17 AM
Also there's a tutorial in the maxscript reference that makes a script called move to surface - it uses raytracing along the z axis to see where a ray hits a mesh surface so you could modify that to make the vertices of your spline move down until they hit the mesh surface. alternatively use shape merge.

lukec
06-08-2006, 10:23 PM
There is a free plugin called 'glue tool':
http://www.itoosoft.com/

It projects complex splines to terrains.

Georg

Ah fantastic - i completely forgot about that one, thanks for that!

joconnell - yeah i had a play with that as i mentioned. I understand it but couldnt adapt it to work with verts on a spline unfortunately.

CGTalk Moderation
06-08-2006, 10:23 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.