Open mramato opened 11 years ago
To facilitate using a DataSource
within QuadtreePrimitive
tiles, it would be very helpful to have a way to get a data source's bounding sphere and to determine (via polling is fine) whether the DataSource
is fully loaded/computed/etc and ready to render.
How far are we from:
?
EDIT: I found https://github.com/AnalyticalGraphicsInc/cesium/tree/referenceFrames Will see if this works for me... would love to see this functionality merged into the master branch if it works.
It's not a high priority right now because of everything else that needs to be done. That branch has some prototyping, but I'm not sure how far it will get you.
The overall use case involved being able to get any position in any reference frame, but if all you need to do is offset one entity from another, that's actually pretty easy to do this with existing functionality by using CallbackProperty
, but I don't have an example handy.
Is there anything that can be done to help implement these features? I have what was in the referefenceFrame branch working, but it's missing some things, like being able to process referenceFrames from czml (would probably require adding a ReferenceEntity class, similar to ReferenceProperty, and modifying CzmlDataSource to use it). Also, adding a referenceFrame property to orientation properties should be straightforward I think.
This roadmap hopes to capture a high-level view of the current work planned for the DataSource layer.
Near-ish term
Material
instances via newCustomMaterialProperty
viewFrom
andEntityView
Property
objects so we don't redo workEllipsoidSurfaceAppearance
Entity.addProperty
should take an optional initial value.id
for eachDataSource
and ability to remove fromDataSourceCollection
by id.Entities and Properties
Color
over HSL instead of rgb.Data Sources
polling
,EventSource
, andWebSockets
available to all data sources.previousTime
/nextTime
from CZML spec. This may involve adding the ability for sampled properties to inform the developer as to whether they are "complete" or still receiving additional sampled.Visualizers
Model.maximumScale
needs a unit test in the ModelVisualizer #3167Model.maximumScale
needs to be added to CZML #3167Misc
flat
property to be set on all geometry objects and have that data passed on to theAppearance
GetValue
or at CZML processing time.Completed
GeoJsonDatasource
apiCartesian2WrapperProperty
path
andpolyline
.vertexPositions
and push it down into the individual objects.Visualizer
BillboardGraphics
should have the same features asBillboard
as well as the CZMLbillboard
.Completed with #1444
Completed with #1419
Completed with #1132
propertyChanged
event that fires when a property is assigned.Completed with #1080
Property
interface for all properties.PositionProperty
interface for all properties, which builds onProperty
DynamicProperty
and split it into separate properties, such asConstantProperty
,TimeIntervalProperty
,SampledProperty
, andCompositeProperty
.DynamicPositionProperty
and split it into separate properties, such asConstantPositionProperty
,TimeIntervalPositionProperty
,SampledPositionProperty
, andCompositePositionProperty
.Context
orScene
dependent code is in the visualizers and not the data representation.CzmlDataSource
. No other code should have to know anything about CZML.