MAX script Spline Track Maker

Discussion in 'Track Modding' started by Mario Morais, Nov 20, 2012.

  1. Mario Morais

    Mario Morais Registered

    Joined:
    Oct 26, 2010
    Messages:
    1,465
    Likes Received:
    169
  2. Mario Morais

    Mario Morais Registered

    Joined:
    Oct 26, 2010
    Messages:
    1,465
    Likes Received:
    169
    A 1.0f have some UV Mapping bugs.

    a new 1.0g fixed..
     
  3. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    4,010
    Likes Received:
    1,072
    with current version pressing "Request to...." then because I don't have a mailto: link setup something decided to open IE window after IE window!!!! Lucky I was able to open task manager and shutdown the IExplore process before it filled up my RAM. Not happy with that!
     
  4. Mario Morais

    Mario Morais Registered

    Joined:
    Oct 26, 2010
    Messages:
    1,465
    Likes Received:
    169
    ;)
     
  5. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    4,010
    Likes Received:
    1,072
    Yes I understand that... but it may cause major problems for people that don't know how to shut 50 instances of internet explorer down!
     
  6. Mario Morais

    Mario Morais Registered

    Joined:
    Oct 26, 2010
    Messages:
    1,465
    Likes Received:
    169
    seriously now. That does not happen here. You have some problem in your system.
    try install chrome and let chrome handle the mailto.
     
  7. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    4,010
    Likes Received:
    1,072
    I have chrome installed, don't need the mailto: assigned. Just letting you know of the bug when it is not assigned.
     
  8. Mario Morais

    Mario Morais Registered

    Joined:
    Oct 26, 2010
    Messages:
    1,465
    Likes Received:
    169
    Now can set position of Xobjects by distance.
    Can be used to determine DRS distance. :)


    View attachment 10091
     
  9. Radar

    Radar Registered

    Joined:
    Oct 20, 2010
    Messages:
    687
    Likes Received:
    60
    Quick question Mario.. I have a spline with a number of elevation points, I can load it into 3Ds Max no worries but it takes some time to load (have a coffee, wait some more and then it's up (this on 24gb ram)..

    Is it possible to make your tool read the elevation section from what I select (from the spline) rather than reading the whole spline 1st.?..
     
    Last edited by a moderator: Oct 7, 2013
  10. Mario Morais

    Mario Morais Registered

    Joined:
    Oct 26, 2010
    Messages:
    1,465
    Likes Received:
    169
    you import a kml file or a CSV?

    how many points you have?
     
  11. Mario Morais

    Mario Morais Registered

    Joined:
    Oct 26, 2010
    Messages:
    1,465
    Likes Received:
    169
    New version 1.1a

    Install
    1- Go to MAXScript menu and select "Run Script" and chose "SplineTrackmaker_XXX.mzp" file.
    3- Go to “customize user interface” chose menu or toolbar tab. In Category select r “MMtools” and drag "trackmaker" and "PointTools" into a menu or toolbar.
     
  12. Radar

    Radar Registered

    Joined:
    Oct 20, 2010
    Messages:
    687
    Likes Received:
    60
    KML or CSV, both take ages to load due to the number of points, hence asking the question if selecting a section of the spline before reading the elevation would reduce this..

    Number of points, about 2400.
     
  13. Mario Morais

    Mario Morais Registered

    Joined:
    Oct 26, 2010
    Messages:
    1,465
    Likes Received:
    169

    When import the kml use "skip points" to reduce the number of points.

    Can normalize the spline after import. Can use this script
     
  14. Radar

    Radar Registered

    Joined:
    Oct 20, 2010
    Messages:
    687
    Likes Received:
    60
    Cheers Mario, will look at these options.
     
  15. Mario Morais

    Mario Morais Registered

    Joined:
    Oct 26, 2010
    Messages:
    1,465
    Likes Received:
    169
    New version... 1.1b
    Fix normalize spline.
     
  16. Lynkk

    Lynkk Registered

    Joined:
    Nov 8, 2011
    Messages:
    25
    Likes Received:
    0
    Thanks Mario!

    Btw, are you still planning to release your Point tools script? :)
     
  17. Mario Morais

    Mario Morais Registered

    Joined:
    Oct 26, 2010
    Messages:
    1,465
    Likes Received:
    169
    Point Tools is ready comes with SplineTRackmaker. Maybe you mean PointCloud tools.
    PointCloud tools was coded in C# using MAX.net is free for non-commercial use and the Commercial license is USD$675 per 5 seats of 3d Studio Max! :).

    To turn PointCloud tools comercial need to convert the code to c++ and make a plugin.
     
  18. Mario Morais

    Mario Morais Registered

    Joined:
    Oct 26, 2010
    Messages:
    1,465
    Likes Received:
    169
    Attention when creating road EDGES and Terrain Panels!.
    This kind of track objects use the modifier "Turn to Poly" modifier and when the line is crossed the modifier don't work and the result is a none mesh. To fix need to split the lines in different objects to avoid the crossing.
    I will try add a easy split function asap.
     
  19. Mario Morais

    Mario Morais Registered

    Joined:
    Oct 26, 2010
    Messages:
    1,465
    Likes Received:
    169


     
  20. Jka

    Jka Member Staff Member

    Joined:
    Jan 31, 2011
    Messages:
    954
    Likes Received:
    213
    So, you are building Ahvenisto. Not bad at all... ;)
     

Share This Page