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

Export videos with the additive layer blend #235

Open
Louisbot opened this issue Jun 10, 2022 · 5 comments
Open

Export videos with the additive layer blend #235

Louisbot opened this issue Jun 10, 2022 · 5 comments
Labels
question Further information is requested

Comments

@Louisbot
Copy link

Louisbot commented Jun 10, 2022

Hi !

I am having an export issue with Hubble.gl for a Kepler.gl map.

You have to know that I don't know anything about coding even JS.
My request may seems easy to resolve but I can't find the solution.

So, I made a map (everything is made manually) and i'd like to have this map with the 'additive' layer blend like this

Capture

But when I try to export the map as a video the layer blend goes back to 'normal'

Capture123

It would be really thanksful if someone can help me :)

@Louisbot Louisbot added the question Further information is requested label Jun 10, 2022
@chrisgervang
Copy link
Collaborator

Unfortunately kepler layer blending doesn't work very well in video export, and so we did not support it.

Reason being, the video needs to interleave the dark basemap to be captured in the video, which would then mean the dark colors are blended with the orange. The main kepler map is simply overlaying layers onto the basemap, so they aren't included in the blend.

For more background on this difference check out https://deck.gl/docs/get-started/using-with-map

Different blending options could be supported for video. We are looking for contributors to investigate this idea and find nice blending options for layers interleaved with the basemap.

Here's a demo of different webgl blending techniques. And here's the blending code kepler.gl ships with. Relevant luma.gl docs. The blending option would be applied to the entire stack of layers and basemap, on the deck object's parameters prop.

@Louisbot
Copy link
Author

Thank you for replying !

This means, at the moment I can't export videos with the additive layer blend ?

@chrisgervang
Copy link
Collaborator

No, it can't currently be done.

@chrisgervang chrisgervang changed the title Hubble.gl Video Export Export videos with the additive layer blend Jun 11, 2022
@Louisbot
Copy link
Author

I'm sorry to disturb again but about this problem, unfolded.ai found a solution, the video render is great the only problem with it the interval timing which isn't that good (the map isn't fluid).

@chrisgervang
Copy link
Collaborator

Can you share what the exported video file looks like from unfolded?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants