資料可視化
HW07 - 移動紀錄可視化
林立森
國立臺北科技大學資訊工程系
目錄
P.2
01
章節 01
Demo影片
P.3
目錄
P.4
資料來源
P.5
02
章節 02
資料來源
將zip檔解壓縮後我們要使用的資料為
userLocationData.json
P.6
Unity開發室內定位APP
P.7
Real-Time Position on Web
P.8
P.9
使用方法
P.10
03
章節 03
Import Unitypackage
P.11
開啟檔案
P.12
開新檔案
P.13
Import unitypackage
P.14
Import unitypackage
P.15
基本場景
P.16
Camera控制CameraManagement.cs
P.17
Camera控制
P.18
JsonLoader
P.19
ReadJson.cs
P.20
Visitors
P.21
VisitorMove.cs
P.22
60行可以調整
播放速度
下載UniVRM Package
P.23
Unity匯入UniVRM套件
P.24
Unity匯入UniVRM套件
P.25
匯入成功後上方工具列會多出UniGLTF 及 VRM
直接將.vrm拉到Assets裡面
Unity匯入Vrm角色
角色學號顯示設定
先將匯入好的模型拉
到Hierarchy視窗
角色學號顯示設定
Hierarchy視窗右鍵
UI->Text
->TextMeshPro
記得Import TMP
角色學號顯示設定
將文字設定到角色的上方
角色學號顯示設定
在設定好學號後的
角色更改名子後拉
回Assets中,並且
刪掉Hierachy中的
角色
角色學號顯示設定
點擊Visitors,將自己製作的角色拉到Vistor Prefab
角色動作設定
資料放置位置
在Assets底下新增Data資料夾,並且把userLocationData.json
放進去,執行程式會依照裡面的檔案數量去生成人物,並且在3D場景中回放移動路徑。
評分標準
P.34
01
章節 01
評分標準
P.35
作業說明
P.36
02
章節 02
Simple baseline (2pt)
P.37
Simple baseline (1pt)
P.38
Medium baseline (5pt)
P.39
Medium baseline (5pt)
如果沒有要做每個人物模型上顯示出組員的學號,請將以下圖片匡起來的部分程式碼註解
P.40
Strong baseline (4pt)-熱力圖範例
P.41
Strong baseline (4pt)-有向圖範例
P.42
Strong baseline (4pt)-圈圈圖範例
P.43
Strong baseline (4pt)-熱力圖
P.44
Strong baseline (4pt)-圈圈圖
P.45
Strong baseline (4pt)-有向圖
P.46
繳交資訊
P.47
03
章節 03
UnityPackage Export
點擊 Assets -> Export Package
P.48
Github
請把 demo影片 + unitypackage 這兩個檔案放到src資料夾
P.49
https://linlisen.github.io/vis2023f/hw07/index.html
P.50
src按鈕、評分表
P.51
<!-- ------------------------------------------------>
<div class="row hw12">
<div class="col-md-12 twenty">
打開src資料夾
<input type="button" name="back" onclick="location.href='https://github.com/你的帳號/ct2023s/tree/main/hw04/src'" value="按我٩(。・ω・。)و">
</div>
</div>
<div class="row hw12">
<div class="col-md-12 twenty">
<table>
<tr>
<th>總分</th>
<th>完成後打勾</th>
<th>配分</th>
<th>分項描述</th>
</tr>
<tr>
<td rowspan="7" id="myTotal"></td>
<td><input type="checkbox" class="flipswitch" id="myCheckbox1" checked></td>
<td id='m1'>2</td>
<td>Simple baseline - 將Unitypackage放入Unity中</td>
</tr>
<tr>
<td><input type="checkbox" class="flipswitch" id="myCheckbox2" checked></td>
<td id='m2'>1</td>
<td>Simple baseline - 透過Vroid製作人物用來代表場景中的角色</td>
</tr>
<tr>
<td><input type="checkbox" class="flipswitch" id="myCheckbox3" checked></td>
<td id='m3'>1</td>
<td>Medium baseline - 在Unity場景(師大美術館)上顯示出自己的移動路徑 </td>
</tr>
<tr>
<td><input type="checkbox" class="flipswitch" id="myCheckbox4" checked></td>
<td id='m4'>2</td>
<td>Medium baseline - 將組員(8人)的移動路徑在Unity場景(師大美術館)上顯示 </td>
</tr>
<tr>
<td><input type="checkbox" class="flipswitch" id="myCheckbox5" checked></td>
<td id='m5'>2</td>
<td>Medium baseline - 每個人物模型上顯示出組員的學號 </td>
</tr>
<tr>
<td><input type="checkbox" class="flipswitch" id="myCheckbox6" checked></td>
<td id='m6'>2</td>
<td>Strong baseline - 熱力圖、泡泡圖、有向圖 </td>
</tr>
</table>
</div>
</div>
Regulations
P.52
助教聯絡資訊
P.53
04
章節 04
助教聯絡資訊
P.54
VRoid
P.55
01
章節 01
安裝
現在只能在 Steam 及 AppStore 上安裝
P.56
安裝
P.57
安裝
搜尋欄輸入 VRoid
P.58
安裝
P.59
建立新模型
使用預設模板
P.60
參數
模型部位
部位細項
樣式
P.61