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

How to set backgroundImage for scene? #225

Closed
artvichi opened this issue Sep 9, 2019 · 4 comments
Closed

How to set backgroundImage for scene? #225

artvichi opened this issue Sep 9, 2019 · 4 comments

Comments

@artvichi
Copy link

artvichi commented Sep 9, 2019

Hi! Is it possible to add a .jpeg image to a scene? (I saw you have added road and other images in your blog) .
Also, is there a way to embed OccupancyGrid ?

@jtbandes
Copy link
Contributor

jtbandes commented Sep 9, 2019

Are you interested in a fixed background image, or an image that appears at a certain position in space (and moves with the camera)? For our map, we created a new Worldview command that loads and renders the images.

Are you using Webviz or are you creating your own React app with Worldview?

@artvichi
Copy link
Author

@jtbandes , thanks for fast response!
Worldview regl-worldview repo is used. Tried to do so with Overlay and GTLFScene but I hoped you have some simplest way to do that...
I need set a floor picture of the place where my robot drives. Image that may appear in different locations would be better. Ideally would be a possibility to add few layers on the map (but it's advanced feature).

@jtbandes
Copy link
Contributor

We don't have any built-in image renderer, but you can make one yourself with a custom command. Here's an example to get you started: https://codesandbox.io/s/nervous-elbakyan-0215j

@artvichi
Copy link
Author

@jtbandes , thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants