3d - Draw on different side of a cube -


i draw colorcube on scene.

i want draw image on front , image on right side of it.

i know must load image textureloader , add texture

and put texture on cube.but didn't know how put on right side of it.

the colorcube class 'all in one' class quick test purpose. if want create cube particular behavior, texture, color, etc. it's better create 1 scratch.

check links (in french can read code) : http://deven3d.free.fr/java3d/chap03.htm#formesbase http://deven3d.free.fr/telechargements/fichiers/java3d/chap03/box3d/box3d.java http://deven3d.free.fr/telechargements/fichiers/java3d/chap03/quadarray3d/quadarray3d.java


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -