Project

General

Profile

« Previous | Next » 

Revision 849e0034

Added by Leszek Koltunski about 4 years ago

Moving the Vertex and Fragment centers of effect to the center of the Mesh.

View differences:

src/main/java/org/distorted/examples/catanddog/CatAndDogRenderer.java
77 77
      moveDyn.add(mMoveStartingPoint);
78 78
      moveDyn.add(mMoveEndPoint);
79 79

  
80
      Static3D chromaCenter= new Static3D( 530, 300, 0   );
80
      Static3D chromaCenter= new Static3D( 130,  50, 0   );
81 81
      Static3D chromaRegion= new Static3D( 100, 100, 100 );
82
      Static3D alphaCenter = new Static3D( 230, 300, 0   );
82
      Static3D alphaCenter = new Static3D(-170,  50, 0   );
83 83
      Static3D alphaRegion = new Static3D( 100, 100, 100 );
84 84

  
85 85
      Dynamic1D chromaDyn = new Dynamic1D(DURATION_CHROMA_ALPHA,0.0f);

Also available in: Unified diff