Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Schneider
urbanVIS
Commits
fd78b1d0
Commit
fd78b1d0
authored
Dec 22, 2020
by
Schneider
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor fixes
parent
7c2ec3eb
Pipeline
#1714
passed with stages
in 5 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
2 deletions
+41
-2
public/circData.js
public/circData.js
+40
-1
public/circularData.html
public/circularData.html
+1
-1
No files found.
public/circData.js
View file @
fd78b1d0
...
...
@@ -68,6 +68,45 @@ $(function () {
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 //////////////////////////
var
target_tileset
=
viewer
.
scene
.
primitives
.
add
(
new
Cesium
.
Cesium3DTileset
({
...
...
@@ -346,7 +385,7 @@ d3.dsv(",", "results/polylines_circularData.csv").then(function(text) {
geometryInstances
:
new
Cesium
.
GeometryInstance
({
geometry
:
new
Cesium
.
PolylineGeometry
({
positions
:
positions
,
width
:
5
.0
,
width
:
10
.0
,
vertexFormat
:
Cesium
.
PolylineColorAppearance
.
VERTEX_FORMAT
,
colors
:
colors
,
colorsPerVertex
:
true
,
...
...
public/circularData.html
View file @
fd78b1d0
...
...
@@ -27,7 +27,7 @@
<body>
<header>
<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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment