Algorithm to generate multifaced cube?
Posted
by
OnePie
on Game Development
See other posts from Game Development
or by OnePie
Published on 2012-08-17T20:50:48Z
Indexed on
2012/09/17
3:53 UTC
Read the original article
Hit count: 396
Are there any elegant soloution to generate a simple-six sided cube, where each cube is made out of more than one face? The method I have used ended up a horrible and complicated mess of logic that is imopssible to follow and most likely to maintain. The algorithm should not generate reduntant vertices, and should output the indice list for the mesh as well.
The reason I need this is that the cubes vertices will be deformed depending on various factors, meaning that a simple six-faced cube will nto do.
© Game Development or respective owner