streetscape.gl
streetscape.gl copied to clipboard
Add left side and right side view of vehicle
Can anyone suggest, how to add left side view and right side view of a vehicle?
Thank you.
It is not completely clear what you are trying to achieve. We have some documentation how to display 2 logs. This creates 2 viewports with different data sources but synchronized controls and camera. https://avs.auto/#/streetscape.gl/advanced-topics/display-multiple-logs?section=synchronized-cameras
If you just want an additional 3d view from the same data, you should be able to create that using multiple LogViewers and updating the viewState. I'm not 100% sure on this but if you can access the view state of you main window then you should be able to adjust the other viewstates with a fixed transform (ie left & right)
@sivakanth1989 Let me know if the above is useful or not.
@twojtasz Thank you for the reply. My question is, right now we have 3 view modes: Perspective, top-down and Driver. Now I want to add Left view and Right view to see the vehicle from the left side and right side.
Could you please help me.
Hi @twojtasz and @srikanth-kuriyala,
Even I am looking for implementing same kind of requirement. Mainly I am trying to achieve rear view, can you please help me out in this? Thank you!
@twojtasz Thank you for the reply. My question is, right now we have 3 view modes: Perspective, top-down and Driver. Now I want to add Left view and Right view to see the vehicle from the left side and right side.
Could you please help me.
Hi, is it done yet?
Hello, nope.. still haven't done? any suggestions?
On Sun, Jun 20, 2021 at 3:02 PM pai @.***> wrote:
@twojtasz https://github.com/twojtasz Thank you for the reply. My question is, right now we have 3 view modes: Perspective, top-down and Driver. Now I want to add Left view and Right view to see the vehicle from the left side and right side.
Could you please help me.
Hi, is it done yet?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/uber/streetscape.gl/issues/346#issuecomment-864525909, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGHYNMI6FCXUYE6IQEW7PY3TTWYSLANCNFSM4HXYSMBQ .
That's easy. you can set your car offset bearing as 90 or -90, you can get it.