Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17825

Genus Calculation again.

$
0
0
I apologize first as I lost track of the previous posting for this topic. I am wondering how do I calculate the genus of a mesh. For instance, if I got a box, just a plain-vanilla box, and if I use the following formula, I will get a genus of 6.... I believe it's wrong. int genus = verts.size() + faces.size() - edges.size(); Blind_Block Genus: 6 When using this one: int genus = (2 + (verts.size() + faces.size() - edges.size())) / 2; I would get: Blind_Block Genus: 4

Viewing all articles
Browse latest Browse all 17825

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>