Skip to content

Conversation

@kylebarron
Copy link
Member

@kylebarron kylebarron commented Jan 2, 2026

All polygons in WebGL are rendered using a mesh. We're creating a mesh anyways for our raster rendering. Why create new polygons from scratch and then create new WebGL buffers when we could just reuse the triangle data we already have?

Well, that was my thought, but it doesn't look like it's working:

image

I was trying to follow my existing work in deck.gl-layers: https://github.com/geoarrow/deck.gl-layers/blob/95d285014df2415cebddf6aafb442ed49117e5e6/packages/deck.gl-layers/src/layers/solid-polygon-layer.ts#L493-L512

@kylebarron kylebarron marked this pull request as draft January 2, 2026 03:27
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