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

Feature Request Access to Mesh innards from VFX graph

Discussion in 'Visual Effect Graph' started by DigitalChaotics, Jan 26, 2023.

  1. DigitalChaotics

    DigitalChaotics

    Joined:
    Dec 18, 2013
    Posts:
    25
    You gave us an operator so we can see the vertex count, and another one that allows us to sample a mesh.
    Thank you.

    NOW, please expose the REST of the major elements inside a Mesh:

    - normals
    - tangents
    - triangles
    - colors
    - uv(x)

    Seems silly that these fields are not already exposed. After all, if you make an operator with the ability to return "vertex count", then you're already 95% of the way there for these other values. Yes, they're arrays... ...so deal with it.
     
  2. PaulDemeulenaere

    PaulDemeulenaere

    Unity Technologies

    Joined:
    Sep 29, 2016
    Posts:
    134
    Hello,
    The sample mesh operator already provides a way to access normals/tangent/..., this settings is available in inspector:
    _sample_mesh.gif
     
    nicloay, shikhrr, Olmi and 2 others like this.
  3. DigitalChaotics

    DigitalChaotics

    Joined:
    Dec 18, 2013
    Posts:
    25
    OHHH!! Nice!!! Yes, I was looking for an inline operator, but this is actually what I needed.

    Note to Self: Look in the Inspector!
     
    PaulDemeulenaere likes this.