Project

General

Profile

« Previous | Next » 

Revision 1585ba24

Added by Leszek Koltunski over 5 years ago

Make the Fragment effects truly 3D: change their 4D 'region' into a 3D 'center' (a point in 3D) and 3D 'region' (which is now a set of 3 radii defining an ellipsoid around the center)

Also corresponding changes to the applications.

View differences:

src/main/java/org/distorted/examples/objecttree/ObjectTreeRenderer.java
180 180
      mGridTexture.setTexture(bitmap2);
181 181
      DistortedEffects gridEffects = new DistortedEffects();
182 182

  
183
      final int GRID = 10;
183
      final int GRID = 20;
184 184

  
185 185
      if( mMeshFlat==null ) mMeshFlat = new MeshFlat(1,1);
186 186
      if( mMeshCubes==null) mMeshCubes= new MeshCubes(GRID,GRID,1);

Also available in: Unified diff