Search Unity

[WIP] YAOS (Yet Another Object Slicer) - images inside

Discussion in 'Works In Progress - Archive' started by CoreGDX, Jul 30, 2013.

  1. CoreGDX

    CoreGDX

    Joined:
    Jul 17, 2013
    Posts:
    4
    Hello Unity Community. I'd like to showcase a small tool I've been working on which allows for in editor and runtime slicing of objects which meet a certain criteria. I'd like to showcase some of the progress here, talk about my future work on the tool and to see if there is any general interest for it.

    So, allow me to list a current specification of what the tool can actually do

    - Ability to slice any convex mesh any number of times in 3D
    - Does not require colliders to function
    - Ability to set a different material for the cut cross section
    - Hallow and Solid cut modes
    - Randomized or Manual cut modes
    - Automatically set collider and rigidbody to slices
    - Automatic instantiation mode (1 function call)

    And, as of course, there are certain limitations to this tool ( * = more notes later)

    - Hallow mode works on both Convex and Concave mesh types
    - Solid mode only works on Convex mesh types
    - Does not work on meshes with multiple materials per submesh*

    Future plans

    - Allow Concave Solid mode
    - Mesh Optimizer, allow merging of co-planar triangles for reduced triangle count at cost of performance
    - Optimized 2D mode, for quickly cutting 2D objects
    - GPU mode for real time cutting of complex meshes

    Below are some images of the WIP Slicer

    Preview Solid Mode Cube Cut with Blend Mode
    $Cut_Fill_Blended.jpg

    Preview Solid Mode Cube Cut with New Material Mode
    $Cut_Fill_DiffMat.jpg

    Preview Hallow Mode Cube Cut with Blend Mode
    $Cut_Hallow_Blended.jpg

    Preview Hallow Mode Cube Cut with New Material Mode
    $Cut_Hallow_DiffMat.jpg

    Preview Capsule Cut, Shamelessly exposing the obvious bug with the normals :D
    $Cut_Capsule.jpg


    I would like to know, is there any interest for such a tool out there? If I complete it, how competitive would it be with whatever is currently out there for Unity, and if interested, how much would you rate it to be worth? (currently thinking $5 so I can afford some pizza and programming juice)

    Thank you for looking :grin:
     
  2. CoreGDX

    CoreGDX

    Joined:
    Jul 17, 2013
    Posts:
    4
  3. Swearsoft

    Swearsoft

    Joined:
    Mar 19, 2009
    Posts:
    1,632
    Well the most requested feature for slicing is Skinned Mesh slicing. I own Limb Hacker and it's not really awesome, there is a lot of room for improvement.