-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Vector tiles polylines #4208
Vector tiles polylines #4208
Conversation
PolylineColorAppearanceVS, | ||
BlendingState, | ||
Pass | ||
) { |
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.
Formatting
Pass) {
'use strict';
Looks good so far. How easy would it be to support dynamic width? |
Added to tasklist:
|
@@ -0,0 +1,418 @@ | |||
/*global define*/ | |||
define([ |
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.
Should we rename this class to something more generic in case it is used for other batched renderers?
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.
This organization would be similar to instanced models.
As discussed offline at one point, I think it is fine to have |
shaderProgram : primitive._sp, | ||
uniformMap : uniformMap, | ||
boundingVolume : primitive._boundingVolume, | ||
modelMatrix : Matrix4.IDENTITY, |
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.
Isn't this the default?
Just those comments. |
…of batch ids for polygons.
As part of this PR? Or in a separate PR to master? |
It should be pretty easy. I want to add it to the batch table instead of having it as a vertex attribute. |
I'm going to merge this into the |
If this needs to be done for vector tiles, I would like to have this PR go into master so it doesn't still in |
For CesiumGS/3d-tiles#25.
This is a branch off
vector-tiles-polygons
so I opened a PR into that to minimized the code diff. Either wait until both this and #4186 are ready or I can open a new PR intovector-tiles
.GROUND
pass?