r/GraphicsProgramming • u/The_Pretend_bad_guy • Sep 14 '24
Question Help an Architect out 🥲. Why can't RenderDoc capture 3d from other MapMyIndia
https://www.googleadservices.com/pagead/aclk?sa=L&ai=DChcSEwjRzJ7N2sKIAxUMMIMDHT0ZDi4YABAAGgJzZg&co=1&ase=2&gclid=CjwKCAjw6JS3BhBAEiwAO9waF9WPqY-wZ2D-Cz-aPmEt-amozpbLpLsHd_UuI7ILVjfhs71voTQBshoCiI0QAvD_BwE&sph&ohost=www.google.com&cid=CAESV-D2cuddanQS4jx3Z7G3XncXZiLJkIMVA7wVJZm-cq-z-rzLtzNoVqjebqQLrbAnSXLKyMNKOAv3ty8gPqK2gi_pm8QqTR-FgVCedQr1Vgx45hbbIfQW-w&sig=AOD64_2JyHqprxZLPAAS5ZVd8XxvNk1BHw&q&nis=4&adurl&ved=2ahUKEwiJkprN2sKIAxUKdmwGHSfGIFAQ0Qx6BAgHEAERenderdoc is very easily capturing data from Google maps but cannot take info from map my india or Mappls idk why
Can someone please help
7
u/CodyDuncan1260 Sep 14 '24
You may be going about this the hard way.
Map services use an API to serve data to their applications. It's easier to get data from the API than to extract it from a running application.
E.G.
Mappls has an API for requesting still images https://developer.mappls.com/mapping/still-map-image-api
Google Maps has a similar API https://developers.google.com/maps/documentation/maps-static/overview
This Mappls sample looks like it pulls 3d models. Since it has a handler in javascript, might be able to dump that data to file. https://about.mappls.com/api/web-sdk/vector-map-example/Maps/mappls-3D-model
These are commercial enterprises that fund developer support teams. Either their documentation, community, or contacting them directly for a support request might be able to point you at an API to get the source data needed. Usually these will be friendly to students.
2
5
u/obp5599 Sep 14 '24
What have you tried?
1
u/The_Pretend_bad_guy Sep 14 '24
The same process of copying off Google maps Inject and capture
3
u/obp5599 Sep 14 '24
What is the “same” process
1
u/The_Pretend_bad_guy Sep 15 '24
Basically u turn on renderdoc
On the command prompt u put
set RENDERDOC_HOOK_EGL=0 "C:\Program Files\Google\Chrome\Application\chrome.exe" --disable-gpu-sandbox --gpu-startup-dialog
Then after that chrome starts with a process id pid in the dialog box
U enter that pid in render doc and inject the process
U go back to chrome press ok on the dialog box
Go to Google maps in the area and capture the frame from render doc
Then once u get the capture u save it as .RDC
With a blender plugin it creates a model
And that's it
But I am not able to do it in mappls
-2
u/The_Pretend_bad_guy Sep 14 '24
Also I have no idea what renderdoc is or how it works I just use it to get approx dimensions for model making as the 3d models extracted are pretty shabby anyways
But they don't have 3d in India bcos of the regulation of the government
-1
u/The_Pretend_bad_guy Sep 14 '24
But Mappls does but without texture only boxes nothing too intricate
1
u/ArmmaH Sep 15 '24
They are probably using some compression or optimization technique. They might be encoding geometry data in the textures, in which case you need their shaders to decode it. Or they might be quantizing the geometry buffers. Minecraft the game does some clever encoding for memory bandwidth optimization, for example.
0
Sep 14 '24
[deleted]
1
u/The_Pretend_bad_guy Sep 14 '24
It's not for commercial use it's just for my architecture presentation And site analysis of a college project
3
2
7
u/specialpatrol Sep 14 '24
Possibly they are not using the GPU to render.