[GEM-dev] Drawing textured dice

Frank Barknecht fbar at footils.org
Sun Aug 12 12:26:45 CEST 2007


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__




More information about the GEM-dev mailing list