algorithmic modeling for Rhino
Hello,
I am currently working on creating tangent lines for a given mesh object to use that as the "instruction" for how that mesh gets created (to eventually allow the game engine to reconstruct that mesh given that instruction), but I am struggling with how I can match the amount/number of vertices in a given mesh and the number of tangent vectors on that mesh so that it can properly get translated and reconstructed in a game engine. Using the "deconstruct mesh" component and my own python script, I was able to extract the information from face value outputs of "deconstruct mesh" component to create the tangent lines, but the amount of "vertices" shown from the "deconstruct mesh" output does not match with the number of tangent vectors. I was considering that the potential correction I need to make is discarding the vector if the particular edge already has a tangent vector on it. However, discarding those "repeats" you still have total number of independent tangent vectors being (number of vertices)+1, which I do not thing is a good sign. Could I receive some help? I may be in a completely wrong direction on this idea.
Thank you!
Tags:
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by