From: <ma...@pr...> - 2004-01-26 14:35:43
|
Update of /cvsroot/jrman/drafts/src/org/jrman/parser In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25499/src/org/jrman/parser Modified Files: Parser.java Log Message: Handle correctly polygon "N" parameter in rib. Index: Parser.java =================================================================== RCS file: /cvsroot/jrman/drafts/src/org/jrman/parser/Parser.java,v retrieving revision 1.74 retrieving revision 1.75 diff -C2 -d -r1.74 -r1.75 *** Parser.java 20 Dec 2003 18:13:33 -0000 1.74 --- Parser.java 26 Jan 2004 00:56:10 -0000 1.75 *************** *** 91,1313 **** public class Parser { ! private final static String KEYWORD_PREFIX = ! "org.jrman.parser.keywords.Keyword"; ! private static Color3f tmpColor = new Color3f(); ! private boolean inAreaLightSource; ! private String beginName; [...2337 lines suppressed...] ! String swrap, ! String twrap, ! String filter, ! int swidth, ! int twidth) { ! try { ! MipMap.makeMipMap( ! picturename, ! texturename, ! MipMap.Mode.getNamed(swrap), ! MipMap.Mode.getNamed(twrap), ! filter, ! swidth, ! twidth); ! } catch (IOException e) { ! throw new IllegalArgumentException("Can't create texture: " + picturename); ! } ! } } |