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/bean/BeanRenderer.java
63 63
     
64 64
      Static3D pointLeft  = new Static3D( 98, 183, 0);
65 65
      Static3D pointRight = new Static3D(233, 140, 0);
66
      Static4D regionLeft = new Static4D( -3,-33,47,47);
67
      Static4D regionRight= new Static4D(-14,-33,47,47);
66
      Static4D regionLeft = new Static4D( -3,-33, 0,47);
67
      Static4D regionRight= new Static4D(-14,-33, 0,47);
68 68
      Dynamic3D dynLeft   = new Dynamic3D(2000,0.0f);
69 69
      Dynamic3D dynRight  = new Dynamic3D(2000,0.0f);
70 70

  

Also available in: Unified diff