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

Make Polyline and Path use materials #72

Merged
merged 4 commits into from
Jul 11, 2014
Merged

Make Polyline and Path use materials #72

merged 4 commits into from
Jul 11, 2014

Conversation

mramato
Copy link
Contributor

@mramato mramato commented Jul 10, 2014

Get rid of most invidual properties and use materials instead
Add PolylineOutline and PolylineGlow materials.

This goes along with CesiumGS/cesium/pull/1904

One possibility is to have a PolylineMaterial.jsonschema instead of using Material.jsonschema. This will allow us to restrict the materials polylines can use down to a specific set. What do you guys think?

EDIT: I decided PolylineMaterial.jsonschema was a good idea so I added that (see the second commit below for details).

mramato and others added 4 commits July 10, 2014 10:36
Get rid of most invidual properties and use materials instead
Add PolylineOutline and PolylineGlow materials.
PolylineMaterial.jsonschema - Materials applicable to polylines and paths.
Material.jsonschema - materials applicable to everything else.

This has no affect on the resulting CZML, it just makes it impossible to write out a material that is incompatible with it's intended object.
emackey added a commit that referenced this pull request Jul 11, 2014
@emackey emackey merged commit f9b0f00 into master Jul 11, 2014
@emackey emackey deleted the polyline-materials branch July 11, 2014 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants