Andy wrote: > Hi, I would like to know how to use TriangleStripArray to generate a box. I > know I can use primitive Box in Java3D API but when I set the Box into > wireframe, it doesn't show wireframe, instead it shows white faces, thus I > cannot look at it and learn the way it generate a box. May someone tell me > how to generate a box by using TriangleStripArray? Thanks
Why write one yourself when you can just use the work others have done. http://code.j3d.org/javadoc/org/j3d/geom/BoxGenerator.html -- Justin Couch http://www.vlc.com.au/~justin/ Java Architect & Bit Twiddler http://www.yumetech.com/ Author, Java 3D FAQ Maintainer http://www.j3d.org/ ------------------------------------------------------------------- "Humanism is dead. Animals think, feel; so do machines now. Neither man nor woman is the measure of all things. Every organism processes data according to its domain, its environment; you, with all your brains, would be useless in a mouse's universe..." - Greg Bear, Slant ------------------------------------------------------------------- =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
