Can't give two 3D tilesets different styles

17 views
Skip to first unread message

m...@easyinspect.net

unread,
Aug 7, 2019, 5:11:14 AM8/7/19
to cesium-dev
1. A concise explanation of the problem you're experiencing.
If i style tileset "A" with a green color and tileset "B" with a red color, for some reason they both get the same color

2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.
https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/#c=3VZLj9s2EP4rhHOQXFiU/Np1nM2iTVogBZpNkHV78oWiRhK7EimQlHe9xf73DvWwJactekgvFWDY8/xmPg5HPjBNDgIeQZO3RMIjeQ9G1CX9rdH5Hm/E90paJiRob0b+2EuCj8lZoh4N2RKra9jLl+mbvdzLNhc1HCTQrFAx0AQqm+/A2B8yzGHsDrTGH4jnItuoroqPKoECDR1GDiLL7ZZEmL7x64p7kIo/qNpSqxl/8E+R01Myq1QRM9dTonhdgrQ0A/tTAe7nu+PPie91Lp4LuszLqqo4vhMyETIz5/yzPu8ASBRgwI7Ja7+WP+5ao9+1U+tiS7zc2spswxCpqIBboWTAC1Un1Cwp1AESh10VwZyykj0ryR4N5aoMLbDShPx1ytawnAfxerUJViyeB5s0ugqWUbpJ2TKaXzEelmByMOH1NY/4crMM+Hq5CFYLvggYX0fB5vX1Ok4XccL4Vdieb9i1QX83SnrdYQ7aW/wf+9vLXquBJcfPWpXCALU5SD+tZVO637lM+5EczXelRSmsOIChLElOvm/Ors3Y0HaOkcN5FHXGHtrYYwF/z+69M/f8uoerQmlkufn295NXUZTis59MvdbpZQiPlT4rVe5UX9tsCPQB28YB/ywsz78wmYEf0WhGgoiuZ6cCY1U31+C+ykED1RhSG/IdWdBo6qBeplQhZfoRuTvThldc6Ya0MdWL/4jrb0ZnmjpCL+j8lz1ebhHcOJ9iA/rAYkQdbBGvHQhvSk0dG65FPEjb2qbjHYgt3dVljBu5M3d9i5T4wtyxu15/inOPBltr2bm+uBIbWvFec6atyjSrcsExd0/VQEtTPCOnQBM7nc3lOLjbDPo0cpjZ1DplHMZJmxzLJuUXHCAmjT+sgBZKZsLWCczIWM9sp8bJHKKoNG237jcFGXPb7D+NaZyDkn8Jhufn3kHWbwua9e2P7tnZ359eDmzpJuIjs1o8nQFaedW0sjtX4A+qaceyGbvJbHLTzP1tm/p7UVZKW7eOfUpxsZYVxuDCjGv+gJDcmL6KV/17cjA0Mb5SM+2OeUt0FjN/tZiR/hPRTR/rngqvIg7Dlqyqp4E6VjoBHbS7Ymh8uYAVsqrtEPwA2gqOrwdWiExuSSmSpICvEQOrqi1ZjFB7U6ysVeXQirA3YU/RTSIORCRv95OL/zb7CeEFMwYtaV0U9+IZ9pPbmxD9R2GFatbmJ6y1YEfnks9vf2mVlNKbEMWvo7qW0b2tyVluPzQD1zs36pYSe6wAg7TbylhXKSRKAb4+aORE9oRiLxkLlRPxZ8IsC2L834LygRU1bLuZnpFG/LVCD1R6DYp3LmaEauHJurxIAErrf8rbZOjr/xM


3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
i need a way to style 3D tilesets individually since i am making a tool where tilesets can be on top of each other and it needs to be very clear to the user where each tileset begins and ends

4. The Cesium version you're using, your operating system and browser.
Cesium version: 1.60
Operating system: Ubuntu 18.04.2 LTS
Browser: Google Chrome Version 76.0.3809.87 (Official Build) (64-bit)


Omar Shehata

unread,
Aug 9, 2019, 9:02:45 AM8/9/19
to cesium-dev
Thanks for reporting this and for providing a Sandcastle example! This is indeed a bug. I've opened a fix here with some more details on why it is was happening:

Mathias Nielsen

unread,
Aug 9, 2019, 9:10:10 AM8/9/19
to cesium-dev
Great, thanks for your time!
Reply all
Reply to author
Forward
0 new messages