Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CZML Image Material Broken? #6199

Closed
weatherdrew opened this issue Feb 8, 2018 · 3 comments · Fixed by #6216
Closed

CZML Image Material Broken? #6199

weatherdrew opened this issue Feb 8, 2018 · 3 comments · Fixed by #6216

Comments

@weatherdrew
Copy link

weatherdrew commented Feb 8, 2018

Greetings Cesium Folks!

As of CesiumJS 1.42, I am seeing some strange behavior with previously working Image Material rendered via CZML. I have also noticed this is occurring in the Cesium Sandcastle example below:

Sandcastle with missing Cesium logo

The polygon renders correctly and the default white texture appears. However, previous versions would asynchronously load the referenced "uri" element and overlay the image. This seems to have stopped with 1.42 based on my tests (1.41 behavior not apparent).

Here is my CZML for reference, which I believe is correct and has not changed between the previous releases of Cesium since Fall 2017:

[{"id":"document","version":"1.0"}, {"name":"data-Base_Reflectivity_L2","position":{"cartographicDegrees":[-86.5625,36.2472229004,1.0]},"ellipse":{"semiMinorAxis":299875.0,"semiMajorAxis":299875.0,"height":10.0,"outline":true,"material":{"image":{"transparent":true,"image":{"uri":"http://data.horizonwx.com/kohx/Base_Reflectivity_L2/1508163444.png"}}}}}]

I've attached screen grabs from my development environment and the sandcastle.

If I'm missing something, or if there is now a new syntax to follow for overlaying materials on polygons in CZML I'm happy to adjust.

Thanks!

screen shot 2018-02-08 at 17 22 56

screen shot 2018-02-08 at 17 23 21

@hpinkos
Copy link
Contributor

hpinkos commented Feb 12, 2018

Thanks for reporting this @weatherdrew. I can reproduce this bug. I've marked this next release since it's a regression.

@tfili is this related to your Resource changes? Image materials work through the entity API but not through this CZML example

@weatherdrew
Copy link
Author

No problem @hpinkos - glad to help, and I appreciate the great work you guys are doing!

@tfili
Copy link
Contributor

tfili commented Feb 13, 2018

@hpinkos Yep. I'm looking at it now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants