From 0f7ea64cf9f1d2fe788ca6ad175db62526ce7556 Mon Sep 17 00:00:00 2001 From: EmiliaBaek Date: Fri, 19 Jul 2024 12:29:53 +0900 Subject: [PATCH] =?UTF-8?q?terrain=20asset=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sample/cesium3dReconSeoulWhiteBox/index.html | 41 +++++++------------- 1 file changed, 13 insertions(+), 28 deletions(-) diff --git a/sample/cesium3dReconSeoulWhiteBox/index.html b/sample/cesium3dReconSeoulWhiteBox/index.html index 4bedf74..973f87e 100644 --- a/sample/cesium3dReconSeoulWhiteBox/index.html +++ b/sample/cesium3dReconSeoulWhiteBox/index.html @@ -60,6 +60,8 @@ let minus = 50.0; viewer._cesiumWidget._creditContainer.style.display = "none"; viewer.scene.globe.depthTestAgainstTerrain = true; +viewer.scene.globe.enableLighting = true; + const setTerrain = async () => { viewer.terrainProvider = await Cesium.CesiumTerrainProvider.fromIonAssetId( 2669353, @@ -70,38 +72,21 @@ }; setTerrain(); const assetsList = [ - 2669354, 2669355, 2669356, 2669357, 2669358, 2669359, 2669360, 2669361, 2669362, 2669363, 2669364, 2669366, 2669367, 2669368, 2669370, 2669371, 2669372, 2669373, 2669374, 2669375, 2669376, 2669377, 2669378, 2669379, 2669380, 2669382, 2669383, 2669384, 2669385, 2669386, 2669387, 2669388, - 2669389, 2669390, 2669391, 2669392, 2669393, 2669394, 2669395, - - 2669396, 2669397, 2669398, 2669399, 2669400, 2669401, 2669403, 2669405, - 2669406, 2669407, 2669408, 2669409, 2669410, 2669411, 2669412, 2669413, - 2669414, 2669415, 2669416, 2669417, 2669418, - - // 새로운 모델 -// dem - 2666874, 2666878, 2666881, 2666885, 2666889, 2666894, - 2666899, 2666907, 2666911, 2666915, - 2666150, 2666153, 2666155, 2666157, 2666159, 2666162, 2666164, 2666166, - 2666169, 2666172, 2666197, 2666199, 2666202, 2666205, 2666207, 2666210, - 2666218, 2666223, 2666233, 2666236, 2666240, 2666243, 2666245, 2666248, - 2666250, 2666253, 2666256, 2666258, 2666261, 2666263, 2666266, 2666271, - 2666273, 2666276, 2666278, 2666283, 2666285, 2666339, 2666358, 2666361, - 2666364, 2666366, 2666368, 2666371, 2666373, 2666376, 2666378, 2666382, - 2666387, 2666389, 2666391, 2666393, - - - 2666395, 2666397, 2666401, 2666403, - 2666405, 2666408, 2666410, 2666412, 2666416, 2666420, 2666423, 2666425, - 2666427, 2666429, 2666432, 2666434, 2666437, 2666440, 2666442, 2666445, - 2666447, 2666449, 2666452, 2666455, 2666661, 2666664, 2666667, 2666670, - 2666673, 2666676, 2666678, 2666739, 2666741, 2666744, 2666748, 2666752, - 2666759, 2666762, 2666767, 2666773, 2666777, 2666779, 2666783, 2666787, - 2666789, 2666795, 2666800, 2666808, 2666816, 2666827, 2666837, 2666839, - 2666845, 2666853, + 2669389, 2669390, 2669391, 2669392, 2669393, 2669394, 2669395, 2669396, + 2669397, 2669398, 2669399, 2669400, 2669401, 2669403, 2669405, 2669406, + 2669407, 2669408, 2669409, 2669410, 2669411, 2669412, 2669413, 2669414, + 2669415, 2669416, 2669417, 2669418, 2669489, 2669490, 2669491, 2669492, + 2669493, 2669494, 2669495, 2669496, 2669498, 2669500, 2669501, 2669502, + 2669503, 2669504, 2669506, 2669507, 2669509, 2669510, 2669511, 2669513, + 2669514, 2669515, 2669516, 2669517, 2669518, 2669519, 2669520, 2669522, + 2669523, 2669524, 2669525, 2669526, 2669527, 2669528, 2669529, 2669531, + 2669533, 2669534, 2669535, 2669537, 2669539, 2669540, 2669541, 2669542, + 2669543, 2669544, 2669545, 2669546, 2669547, 2669548, 2669549, 2669551, + 2669552, 2669553, 2669554, 2669555, ]; let promiseArry = []; try {