Commit fd78b1d0 authored by Sven Schneider's avatar Sven Schneider
Browse files

minor fixes

parent 7c2ec3eb
Pipeline #1714 passed with stages
in 5 seconds
...@@ -68,6 +68,45 @@ $(function () { ...@@ -68,6 +68,45 @@ $(function () {
const buildingHeightOffset = 60; //53 const buildingHeightOffset = 60; //53
///////////////////// STOECKACH LOD 1
// var stoeckach = viewer.scene.primitives.add(new Cesium.Cesium3DTileset({
// url: 'buildingTiles/StoeckachLOD1/tileset.json',
// show: true
// }));
// stoeckach.readyPromise.then(function (stoeckach) {
// var R = 0; // roll
// var P = 0; // pitch
// var Yaw = 0; // yaw
// var height = buildingHeightOffset;
// var cartographic = Cesium.Cartographic.fromCartesian(stoeckach.boundingSphere.center);
// var surface = Cesium.Cartesian3.fromRadians(cartographic.longitude, cartographic.latitude, 0.0);
// var offset = Cesium.Cartesian3.fromRadians(cartographic.longitude, cartographic.latitude, height);
// var translation = Cesium.Cartesian3.subtract(offset, surface, new Cesium.Cartesian3());
// //var rotMat = new Cesium.Matrix3();
// var rotation = new Cesium.Matrix3.fromHeadingPitchRoll(new Cesium.HeadingPitchRoll(Yaw, P, R));
// stoeckach.modelMatrix = Cesium.Matrix4.fromRotationTranslation(rotation,translation);
// return zoomAll(stoeckach);
// });
// stoeckach.readyPromise.then(function(stoeckach){
// stoeckach.style = new Cesium.Cesium3DTileStyle({
// color: "color('white',0.5)",
// })
// });
///////////////////////////// Target ////////////////////////// ///////////////////////////// Target //////////////////////////
var target_tileset = viewer.scene.primitives.add(new Cesium.Cesium3DTileset({ var target_tileset = viewer.scene.primitives.add(new Cesium.Cesium3DTileset({
...@@ -346,7 +385,7 @@ d3.dsv(",", "results/polylines_circularData.csv").then(function(text) { ...@@ -346,7 +385,7 @@ d3.dsv(",", "results/polylines_circularData.csv").then(function(text) {
geometryInstances: new Cesium.GeometryInstance({ geometryInstances: new Cesium.GeometryInstance({
geometry: new Cesium.PolylineGeometry({ geometry: new Cesium.PolylineGeometry({
positions: positions, positions: positions,
width: 5.0, width: 10.0,
vertexFormat: Cesium.PolylineColorAppearance.VERTEX_FORMAT, vertexFormat: Cesium.PolylineColorAppearance.VERTEX_FORMAT,
colors: colors, colors: colors,
colorsPerVertex: true, colorsPerVertex: true,
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<body> <body>
<header> <header>
<img src="imgs/icity.png" class="titleFigure"> <img src="imgs/icity.png" class="titleFigure">
<h2> TP2.4 - Prototyp 4: Webbasierte Visualisierung von CFD Simulationsdaten </h2> <h2> TP2.4 - Prototyp 5: Webbasierte Visualisierung von CFD Simulationsdaten </h2>
</header> </header>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment