.. | .. |
---|
72 | 72 | |
---|
73 | 73 | int count = 50; |
---|
74 | 74 | |
---|
75 | | - uDivsField = (cNumberSlider)AddSlider(uvPanel, "U #", biparam.minUDivs, (int)(count*this.biparam.uStretch() / 2) + biparam.minUDivs, biparam.uDivs).getComponent(1); |
---|
| 75 | + uDivsField = (cNumberSlider)AddSlider(uvPanel, "U #", biparam.minUDivs, (int)(count*this.biparam.uStretch()) + biparam.minUDivs, biparam.uDivs).getComponent(1); |
---|
76 | 76 | vDivsField = (cNumberSlider)AddSlider(uvPanel, "V #", biparam.minVDivs, (int)(count) + biparam.minVDivs, biparam.vDivs).getComponent(1); |
---|
77 | 77 | |
---|
78 | 78 | oe.ctrlPanel.add(uvPanel); |
---|
.. | .. |
---|
2092 | 2092 | if (cameras[i] == null) |
---|
2093 | 2093 | { |
---|
2094 | 2094 | cameras[i] = new Camera(cam.viewCode); |
---|
| 2095 | + |
---|
| 2096 | + cameras[i].setAim(cam.location, cam.lookAt); |
---|
| 2097 | + cameras[i].shaper_fovy = cam.shaper_fovy; |
---|
| 2098 | + cameras[i].UP.set(cam.UP); |
---|
| 2099 | + targetLookAts[i] = new cVector(cameras[i].lookAt); |
---|
2095 | 2100 | } |
---|
2096 | | - |
---|
2097 | | - cameras[i].setAim(cam.location, cam.lookAt); |
---|
2098 | | - cameras[i].shaper_fovy = cam.shaper_fovy; |
---|
2099 | | - cameras[i].UP.set(cam.UP); |
---|
2100 | | - targetLookAts[i] = new cVector(cameras[i].lookAt); |
---|
2101 | 2101 | } |
---|
2102 | 2102 | cameracount = 0; |
---|
2103 | 2103 | targetLookAt = targetLookAts[cameracount]; |
---|
.. | .. |
---|
8456 | 8456 | { |
---|
8457 | 8457 | // texturecache = textures.get(texname); // suspicious |
---|
8458 | 8458 | if (texturecache == null) |
---|
8459 | | - texturecache = new CacheTexture(GetResourceTexture("whitenoise.png", bump),resolution); |
---|
| 8459 | + texturecache = new CacheTexture(GetResourceTexture("whitenoise.jpg", bump),resolution); |
---|
8460 | 8460 | else |
---|
8461 | 8461 | new Exception().printStackTrace(); |
---|
8462 | 8462 | } else |
---|
.. | .. |
---|
16 | 16 | retile(); |
---|
17 | 17 | base = LA.newVector(0, 0, 0); // -1); |
---|
18 | 18 | apex = LA.newVector(0, 1, 0); // 1); |
---|
19 | | - baseRadius = apexRadius = 1; // 0.125; |
---|
| 19 | + baseRadius = apexRadius = 0.5; // 0.125; |
---|
20 | 20 | //fromStandard = new double[4][4]; |
---|
21 | 21 | //toStandard = new double[4][4]; |
---|
22 | 22 | //LA.matIdentity(fromStandard); |
---|
.. | .. |
---|
195 | 195 | |
---|
196 | 196 | double uStretch() |
---|
197 | 197 | { |
---|
198 | | - return 6; // Actually 6.28 (I think) |
---|
| 198 | + return 3; // Actually 3.14 (I think) |
---|
199 | 199 | } |
---|
200 | 200 | |
---|
201 | 201 | double vFlip(double v) |
---|
.. | .. |
---|
3679 | 3679 | if (bRep != null) |
---|
3680 | 3680 | { |
---|
3681 | 3681 | //bRep.RemoveOneTriangle(); |
---|
| 3682 | + System.out.println(); |
---|
3682 | 3683 | System.out.println("Reducing " + this); |
---|
3683 | 3684 | if (name != null && name.contains("lockpickstraps")) |
---|
3684 | 3685 | name = name; |
---|