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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Generative 3D mesh generation in Unity?

Discussion in 'General Discussion' started by callumr3, Oct 23, 2015.

  1. callumr3

    callumr3

    Joined:
    Oct 23, 2015
    Posts:
    4
    Hello,

    I am working on a project that turns tweets into generated 3D forms.
    I am new to Unity but think it could be the best option for my project.

    My question is: Can I generate fairly complex (See Ernst Haeckel) 3D forms in Unity?

    I am currently using Processing.js to access the twitter API so ideally I would be sending data from Processing to Unity to drive the appearance of a 3D form.

    Thanks!
     
    Ony likes this.
  2. RockoDyne

    RockoDyne

    Joined:
    Apr 10, 2014
    Posts:
    2,234
    callumr3 likes this.
  3. zombiegorilla

    zombiegorilla

    Moderator

    Joined:
    May 8, 2012
    Posts:
    8,986
    Sure, as @RockoDyne pointed out, the API is there to do whatever you want.

    But the main reason I chimed in, is to say that is a fascinating concept, and could be really cool. Please update us at it progresses. Good luck!
     
    Ony and callumr3 like this.
  4. Voronoi

    Voronoi

    Joined:
    Jul 2, 2012
    Posts:
    571
    Be sure to look up Medusae, created in Cinder -
    I believe Marcin had much of his code concept in a blog at some point, might be a good resource for making Haeckel type procedural images.
     
    callumr3 likes this.
  5. Tanel

    Tanel

    Joined:
    Aug 31, 2011
    Posts:
    508
    callumr3 likes this.
  6. AlanGameDev

    AlanGameDev

    Joined:
    Jun 30, 2012
    Posts:
    437
    Generating meshes, specially complex 'organic' ones at runtime is generally not easy. Vertex and triangles are easy enough, but uv maps and normals are really a pain.

    I highly recommend a modular approach if possible. I've been using modules for everything procedural these days and so far the results are really good in terms of dev time, speed and end result. You can use 'sub-modules' for even more variations (e.g.: a dungeon generator could have modules for the 'rooms' to connect, but the rooms themselves could be made of modules (tiles, walls, etc.)).
     
    callumr3 likes this.
  7. callumr3

    callumr3

    Joined:
    Oct 23, 2015
    Posts:
    4
    Thanks for all your replies! If all goes to plan, i'll post my progress here!
     
  8. davedev

    davedev

    Joined:
    Jan 12, 2009
    Posts:
    70
    everyday3d.com had some good Unity mesh resources. Sites been redesigned and looks nice, but things have been moved around. You'll have to search around for resources, but here's some stuff on meshes.