Hi, All
I made a sphere using TriangleStrip Array and I tried to implement flat shading by using ColoringAttributes.
I cant find a change in my 3d model.it is rendered in gouraud shaded mode. ???
I tried this code:
Appearance app = new Appearance ();
ColoringAttributes col = new ColoringAttributes();
col.setShadeModel(3);
col.setColor(0.5f,0.5f,0.5f);
app.setColoringAttributes(col);
I m new to xith, i will try to contribute soon in the forum.
Regards
Rose