yiqunc / 3dtiles-locationeditor

This is a handy tool for positioning 3D tiles objects on Cesium
GNU General Public License v3.0
9 stars 5 forks source link

About this tool

This is a handy tool for precisely adjusting 3DTiles objects for CesiumJs.

To use this tool, click the following link and start editing your 3DTiles in Cesium SandCastle,

Once the script is loaded successfully, you can set the url (your root tileset.json file), longitude and latitude of your model and then use the toolbox on the right side to tweak the location.

Then, just replace the root "transform" array values defined in your original root tileset.json file with the contents shown in the "Transform Matrix" field and save your root tileset.json file. You probably need to clear browser cache to see the changes.

Have fun!

https://sandcastle.cesium.com/#c=tVX/T+M2FP9XrP5wTaSQhoO7TaWgjYMTSHAg6DZN6zQ58Wvr4diR7RR6J/73Pcf5Rim324mlgsTPfu993rePV1STFYd70OSQSLgnH8DwMo9/rWTBMKuWH5S0lEvQw4h8mUmCz2jElBxaUhogFrTGbZKuCYM5LYVtztQ711qtOAM9bsxnGqiF35QWbOqPBOFMPoYHM7lCRJYLMGBx5dcO4aViIBBk7V8rixbImCSRFyyBL5a2WwslF9yWDMathNqnglKL8XCIfitHM1mDu5Mqu1Olja2m2V3QOm/RKSVS6hLGVFbmIG28AHsqwH0er89ZMKyPDJ3KplVaFGJ9zCXjcmE661Fj1+nMlSaB8yVpDgRT24FoEsDnpFOOl9Rc3bs8F6DtOnBqYXvUPZsoEPFVakCvaCqgj6JSjU2ZmkzzFIKyYJhoB8qZecRsuVTdUskyaqyAmDJ24qs+9QEcl9YqGcwGF4qy2SAi81JmlitJghoSn/egYxViAXJhl5PdFrIGW2pZOX10/+qOeNqk/rV3MvWbwZeurOSJ/breOX3geZnfYveBvC1oBqdaKz1+++59deLRR+n+MiWNwuCEWgS17zh35i6p1fyhO9hsYkOzNeY/5wZiuwQZNFEHYYOrymTQpNKPXfxZqXyqGidRP74ztIlNcs1ttryhcgFBEicR2Unid1HrOFVl1Uq3xRI0xBpVSkNGZD9OQu+qCst91B5NBhLiQvOcW74C4yrY+PcaW6E1Mdfm3K8tbBNaU127LkDNu6odHg4RJcyRQ9gwfKHG6Bc7PqPaYvhUYq2bOjeivXiOGT6BBRbQBJ/KPEWO6irdjnwYkeeb9fRv2/PcEbaVcUOuqTQ4hnkHY9qIDCr0KqOEmKqP/AHYR43DE7QRRFsLice/HoantjBKoqSF1FT7L61URUyb4Hxf7sfnJ6efpufT3w8aCkbywEFFkl4C2Tup7BBuCBVVx5JC4BgwRzHuQKa0hswieWbUTyymLXJcSnDgPek6MdVAXGGtIklI0tKSv0tjsXfRFMooq5bOok9t3HDWtmodHibkzRvyvFTPNnxmUBy2zPaVVLgk/4yXyzr4Y9cls/ptfO1sNoHf+jNs6a6f/R4DoLvWdZXrl+6C2SCvFGaDMOYS79Cz6eXFc7BWeait0RBFt7gnFy1j4OwNosHE2LWAoyYBP/G8UNo61gviGG/cHEuK/TdKy+wOMWfGNPqTUV91wviKcHY4G2xc8rMByQQ1BnfmpRC3/DPMBkeTEZ5/pipU1dlXK9CCrt2x5e7RhRfGcTwZ4XK7Zn3boUoTSfOeWHcntRg43obXVIJw1m2q2Pqou9YmVvdWXsKO/JVAfrm5mIxw+fzAhMsCm9bRFHrA1GHMyGB0J8V7GSUrKkoYE79RJQ2F95zZ5Zjs/pAUDwdVRp7YxqX+V2Q3VQd/EypZ8QL6z7nE5c7uj4lb0Adc+G9jocAFXgq72/H7eXnlEM6qOfm+EJJeCMk3heCn8pVDaKnnv0XRgcXnBbyt6deGXHPi/4C4tvzdgPto2hke+UnFtxvm9nQ1/9tGe8P32/394qHHDT0nk+IIb+Lck76nz8mo6MMrPMM0vNuZVprt3GtajEmKt9/djhP4+Dr9J2zV+/4H

Contact

Dr Yiqun Chen (yiqun.c@unimelb.edu.au)

Mr Yibo Zhang (yibo.zhang1@unimelb.edu.au)

Centre for Spatial Data Infrastructures & Land Administration

The University of Melbourne