-
Update: Looks like using the SimpleMeshLayer with an image as the texture might just work out for this. Hi! Thanks for deck.gl - what an awesome library. We are working on a GlobeView based visualization, and so far it does everything we need based on the example application that uses the SimpleMeshLayer with a GeoJsonLayer and the Lighting effects. But we wanted to use an image instead of the GeoJson layer - this also works, but without the sunlight effect. Any ideas on how one could go about implementing the lighting effects in this case? The documentation mentions that the lighting works only for 2.5/3D layers, so I wonder what other approaches might work here? I briefly tried using the image as texture in the SimpleMeshLayer with some success, but not sure if this is the right way to do it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
So I ended up using the SimpleMeshLayer with the image as the texture. After that it was a matter of changing the material settings and the lighting together with getting the orientation right (which took a long time, but comparing the image and the geojson layer on top of it was a nice trick to get it working synchronously with the sunlight effect, after which the geojson layer can be removed). |
Beta Was this translation helpful? Give feedback.
So I ended up using the SimpleMeshLayer with the image as the texture. After that it was a matter of changing the material settings and the lighting together with getting the orientation right (which took a long time, but comparing the image and the geojson layer on top of it was a nice trick to get it working synchronously with the sunlight effect, after which the geojson layer can be removed).