# Trk-360 : dynamic trail/path viewer

**URL:** <https://forum.babylonjs.com/t/trk-360-dynamic-trail-path-viewer/38257>\
**Category:** Demos and projects\
**Created:** [February 15, 2023, 5:56pm UTC](https://forum.babylonjs.com/t/trk-360-dynamic-trail-path-viewer/38257 "2023-02-15T17:56:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![samuelgirardin](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/samuelgirardin/32/87_2.png) [@samuelgirardin](https://forum.babylonjs.com/u/samuelgirardin)\
**Post date:** [February 15, 2023, 5:56pm UTC](https://forum.babylonjs.com/t/trk-360-dynamic-trail-path-viewer/38257/1 "2023-02-15T17:56:29Z")

</div>

Hi there,

Update : [live demo here](https://trk-360.com/demo/index.html)

Here is the new project I’m working on (trk-360) using the marvellous babylonjs webgl engine 😋

The pitch is quite simple, upload a gpx/geojson file of your last activity(sport, car, plane, etc), take a seat and watch all of this in 3d.

It uses dynamic tiling for texturing and dynamic tile elevation to increase relief detail. The app is still not online. So here is 3 videos of the UTMB Trail (170km) in the Italian/French Alps with different view mode.

I still have a lot of work to optimized all of that. The trail path is for now quite ugly. Tile elevation decoding have to be pass on gpu side, motion camera need improvment and lots of other things to do or finalize…

video can be a bit choppy due to the software capture

demo preview :

[![](https://img.youtube.com/vi/2W05foDRpfM/maxresdefault.jpg "3d dynamic earth tiling - trail UTMB") ](https://www.youtube.com/watch?v=2W05foDRpfM)

debug mode view :

[![](https://img.youtube.com/vi/Rv5ysLKwb0U/maxresdefault.jpg "3d dynamic earth tiling - trail UTMB -debug mode") ](https://www.youtube.com/watch?v=Rv5ysLKwb0U)

wireframe mode view :

[![](https://img.youtube.com/vi/hHDI_lVUKvo/maxresdefault.jpg "3d dynamic earth tiling - wireframe mode") ](https://www.youtube.com/watch?v=hHDI_lVUKvo)

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [February 17, 2023, 1:59pm UTC](https://forum.babylonjs.com/t/trk-360-dynamic-trail-path-viewer/38257/2 "2023-02-17T13:59:29Z")

</div>

That’s so cool! I remember some of your questions about lines and I love to see the progress! 😍

---

<div class="post-metadata">

**Author:** ![Guillaume\_Pelletier](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/guillaume_pelletier/32/3695_2.png) [@Guillaume\_Pelletier](https://forum.babylonjs.com/u/Guillaume_Pelletier)\
**Post date:** [June 17, 2024, 8:36pm UTC](https://forum.babylonjs.com/t/trk-360-dynamic-trail-path-viewer/38257/3 "2024-06-17T20:36:53Z")

</div>

Hello,  
Wonderfull job !! If you need, i have a lot of GPX to share, as the founder of [DotVision Motion](https://mymotion.dotvision.com/).  
BTW i’m quite curious about the algorithm you have used to make the camera following the path. Are you able to share some hints?

Regards

---

<div class="post-metadata">

**Author:** ![samuelgirardin](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/samuelgirardin/32/87_2.png) [@samuelgirardin](https://forum.babylonjs.com/u/samuelgirardin)\
**Post date:** [June 19, 2024, 11:08am UTC](https://forum.babylonjs.com/t/trk-360-dynamic-trail-path-viewer/38257/4 "2024-06-19T11:08:55Z")

</div>

Update : [live demo here](https://trk-360.com/demo/index.html)

Hello @Guillaume_Pelletier, I used [followcamera](https://doc.babylonjs.com/features/featuresDeepDive/cameras/camera_introduction#followcamera) for base. The camera path is computed during initialisation, by raycasting from camera to target along the path to adjust camera height, to make the target always visible. It works, but it needs improvement. As the whole project. 😃
