Scene : Get 3D Object Vertices

Get Object Vertices.png

An attempt to partially remake the beloved Parabox Get Mesh Values.
It only retrieves the vertices, not the other elements.

It is a basic node, could probably be much more powerful, only rechecking the object if it has changed etc, so for a better integrated version polished by the team, vote for the real feature request : Get Object Vertices.
Also, when Vuo gets updated to Metal, I don’t know if I will be able to update it.

I hired the team for help on this node, so thank you very much to @jstrecker for helping me.

You can then search it in the node library also by typing BSS.

Public domain, any improvements or feedback welcome.

PS : you can also download a separate “Reinterpret 3D Object” node. Will probably upload it as a separate node set, but it’s still experimental, the lightning isn’t correctly calculated. This is an attempt at remaking Smokris node for Vuo 1.


Changelog

Version 1.0.2 : Added a Flatten Object port to allow to retrieve the vertices if the object has children. It flattens the object first. Also use this set to true if the object has transformations applied. It would probably be better to scan the children and retrieve their vertices, as well as getting the transformations without flattening the object, but since I don’t know how to achieve that yet, this is a workaround.

bss.scene_.reinterpret.vuonode (12.7 KB)

bss.scene_.getVertices.c.zip (2.11 KB)

bss.scene_.getVertices.vuonode.zip (6.95 KB)

bss.scene_.reinterpret.c.zip (2.24 KB)

Get Object Vertices.png

Capture d’écran 2020-05-09 à 20.40.18.png

Get Object Vertices Example.png

7 Likes