Trajectory visualiation based on three.js(车辆轨迹的可视化,基于Three.js)
function: show the trajectory of vehicle based on three.js with csv data.
作用: 根据已有的车辆轨迹数据(csv),实现在三维模型中1:1的展示。
trajectory data may formatted as data.csv:
- x: heading direction;
- z: lateral direction;
- type: which road the vehicle on;
- color: the color of vehicle in certain frame )
轨迹数据格式要求见data.csv:
- x 行车方向;
- z 车道方向;
- type 车辆行走道路;
- color 车辆在动画中每帧的颜色;
note: some models generated from threex.proceduralcity.js.