Openstreetmaps rendering with OpenGL in V-Rep

Typically: "How do I... ", "How can I... " questions
Post Reply
atom
Posts: 2
Joined: 16 Jun 2017, 12:37

Openstreetmaps rendering with OpenGL in V-Rep

Post by atom »

Hello,

I'd want to use the openstreetmaps data (just the roads) directly in V-Rep for rendering by using the OpenGL API, , I'm very new to V-Rep, Is there a plugin which already does this? If it doesn't then can I directly call the OpenGL routines from V-Rep? Any help is greatly appreciated. The final aim is to create an entire Traffic Simulator on top of V-Rep.

Thank you.

coppelia
Site Admin
Posts: 10336
Joined: 14 Dec 2012, 00:25

Re: Openstreetmaps rendering with OpenGL in V-Rep

Post by coppelia »

Hello,

you could simply render the graphics yourself inside of a plugin, but I do not recommend this for following reasons:
  • The rendering engine of V-REP will probably change within 1-2 years. If you render something from within a plugin, then this functionality will very probably not be supported anymore at that time.
  • You won't be able to use the various functionalities upon your rendered elements, such as distance calculations, collision detections, proximity sensor detection, etc.
Best would be to write an importer that will generate appropriate shapes in V-REP. Similar to the URDF or SDF plugins for V-REP.

Cheers

Post Reply