Hallo,
I'd like to draw dice in Gem, complete with textures that show the 1 to 6 dots correctly on each cube side. A tedious approach would be to draw six [square]s, texture them and translate and rotate them to the six sides of the cube. However I wonder, if there also is a way to do this by texturing [cube] directly in a smart way. Is this possible and does anyone have any pointers to a tutorial or maybe a ready-made patch?
Ciao
Hi, I have done it with squares and it is fine. See the attached patch.
a
2007/8/12, Frank Barknecht fbar@footils.org:
Hallo,
I'd like to draw dice in Gem, complete with textures that show the 1 to 6 dots correctly on each cube side. A tedious approach would be to draw six [square]s, texture them and translate and rotate them to the six sides of the cube. However I wonder, if there also is a way to do this by texturing [cube] directly in a smart way. Is this possible and does anyone have any pointers to a tutorial or maybe a ready-made patch?
Ciao
Frank Barknecht _ ______footils.org_ __goto10.org__
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev