black shades on tiles

114 views
Skip to first unread message

shreep...@gmail.com

unread,
May 19, 2019, 5:32:37 AM5/19/19
to cesium-dev
1. A concise explanation of the problem you're experiencing.


while placing tiles from local b3dm json file url this type of black dots are comming at some of the tiles

2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.

var ALLtileset = new Cesium.Cesium3DTileset({
url: tilesetLayerurl,
show: true,

});

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

if i read it using assert id its comeming good.But i need it reading from local json

i have attached the image also


4. The Cesium version you're using, your operating system and browser.

black dots.png

shreep...@gmail.com

unread,
May 20, 2019, 7:41:18 AM5/20/19
to cesium-dev
black dots1.png

Omar Shehata

unread,
May 21, 2019, 8:44:01 AM5/21/19
to cesium-dev
Does this black dot move when you move the timeline/sun position? Are you loading exactly the same tileset from Cesium ion, and it doesn't have this black dot? 

Can you tell me how this tileset was created (that you're loading locally) ?

shreep...@gmail.com

unread,
May 22, 2019, 1:14:37 AM5/22/19
to cesium-dev
Thanks for your reply...
Actually, i disabled sun(show=false) and tried sun.destroy() also.
When i use tileset property luminanceAtZenith, darker shades becomes little less .
i am loading tileset from local folder in .b3dm format (We converted shapefile to CityGML and then to Cesium3DTiles by using FME Software. When i load it from cesium ion asset, there is no black dots.

and i have attached one png there u can see at some portion have black shade.

shads.PNG

shreep...@gmail.com

unread,
May 24, 2019, 10:54:31 AM5/24/19
to cesium-dev
in Evening time its getting more black shades
blackshade1.png

Omar Shehata

unread,
May 27, 2019, 7:22:38 PM5/27/19
to cesium-dev
Yeah there's no way to disable the sun's lighting in CesiumJS since it's the only light source and everything would be black otherwise. Did you upload the same CityGML to Cesium ion and it doesn't have these black shades? That sounds like it might be FME not correctly generating the 3D Tileset.

This does also sound like it might be related to this issue https://github.com/AnalyticalGraphicsInc/cesium/issues/7655 which was fixed in CesiumJS 1.57. What version are you using?

shreep...@gmail.com

unread,
May 28, 2019, 1:51:15 AM5/28/19
to cesium-dev

Thank you so much Mr.Omar


i rectified using viewer.scene.context._instancedArrays = false;


now Tiles showing perfectly...

shreep...@gmail.com

unread,
May 28, 2019, 2:19:29 AM5/28/19
to cesium-dev
dear Mr.Omar Shehata,

i have one more query..

1.How to set outline while generating the 3D Tileset using FME or
After loading the tileset in the cesium div?

color only i can able to set in tiles...

is there any way to set outline to tileset?

please let me know if there is any possibilities.

thanks & regards,
-shree

Omar Shehata

unread,
Jun 5, 2019, 2:42:40 PM6/5/19
to cesium-dev
You can produce a silhouette/outline on certain features using post processing, you can see an example of this here when you move your mouse over any building:


If the issue is more about making the geometry that has solid colors more visible, I posted some ideas for a feature request here that might help:

Reply all
Reply to author
Forward
0 new messages