Hi All,
I was wondering if somebody has and can share the icosahedron generation code of the OpenGL red book without adding duplicated vertices.
Thanks,
Alberto
Hi All,
I was wondering if somebody has and can share the icosahedron generation code of the OpenGL red book without adding duplicated vertices.
Thanks,
Alberto
I don’t think there is a way.
You probably have to pre-calculate and pre-generate it, get rid of duplicate vertices, then save it to disk as a static C array. Then scale it to whatever radius you want. That’s the fastest way to do it.
Thanks.