.. | .. |
---|
52 | 52 | perspective = true; |
---|
53 | 53 | break; |
---|
54 | 54 | case 1: // '\001' |
---|
55 | | - location = LA.newVector(0, 0, 4); |
---|
| 55 | + location = LA.newVector(4, 0, 0); |
---|
56 | 56 | perspective = false; |
---|
57 | 57 | break; |
---|
58 | 58 | case 2: // '\002' |
---|
.. | .. |
---|
63 | 63 | //LA.matXRotate(fromScreen, LA.toRadians(90)); |
---|
64 | 64 | break; |
---|
65 | 65 | case 3: // '\003' |
---|
66 | | - location = LA.newVector(4, 0, 0); |
---|
| 66 | + location = LA.newVector(0, 0, 4); |
---|
67 | 67 | //LA.matZRotate(toScreen, LA.toRadians(-90)); |
---|
68 | 68 | //LA.matXRotate(toScreen, LA.toRadians(-90)); |
---|
69 | 69 | //LA.matXRotate(fromScreen, LA.toRadians(90)); |
---|
.. | .. |
---|
71 | 71 | perspective = false; |
---|
72 | 72 | break; |
---|
73 | 73 | case 4: // Default light |
---|
74 | | - location = LA.newVector(-10, 30, 20); |
---|
| 74 | + location = LA.newVector(-5, 15, 10); |
---|
75 | 75 | perspective = false; |
---|
76 | 76 | break; |
---|
77 | 77 | } |
---|
.. | .. |
---|
104 | 104 | focalLength = 1; |
---|
105 | 105 | setAspect(4, 3); |
---|
106 | 106 | background = LA.newVector(0.8, 0.8, 0.8); |
---|
| 107 | + } |
---|
| 108 | + |
---|
| 109 | + void CreateMaterial(boolean multiply) |
---|
| 110 | + { |
---|
| 111 | + super.CreateMaterial(multiply); |
---|
| 112 | + |
---|
| 113 | + material.shift = 90; |
---|
| 114 | + material.cameralight = 0.2f; |
---|
107 | 115 | } |
---|
108 | 116 | |
---|
109 | 117 | void setAspect(int width, int height) |
---|
.. | .. |
---|
319 | 327 | location.set(lookAt); |
---|
320 | 328 | lookAt.set(cStatic.point1); |
---|
321 | 329 | |
---|
322 | | - computeTransform(); |
---|
| 330 | + //computeTransform(); |
---|
323 | 331 | } |
---|
324 | 332 | |
---|
325 | 333 | //synchronized // june 2014 |
---|