MapsModelsImporter icon indicating copy to clipboard operation
MapsModelsImporter copied to clipboard

Non-Gmap/Earth RDC model import possibility ?

Open Frankynov opened this issue 5 years ago • 3 comments

Hello, This is more a feature request than a proper bug report. My home city in Belgium is having an excellent 3D building viewer, with good textures and relatively low polygons - yet detailed. So it seems to be ideal for a Flight Sim import, as Google Maps doesn't cover that area. The url is available here : https://www.pavillon-namur.be/3d And my zipped capture file : https://scratiphone.com/Documents/Cathedrale.zip So I tried to fire up RenderDoc 1.9 and have a capture, but sadly it isn't importing in Blender.

  • The .rdc file : https://scratiphone.com/Documents/Cathedrale.zip
  • Your GPU name : AMD RX 580
  • Version of this add-on (must be the most recent one) : 0.3.2
  • Version of RenderDoc (1.6 recommended) : 1.9
  • Version of Blender (2.82 recommended) : 2.83.6 (LTS)

I know this addon is specifically designed for Google Earth / Maps or Mapy.cz and that my use case is quite limited (to my knowledge only my town is having this web interface). But do you think there is a possibility to capture these 3D data into Blender ?

Thank you !

Logs :

Invalid RDC capture file. Please make sure that:
1. You are importing from Google Maps (NOT Google Earth)
2. You were MOVING in the 3D view while taking the capture (you can use the Capture after delay button in RenderDoc).
Please report to MapsModelsImporter developers providing the .rdc file as well as the full console log.
Console log is accessible in Windows > Toggle System Console (right click to copy).

Loading capture from C:\SceneryCreation\NAMUR3D\Cathedrale.rdc...
Trying scrapping strategy #0...
Not relevant yet: ClearRenderTargetView(0.000000, 0.000000, 0.000000, 1.000000)
Not relevant yet: ClearDepthStencilView(D=1.000000, S=00)
Not relevant yet: ClearRenderTargetView(0.000000, 0.000000, 0.000000, 1.000000)
Not relevant yet: ClearDepthStencilView(D=1.000000, S=00)
Not relevant yet: DrawIndexed(1920)
Not relevant yet: DrawIndexed(1920)
Not relevant yet: DrawIndexed(1920)
Not relevant yet: DrawIndexed(1920)
Not relevant yet: DrawIndexed(1920)
Not relevant yet: DrawIndexed(1920)
Not relevant yet: DrawIndexed(1920)
[...]
Not relevant yet: Present(ResourceId::229)
Trying scrapping strategy #6...
Not relevant yet: ClearRenderTargetView(0.000000, 0.000000, 0.000000, 1.000000)
Not relevant yet: ClearDepthStencilView(D=1.000000, S=00)
Not relevant yet: ClearRenderTargetView(0.000000, 0.000000, 0.000000, 1.000000)
Not relevant yet: ClearDepthStencilView(D=1.000000, S=00)
Not relevant yet: DrawIndexed(1920)
Trying scrapping strategy #7...
Not relevant yet: ClearRenderTargetView(0.000000, 0.000000, 0.000000, 1.000000)
(Skipping drawcall ClearDepthStencilView(D=1.000000, S=00))
(Skipping drawcall ClearRenderTargetView(0.000000, 0.000000, 0.000000, 1.000000))
(Skipping drawcall ClearDepthStencilView(D=1.000000, S=00))
(Skipping drawcall CopySubresourceRegion(ResourceId::90186, ResourceId::90179))
(Skipping drawcall CopySubresourceRegion(ResourceId::90187, ResourceId::90178))
(Skipping drawcall Draw(3876))
(Skipping drawcall Draw(4338))
(Skipping drawcall Draw(3546))
(Skipping drawcall Draw(3531))
[...]
Trying scrapping strategy #7...
Not relevant yet: ClearRenderTargetView(0.000000, 0.000000, 0.000000, 1.000000)
(Skipping drawcall ClearDepthStencilView(D=1.000000, S=00))
(Skipping drawcall ClearRenderTargetView(0.000000, 0.000000, 0.000000, 1.000000))
(Skipping drawcall ClearDepthStencilView(D=1.000000, S=00))
(Skipping drawcall CopySubresourceRegion(ResourceId::90186, ResourceId::90179))
(Skipping drawcall CopySubresourceRegion(ResourceId::90187, ResourceId::90178))
(Skipping drawcall Draw(3876))
(Skipping drawcall Draw(4338))
(Skipping drawcall Draw(3546))
(Skipping drawcall Draw(3531))
(Skipping drawcall Draw(7290))
(Skipping drawcall Draw(3942))
(Skipping drawcall Draw(4434))
(Skipping drawcall Draw(5928))
(Skipping drawcall Draw(52704))
(Skipping drawcall Draw(21969))
(Skipping drawcall Draw(5136))
(Skipping drawcall Draw(3714))
(Skipping drawcall Draw(5313))
(Skipping drawcall Draw(6780))
(Skipping drawcall Draw(6252))
(Skipping drawcall Draw(8220))
(Skipping drawcall Draw(5424))
(Skipping drawcall Draw(306))
(Skipping drawcall Draw(12402))
(Skipping drawcall Draw(6378))
(Skipping drawcall Draw(1002))
(Skipping drawcall Draw(4272))
(Skipping drawcall Draw(18420))
(Skipping drawcall Draw(7020))
(Skipping drawcall Draw(20928))
(Skipping drawcall Draw(16659))
(Skipping drawcall Draw(1692))
(Skipping drawcall Draw(2994))
(Skipping drawcall Draw(10683))
(Skipping drawcall Draw(1830))
(Skipping drawcall Draw(7065))
(Skipping drawcall Draw(2868))
(Skipping drawcall Draw(3261))
(Skipping drawcall Draw(4938))
(Skipping drawcall Draw(3246))
(Skipping drawcall Draw(4572))
(Skipping drawcall Draw(1449))
(Skipping drawcall Draw(9096))
(Skipping drawcall Draw(960))
(Skipping drawcall ClearRenderTargetView(0.000000, 1.000000, 0.000000, 1.000000))
(Skipping drawcall ClearRenderTargetView(0.000000, 0.000000, 0.000000, 1.000000))
(Skipping drawcall Draw(3))
(Skipping drawcall ClearRenderTargetView(0.000000, 0.000000, 1.000000, 1.000000))
(Skipping drawcall Draw(3))
(Skipping drawcall ClearRenderTargetView(0.000000, 1.000000, 0.000000, 1.000000))
(Skipping drawcall Draw(3))
(Skipping drawcall ClearDepthStencilView(D=1.000000))
(Skipping drawcall ClearRenderTargetView(0.000000, 0.000000, 0.000000, 0.000000))
(Skipping drawcall GenerateMips(ResourceId::90193))
(Skipping drawcall ClearRenderTargetView(0.000000, 0.000000, 0.000000, 0.000000))
(Skipping drawcall ClearDepthStencilView(D=1.000000))
Scrapping capture from Google Maps...
Draw call: DrawIndexed(1920)
[...]
Draw call: DrawIndexed(1920)
Draw call: DrawIndexed(1920)
Draw call: DrawIndexed(1920)
Draw call: DrawIndexed(1920)
Draw call: DrawIndexed(1920)
Draw call: DrawIndexed(1920)
Draw call: DrawIndexed(186)
Draw call: DrawIndexed(1116)
Draw call: DrawIndexed(8958)
Draw call: DrawIndexed(4518)
Draw call: DrawIndexed(372)
Draw call: DrawIndexed(5409)
Draw call: DrawIndexed(8385)
Draw call: DrawIndexed(2454)
Draw call: DrawIndexed(15387)
Draw call: DrawIndexed(234)
Draw call: DrawIndexed(3066)
Draw call: DrawIndexed(4002)
Draw call: DrawIndexed(672)
Draw call: DrawIndexed(3210)
Draw call: DrawIndexed(11553)
Draw call: DrawIndexed(2118)
Draw call: DrawIndexed(1530)

globUniforms:
  _proj: [2.0377395153045654, 0.0, 0.0, 0.0, 0.0, 5.757745742797852, 0.0, 0.0, 0.0, 0.0, -1.000100016593933, -1.0, 0.0, 0.0, -54.319068908691406, 0.0]
  _view: [0.962459921836853, -0.15925797820091248, 0.21979045867919922, 0.0, 0.27142393589019775, 0.5647233128547668, -0.7793694138526917, 0.0, 0.0, 0.8097681999206543, 0.5867499709129333, 0.0, 348.57379150390625, -297.0222473144531, -268.15997314453125, 1.0]
  _origin: [185347.578125, 128042.4765625, 0.0]
  _skirtScale: [1.0]
  _texOffsetAndScale: [0.0, 0.0, 1.0, 1.0]

Frankynov avatar Sep 25 '20 12:09 Frankynov

Hi @Frankynov, thank you for your detailed post. I don't say no, this falls indeed into the scope of this add-on. Will let you know when I have some time (I could not use your rdc file, my GPU is too different so it does not load, I'll have to take mine)

eliemichel avatar Sep 25 '20 13:09 eliemichel

Also interested in extracting Seoul's 3D objects from https://smap.seoul.go.kr/ I do not have any blender or 3D related knowledge but hope to contribute to this project. It would be great if I can find any good-to-start documentation. Thanks!

minostauros avatar Oct 01 '20 08:10 minostauros

Hello :) Just wanted to know if you had the opportunity to have a look at these 3D models offered by the website ? I know it's a "niche" market. And to be honest, the next world upgrade will include France and Benelux so most probably the city will be revamped by Microsoft itself. But I'm still curious to see if we can workout something from these sources.

Also, maybe non-related directly, but they offer CityGML format of the models (see https://data.namur.be/explore/dataset/namur-3d-citadelle-et-ponts/table/ ) , but I haven't found any way to import into blender or regular 3D modeling tool.

Thank you !

Frankynov avatar Feb 25 '21 11:02 Frankynov