Adverti horiz upsell

Road Maker Tool 1.1.0 for Maya (maya script)

Creates and cuts in a road using 2 curves and a terrain mesh.

License
$20.00
(qty: 1)

  • Check 16 Future Updates Included
  • Check 16 Highend3d Quality Checked
  • Check 16 Purchase Guarantee
  • Check 16 Support Included

Compatibility

  • 2017, 2016, 2015, 2014, 2013

Operating Systems

  • Irix
  • Linux
  • Mac
  • Solaris
  • Windows

History

Created:05/19/2016
Last Modified:04/21/2018
File Size: 27.5 KB

Keywords

make, track

 Road Tool -version: 1.1.0
 
Installation:
-Copy the .mel file to your maya scripts directory (eg. c:\users\USERNAME\Maya\2016\scripts)
-Close and reopen Maya if it was open
-Using the script editor, go to File -> Source Script and navigate to the script
-Run the command gem_makeRoadUI;
 
Alternatively, use the code below:
source "gem_roadTool.mel";
gem_makeRoadUI;


-Concept: The tool will speed up the creation of a road/track in maya dramatically. You can either create just a road or create the road and then cut it into the specified terrain geometry

-What it does:
     Creates a GUI and using the specified curves and mesh will create a road and cut & sew it into the terrain mesh.    You will need to specify a road path, a road profile and an optional terrain mesh.

-Explanation of what the buttons do:
    [Road Path] - *can be cubic or linear curve* This is the curve used to create the path that the road will travel along. Can be open or closed.
    [Road Profile] - *Must be a linear curve, front facing Positive Z* This is the form you want the road to take. I'll try and explan this: Bring your eyes down to the ground level with the road and look along it.You'll see the road may slope down at the sides creating and arc, this is the road profile. You can incorporate edging further that the road edge or even gutters/curbs too.Can be used to make caves too, but don't specify a terrain mesh if you do this!!
    [Ground Plane] - Just as the name suggests, the ground mesh you want the road to be cut into.
    [Rib Spacing] - This specifies the spacing between the divisions along the road itself. It will use what ever units your Maya scene is set to.
    [Road Banks?] - Will turn banking on or off for the road on generation.
    [Bank Scale] - specifies how much the road will bank. Unfortunately this is not interactible.
    [Clear Objects] - This will empty out the specified road curves and terrain mesh.
    [MAKE ROAD] - Does what it says.

========================================================
-Notes and Known Bugs/ Limitations in functionality:
    ***Mental Ray is now no longer a requirement for this script. Instead it funcitons by creating a temp light map using a new UV set. None of this is left over when the script has finished.
    Mesh density will affect the length of time the tool takes to create the road and build into the terrain mesh.
    Creating a road that passes out of the border of a mesh may result in some rogue faces left over from the road being cut into the terrain. Easy to fix, but watch out for it.
    Using a closed cubic curve (nurbs circle) as the road profile (cave system) may deliver unexpected results. I'm looking into a way around this now. Just make the curve Linear for now.
    In regards to the road banking scale, the only way to change this is to undo the road creation, change the setting and go again. My recommendadtion is to have no terrain selected to speed up theworkflow until you're happy with the road, then run the tool in full.
    There will be some cleanup needed around the edge of the terrain where the verts are snapped to the road, but when you look at how much was done automatically for you it's not much work at all. :)
========================================================

-Updates:
    -version 1.1.0:
        Recoded how the tool finds the faces underneath the road, Mental Ray is now no longer a requirement.
        Added a progress bar to the UI to show that the tools is actually working and hasn't caused maya to hang.



People who favorited this item:

  • taehwoon
    taehwoon
  • Timmy
    Timmy
  • DAFlique
    DAFlique
  • eben
    eben
  • XxGingerSharkxX
    XxGingerSharkxX
  • Iyare Oronsaye
    Iyare Oronsaye
  • wan helsing
    wan helsing
  • Doug Soares
    Doug Soares