Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Procedural mesh generation library wanted

Discussion in 'Scripting' started by dpoly, Sep 7, 2020.

  1. dpoly

    dpoly

    Joined:
    Nov 10, 2016
    Posts:
    35
    Before I settle down and write a few thousand lines of code to generate a range of procedural meshes, I wonder if anyone can point me to an existing library?

    Basically I want to do procedurally, at run-time, the kind of things you can do manually in ProBuilder: create a mesh, extrude, subdivide, bevel, UV-map, etc. The code isn't that hard, there's just a lot of it!
     
  2. neoshaman

    neoshaman

    Joined:
    Feb 11, 2011
    Posts:
    6,469
    well pro builder is a package, you can probably see the whole script and hijack teh function
     
  3. adamgolden

    adamgolden

    Joined:
    Jun 17, 2019
    Posts:
    1,497
  4. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,762
    adamgolden likes this.
  5. dpoly

    dpoly

    Joined:
    Nov 10, 2016
    Posts:
    35
  6. dpoly

    dpoly

    Joined:
    Nov 10, 2016
    Posts:
    35
  7. adamgolden

    adamgolden

    Joined:
    Jun 17, 2019
    Posts:
    1,497
    You're right - but it's a free resource, mentioned in the hope it might save you some time.
     
  8. dpoly

    dpoly

    Joined:
    Nov 10, 2016
    Posts:
    35
    Last edited: Sep 14, 2020