/[gzz]/gzz/gzz/gfx/gl/PaperMill.java
ViewVC logotype

Diff of /gzz/gzz/gfx/gl/PaperMill.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by tjl, Wed Oct 23 13:45:37 2002 UTC revision 1.7 by tjl, Mon Jan 27 11:35:43 2003 UTC
# Line 26  import gzz.client.GraphicsAPI; Line 26  import gzz.client.GraphicsAPI;
26  import org.python.util.PythonInterpreter;  import org.python.util.PythonInterpreter;
27    
28  public abstract class PaperMill {  public abstract class PaperMill {
29    
30        /** Get the paper corresponding to the given seed.
31         */
32      public abstract Paper getPaper(int seed);      public abstract Paper getPaper(int seed);
33    
34        /** Get an optimized (rendered-to-texture) paper.
35         * This will usually return a paper with a single
36         * pass and single
37         * texture, in which case you can set the texture environment
38         * (or fragment program) and add other papers.
39         * <p>
40         * HOWEVER, this does not work on ATI drivers; so it is not
41         * guaranteed that the paper will be like that. Check it first.
42         * @see GL.workaroundStupidBuggyAtiDrivers
43         */
44      public Paper getOptimizedPaper(int seed, GraphicsAPI.Window w) {      public Paper getOptimizedPaper(int seed, GraphicsAPI.Window w) {
45          return getPaper(seed);          return getPaper(seed);
46      }      }

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26