Updated dimensions

master
Robin Hawkes 2016-06-16 13:31:22 +01:00
rodzic 5743b95a25
commit c41818b6cd
7 zmienionych plików z 15 dodań i 15 usunięć

10
dist/vizicities.js vendored
Wyświetl plik

@ -3362,7 +3362,7 @@ return /******/ (function(modules) { // webpackBootstrap
// http://stackoverflow.com/q/26655930/997339
exports['default'] = function (container) {
var camera = new _three2['default'].PerspectiveCamera(45, 1, 1, 200000);
var camera = new _three2['default'].PerspectiveCamera(45, 1, 1, 2000000);
camera.position.y = 4000;
camera.position.z = 4000;
@ -4813,7 +4813,7 @@ return /******/ (function(modules) { // webpackBootstrap
key: '_initSkybox',
value: function _initSkybox() {
// Cube camera for skybox
this._cubeCamera = new _three2['default'].CubeCamera(1, 2000000, 128);
this._cubeCamera = new _three2['default'].CubeCamera(1, 20000000, 128);
// Cube material
var cubeTarget = this._cubeCamera.renderTarget;
@ -4842,7 +4842,7 @@ return /******/ (function(modules) { // webpackBootstrap
side: _three2['default'].BackSide
});
this._mesh = new _three2['default'].Mesh(new _three2['default'].BoxGeometry(190000, 190000, 190000), skyboxMat);
this._mesh = new _three2['default'].Mesh(new _three2['default'].BoxGeometry(1900000, 1900000, 1900000), skyboxMat);
this._updateSkybox = true;
}
@ -9842,7 +9842,7 @@ return /******/ (function(modules) { // webpackBootstrap
_classCallCheck(this, ImageTileLayer);
var defaults = {
distance: 200000
distance: 300000
};
options = (0, _lodashAssign2['default'])({}, defaults, options);
@ -12922,7 +12922,7 @@ return /******/ (function(modules) { // webpackBootstrap
var defaults = {
maxLOD: 14,
distance: 50000
distance: 30000
};
options = (0, _lodashAssign2['default'])({}, defaults, options);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Wyświetl plik

@ -7,7 +7,7 @@ import THREE from 'three';
// http://stackoverflow.com/q/26655930/997339
export default function(container) {
var camera = new THREE.PerspectiveCamera(45, 1, 1, 200000);
var camera = new THREE.PerspectiveCamera(45, 1, 1, 2000000);
camera.position.y = 4000;
camera.position.z = 4000;

Wyświetl plik

@ -55,7 +55,7 @@ class Skybox {
_initSkybox() {
// Cube camera for skybox
this._cubeCamera = new THREE.CubeCamera(1, 2000000, 128);
this._cubeCamera = new THREE.CubeCamera(1, 20000000, 128);
// Cube material
var cubeTarget = this._cubeCamera.renderTarget;
@ -87,7 +87,7 @@ class Skybox {
side: THREE.BackSide
});
this._mesh = new THREE.Mesh(new THREE.BoxGeometry(190000, 190000, 190000), skyboxMat);
this._mesh = new THREE.Mesh(new THREE.BoxGeometry(1900000, 1900000, 1900000), skyboxMat);
this._updateSkybox = true;
}

Wyświetl plik

@ -38,7 +38,7 @@ class GeoJSONTileLayer extends TileLayer {
constructor(path, options) {
var defaults = {
maxLOD: 14,
distance: 50000
distance: 30000
};
options = extend({}, defaults, options);

Wyświetl plik

@ -59,7 +59,7 @@ import extend from 'lodash.assign';
class ImageTileLayer extends TileLayer {
constructor(path, options) {
var defaults = {
distance: 200000
distance: 300000
};
options = extend({}, defaults, options);