Skip to content

Commit

Permalink
Move MSAA Sandcastle to Showcases, change balloon view, fix MSAA gett…
Browse files Browse the repository at this point in the history
…er docs
  • Loading branch information
ebogo1 committed Feb 17, 2022
1 parent 496b1c1 commit a2fa0e4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions Apps/Sandcastle/gallery/MSAA.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"
/>
<meta name="description" content="Add MSAA to the scene." />
<meta name="cesium-sandcastle-labels" content="Post Processing" />
<meta name="cesium-sandcastle-labels" content="Showcases" />
<title>Cesium Demo</title>
<script type="text/javascript" src="../Sandcastle-header.js"></script>
<script
Expand Down Expand Up @@ -69,7 +69,13 @@
maximumScale: 20000,
},
});
viewer.trackedEntity = entity;
const target = Cesium.Cartesian3.fromDegrees(
-123.0744619,
44.0503706,
height + 7.5
);
const offset = new Cesium.Cartesian3(50.0, -15.0, 0.0);
viewer.scene.camera.lookAt(target, offset);
}

const options = [
Expand Down
2 changes: 1 addition & 1 deletion Source/Scene/Scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -1598,7 +1598,7 @@ Object.defineProperties(Scene.prototype, {
},

/**
* Whether or not the camera is underneath the globe.
* The sample rate of multisample antialiasing (values greater than 1 enable MSAA).
* @memberof Scene.prototype
* @type {Boolean}
* @readonly
Expand Down

0 comments on commit a2fa0e4

Please sign in to comment.