Project

General

Profile

« Previous | Next » 

Revision 9e7b6dbd

Added by Leszek Koltunski over 5 years ago

Redefine the Vertex Region from (x,y,r,unused) to (x,y,z,r). This takes into account the 'Z', which makes it possible to warp only one side of a 3D Mesh like Sphere.

Also corresponding changes in applications.

View differences:

src/main/java/org/distorted/examples/differenteffects/DifferentEffectsRenderer.java
71 71
      // mEffects[0] effects
72 72
      Static3D pLeft = new Static3D(214, 206, 0);
73 73
      Static3D pRight= new Static3D(390, 212, 0);
74
      Static4D RegionEye = new Static4D(0,0,60,60);
74
      Static4D RegionEye = new Static4D(0,0,0,60);
75 75
      
76 76
      // mEffects[1] effects
77 77
      Dynamic3D dyn = new Dynamic3D(1000,0.0f);

Also available in: Unified diff