diff --git a/services/static-webserver/client/source/class/osparc/component/widget/Three.js b/services/static-webserver/client/source/class/osparc/component/widget/Three.js index 6b4530faa61..f6471025dff 100644 --- a/services/static-webserver/client/source/class/osparc/component/widget/Three.js +++ b/services/static-webserver/client/source/class/osparc/component/widget/Three.js @@ -47,8 +47,8 @@ qx.Class.define("osparc.component.widget.Three", { this.getContentElement().getDomElement() .appendChild(this.__threeWrapper.getDomElement()); - // this.__threeWrapper.SetCameraPosition(18, 0, 25); - this.__threeWrapper.setCameraPosition(210, 210, 90); // Z up + // this.__threeWrapper.setCameraPosition(18, 0, 25); + this.__threeWrapper.setCameraPosition(300, 300, 300); this.__threeWrapper.setBackgroundColor("#484f54"); this.__resized(); diff --git a/services/static-webserver/client/source/class/osparc/dashboard/StudyThumbnailExplorer.js b/services/static-webserver/client/source/class/osparc/dashboard/StudyThumbnailExplorer.js index 9ed2efb9f1b..1e9ac108aa3 100644 --- a/services/static-webserver/client/source/class/osparc/dashboard/StudyThumbnailExplorer.js +++ b/services/static-webserver/client/source/class/osparc/dashboard/StudyThumbnailExplorer.js @@ -38,9 +38,9 @@ qx.Class.define("osparc.dashboard.StudyThumbnailExplorer", { }, statics: { - LAYOUT_HEIGHT: 300, + LAYOUT_HEIGHT: 320, NODES_TREE_WIDTH: 160, - THUMBNAIL_SLIDER_HEIGHT: 40 + THUMBNAIL_SLIDER_HEIGHT: 60 }, members: { diff --git a/services/static-webserver/client/source/class/osparc/wrapper/Three.js b/services/static-webserver/client/source/class/osparc/wrapper/Three.js index 5c2c7c0eea9..110e9d5f2d8 100644 --- a/services/static-webserver/client/source/class/osparc/wrapper/Three.js +++ b/services/static-webserver/client/source/class/osparc/wrapper/Three.js @@ -89,11 +89,11 @@ qx.Class.define("osparc.wrapper.Three", { this.__camera = new THREE.PerspectiveCamera(); this.__camera.far = 10000; - this.__camera.up.set(0, 0, 1); + // this.__camera.up.set(0, 0, 1); // Z up this.__scene.add(this.__camera); this.__addCameraLight(); - this.__addGridHelper(); + // this.__addGridHelper(); this.__addAxesHelper(); this.__mouse = new THREE.Vector2(); @@ -332,7 +332,8 @@ qx.Class.define("osparc.wrapper.Three", { }, __addCameraLight: function() { - const pointLight = new THREE.PointLight(0xFFFFFF); + // color and intensity + const pointLight = new THREE.PointLight(0xFFFFFF, 2.5); pointLight.position.set(1, 1, 2); this.__camera.add(pointLight); },