-
Notifications
You must be signed in to change notification settings - Fork 1
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
Cesium GroundPrimitive and Polygon on Terrain Rendering #2
Comments
Cesium 1.13 included polygon on terrain rendering. release notes: http://cesiumjs.org/2015/09/01/Cesium-version-1.13-released/ The main class is GroundPrimitive which takes a GeometryInstance. Only one GroundPrimitive-wrapped GeometryInstance can be added at a time. Batching is not supported "at this time." http://cesiumjs.org/Cesium/Build/Documentation/GroundPrimitive.html?classFilter=ground It's probably better to use this class and not worry about manually "floating" the polygon a meter above the surface. Plus, hopefully any future advancements will use this class. |
get pretty close, but I need to send a target ENTITY into flyTo() |
10/19/2015 INVESTIGATION Use KML? https://cesiumjs.org/2015/05/07/New-KML-Examples/ Three required pieces for avalanche display:
Vector Data on Terrain: CesiumGS/cesium#2172 |
Intermediate idea until KML or entities drape over terrain (#2172): Make a draping ground primitive for each avy. The groundprimitive will handle the picking. Make a "companion" entity for a fly to. Remove the entity immediately after the fly to leaving only the pickable, draped GroundPrimitive. |
Doesn't seem like Ground primitive is supported in the Entity API yet: https://groups.google.com/forum/#!searchin/cesium-dev/groundprimitive$20with$20entity/cesium-dev/M_ZDcDlNL10/iZKWb7w3CAAJ Weird rendering problems occur on some GPUs with the ground primitive. https://groups.google.com/forum/#!searchin/cesium-dev/entities$20vs$20primitives/cesium-dev/yyAXePPdNqE/oN5frxtI74UJ https://groups.google.com/forum/#!topic/cesium-dev/g-8wkhZYoGc |
Created this forum topic on 11-2-2015: https://groups.google.com/forum/?hl=en#!topic/cesium-dev/6qt-wb-SohY which resulted in this bug submitted on 11-5-2015: CesiumGS/cesium#3171 |
This seems to have gotten better. Probably not completely fixed, but no plans to do further work on this right now. |
KML Graphics Roadmap: CesiumGS/cesium#2179
Vector Data on Terrain: CesiumGS/cesium#2172
Request for issue 2172: https://groups.google.com/forum/#!searchin/cesium-dev/polyline$20on$20terrain/cesium-dev/xqUZ-JUIxjU/sXfjXBxsa4EJ
Polygon on Terrain: CesiumGS/cesium#2618
The text was updated successfully, but these errors were encountered: