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/plainmonalisa/RenderThread.java
83 83
    Static3D pLeft = new Static3D( 90, 258, 0);
84 84
    Static3D pRight= new Static3D(176, 255, 0);
85 85

  
86
    Static4D rLeft = new Static4D(-10,-10,25,25);
87
    Static4D rRight= new Static4D( 10, -5,25,25);
86
    Static4D rLeft = new Static4D(-10,-10, 0,25);
87
    Static4D rRight= new Static4D( 10, -5, 0,25);
88 88

  
89 89
    Dynamic3D dLeft = new Dynamic3D(1000,0.0f);
90 90
    Dynamic3D dRight= new Dynamic3D(1000,0.0f);

Also available in: Unified diff