Re: [JAVA3D] Problems with a Polygon J2ME (test source valid)

2005-03-22 Thread Fredrik Andersson
Hello! I solved it with this: PolygonMode polygonMode = new PolygonMode (); polygonMode.setCulling(PolygonMode.CULL_NONE); polygonMode.setPerspectiveCorrectionEnable(true); Appearance appearance = new Appearance(); appearance.setTexture(0, texture); appearance.setMaterial(material); appearance.setP

[JAVA3D] Problems with a Polygon J2ME (test source valid)

2005-03-22 Thread Fredrik Andersson
Hello! This is actually a app for J2ME but since it includes 3D-programing I am pretty sure that you guys are the best to help me. I'm struggle with geometry cordinates and texture cordinates. I trying to create a polygon with 8 corners, just a plane surface. Something like this: __ / \ || \_