Project

General

Profile

« Previous | Next » 

Revision f6654822

Added by Leszek Koltunski almost 8 years ago

Now there's a single place one can have a look at all the Meshes being rendered to a OutputSurface: OutputSurface.renderChildren().
This will need to get modified for per-object post-processing.

View differences:

src/main/java/org/distorted/examples/olimpic/OlimpicRenderer.java
88 88
      {     
89 89
      mView = v;
90 90

  
91
      mPrevRendered = 0;
92
      mCurrRendered = 0;
91
      mPrevRendered = -1;
92
      mCurrRendered = -1;
93 93

  
94 94
      mLeaf = new DistortedTexture(LEAF_SIZE,LEAF_SIZE);
95 95
      DistortedTexture surface = new DistortedTexture(3*LEAF_SIZE,3*LEAF_SIZE);

Also available in: Unified diff