-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Refactor DynamicScene to use Geometry & Appearances #1444
Merged
Merged
Changes from 96 commits
Commits
Show all changes
100 commits
Select commit
Hold shift + click to select a range
a16cf49
Start of DynamicScene refactor
mramato c5d0311
Merge branch 'master' into dynamicScene-refactor
mramato 2cabf1b
Ongoing property work.
mramato 82bb800
Ongoing property work.
mramato 9e7a77f
Ongoing property work.
mramato 45567c0
Merge remote-tracking branch 'origin/master' into dynamicScene-refactor
mramato b65c741
Minor doc update.
mramato fb5f562
Move properties back into DynamicScene for now.
mramato dba917e
Get rid of DynamicDirectionsProperty
mramato f7f2124
Ongoing property work
mramato f81a552
Ongoing DynamicScene refactor
mramato 0aff771
Fix custom property used for CZML processing.
mramato 14c53f8
Temporarily remove DynamicEllipse visualization.
mramato f1bf962
Merge remote-tracking branch 'origin/master' into dynamicScene-refactor
mramato 56c6e5d
Everything old is new again
mramato 3ff8489
Ellipse outline support
mramato cfc5f44
Ongoing geometry work
mramato 8303835
Add support for geometry with materials
mramato a8a28d8
Add some really rough around the edges dynamic geometry support.
mramato a3275e4
Add iniitial support for dynamic outlines.
mramato df72363
Add availability checks.
mramato 4c97425
Add support for DynamicEllipse.numberOfVerticalLines
mramato 6ae8990
Ongoing geometry work
mramato db93931
Merge remote-tracking branch 'origin/master' into dynamicScene-refactor
mramato 4bef033
Improve material batching to only evaluate time-dynamic attributes.
mramato 6423452
Merge branch 'master' into dynamicScene-refactor
mramato 30043ff
Merge branch 'master' into dynamicScene-refactor
mramato 80179cf
Change property events to be more coarse grained
mramato 9cb4482
Rename `propertyChanged` to `definitionChanged`
mramato dd396f4
Use `id` property for consistent picking.
mramato 3ff6b18
Ongoing DynamicScene geometry work
mramato 54f1105
Fix static outlines
mramato 1e87c1e
Remove DynamicPolygonVisualizer, replace with PolygonGeometryUpdater
mramato 7c31f79
Fix specs
mramato 9cf4bf8
Replace DynamicEllipsoidVisualizer with EllipsoidGeometryUpdater
mramato b331eb5
Replace DynamicPolylineVisualizer with PolylineGeometryUpdater
mramato 2cbc5e8
Merge branch 'master' into dynamicScene-refactor
mramato 57634c5
Merge branch 'master' into dynamicScene-refactor
mramato a7ec717
Merge remote-tracking branch 'origin/master' into dynamicScene-refactor
mramato fe0efbe
Minor doc cleanup.
mramato 164d7f5
Merge branch 'master' into dynamicScene-refactor
mramato af95f5f
EllipsoidGeometryUpdater should not use EllipsoidSurfaceAppearance
mramato 4043a15
Fix translucency settings for outlines
mramato 71b1354
Remove uneeded parameter.
mramato 72f327e
Further batch geometry based on open/closed.
mramato e2fefba
Make static geometry asynchronous.
mramato 30a354f
After discussion, it was decided to use `faceForward : true` everywhere
mramato 2ac9c79
Replace truthy statement with defined.
mramato 1742942
Merge remote-tracking branch 'origin/master' into dynamicScene-refactor
mramato aa928e0
Remove unecessary call to `defaultValue`
mramato 89cbe0a
Rename Map to AssociativeArray to avoid confusion.
mramato 881d294
Doc and specs for AssociativeArray
mramato d26103b
Cleanup and specs.
mramato e2a90bc
Simplify interval based Property objects
mramato 01f0f43
Simplify createDynamicPropertyDescriptor usage
mramato 4ecaf48
Merge remote-tracking branch 'origin/master' into dynamicScene-refactor
mramato 0762685
Minor cleanup.
mramato 4462534
Start defining the GeometryUpdater base interface.
mramato 28f2bcf
Merge branch 'master' into dynamicScene-refactor
mramato 1baddb3
Merge remote-tracking branch 'origin/master' into dynamicScene-refactor
mramato 90ca6bf
Remove GeometryBatchType
mramato 78740a3
Start adding updater specs
mramato 147f5db
First pass at documenting GeometryUpdater & DynamicGeoemtryUpdater.
mramato 78ef735
Merge branch 'master' into dynamicScene-refactor
mramato 6863e5b
Documentation fixes.
mramato 7fa37d4
Merge branch 'master' into dynamicScene-refactor
mramato 4dcd525
Fix some specs I accidentally broke.
mramato 4eeac68
Prefer jasmine.createSpy to spyOn
mramato 46c9ecc
More doc updates
mramato c2ad052
Ongoing cleanup
mramato a32e690
Delete VisualizerCollection
mramato 97aaa5c
Merge remote-tracking branch 'origin/master' into dynamicScene-refactor
mramato 34b04d1
Cleanup more documentation.
mramato cead80d
Clean up material properties and specs.
mramato efb2f2d
Optimize EllipsoidGeometryUpder when dealing with dynamic radii
mramato 437f6c8
Clean up exception handling
mramato 448a0b1
Merge remote-tracking branch 'origin/master' into dynamicScene-refactor
mramato 6bf3b99
Fix bug in StaticGeometryPerMaterialBatch
mramato 529200f
Merge branch 'master' into dynamicScene-refactor
mramato 355b7c4
Mostly finish up documentation.
mramato 1d68c96
Update CHANGES
mramato bd1ceae
More specs for GeometryVisualizer.
mramato b45e794
Back out efb2f2d0af6566b1c4264d9dbe17ce3d034cba31
mramato 1945e7a
Disable asynchronous primitives in DynamicScene
mramato 6d890fa
Add a fast pass for dynamic ellipsoids in 3D mode.
mramato 9f775a2
More specs
mramato 6fbe899
Spec cleanup.
mramato ec520cd
Fix test
mramato f6cbd8a
Address review comments
mramato be622ae
Address additional review comments
mramato 319cf6b
Add missing pragma
mramato 0dd05c7
More updates after review.
mramato f5b01a9
Extract out Property.isConstant helper function.
mramato e05b0ec
Clean up PropertyArray & PositionPropertyArray.
mramato 603484e
Fix bad logic due to copy/paste error.
mramato 09eafb0
Fix filename typo. Remove dead code.
mramato d350459
Add isArray shim
mramato 40c9f85
Minor tweak.
mramato 1f64fde
Fix globals.
mramato f8e4f70
Add pragma, fix typos.
mramato File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_colorSubscription
is not used.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same throughout.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
createDynamicPropertyDescriptor
actually uses all of the_xxxSubscription
variables. I know this is confusing but I define them up-front so that the hidden class doesn't get changed. We can remove all of the_xxxSubscription
variables and just let them be added at run-time to make the code cleaner but how much of a performance impact that would be, I don't know.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK.