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

3d Mesh Drawing

Discussion in 'Scripting' started by playholding, Mar 1, 2020.

  1. playholding

    playholding

    Joined:
    Sep 26, 2018
    Posts:
    8
    Hello, is there a plugin or a script which can achieve this kind of procedural mesh generation

     
    Last edited: Mar 2, 2020
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,797
  3. playholding

    playholding

    Joined:
    Sep 26, 2018
    Posts:
    8
    @Kurt-Dekker Thanks for the reply I will check it out . I managed to take all the points from the line render on the UI the part I needed is to generate the mesh from the points taken from the line renderer
     
  4. playholding

    playholding

    Joined:
    Sep 26, 2018
    Posts:
    8
    I checked you sample - this is not exactly what I needed . I am able to draw on the canvas and extracted the points from the line render. I need a solution to provide the mesh renderer with an array of point to generate a 3D mesh like the in the game
     
  5. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,797
    Which ... is exactly what happens in MakeGeo. :)

    You don't provide MeshRenderers with "arrays of points."

    You provide them with Meshes, Meshes that are served to them via MeshFilters.

    All of that happens in many different ways in MakeGeo. Good luck!
     
  6. davitsedrakian

    davitsedrakian

    Joined:
    Jun 23, 2018
    Posts:
    30
    @playholding have you found the proper solution for this ?
     
  7. Xain

    Xain

    Joined:
    Aug 3, 2013
    Posts:
    68
    @davitsedrakian Have you find anything? I'm also interesed in this, does anyone have example or anything?
     
  8. NikhilKasar

    NikhilKasar

    Joined:
    Jun 23, 2019
    Posts:
    2

    I saw your package and I want to achieve some goal to generate mesh based on the player's drawing and I think testmake extrusion from your package might help but don't have any idea how I can link it with player input Plzz help
     
    Last edited: Dec 3, 2020
  9. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,797
    You definitely need to work through three or four Unity tutorials off youtube. Nobody here is going to type all the stuff you need to learn to do that when it's already out there for free!
     
  10. mahmudex

    mahmudex

    Joined:
    Mar 14, 2015
    Posts:
    1
    Can you share some tutorials? That would be really great
     
  11. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,797
    I suggest you figure out exactly what you want to do, and try:

    unity tutorial (exactly what I want to do)


    on google and see what comes up.