[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/view Display.java, 1.92, 1.93
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2009-06-22 14:08:41
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv15328/src/net/sourceforge/bprocessor/gl/view Modified Files: Display.java Log Message: Material fixes Index: Display.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/Display.java,v retrieving revision 1.92 retrieving revision 1.93 diff -C2 -d -r1.92 -r1.93 *** Display.java 29 May 2009 11:57:18 -0000 1.92 --- Display.java 22 Jun 2009 13:30:19 -0000 1.93 *************** *** 525,529 **** Vertex n = current.normal(); gl.glNormal3d(n.getX(), n.getY(), n.getZ()); ! float[] color = frontColor(current); if (!transparent(current)) { paint(current, color, 1.0f, false); --- 525,529 ---- Vertex n = current.normal(); gl.glNormal3d(n.getX(), n.getY(), n.getZ()); ! float[] color = backColor(current); if (!transparent(current)) { paint(current, color, 1.0f, false); *************** *** 535,539 **** Vertex n = current.normal(); gl.glNormal3d(-n.getX(), -n.getY(), -n.getZ()); ! float[] color = backColor(current); if (!transparent(current)) { paint(current, color, 1.0f, true); --- 535,539 ---- Vertex n = current.normal(); gl.glNormal3d(-n.getX(), -n.getY(), -n.getZ()); ! float[] color = frontColor(current); if (!transparent(current)) { paint(current, color, 1.0f, true); |