I cant seem to be able to import muy .rdc capture, The samples works.
I tried every combo of Blender Version, Addons Version and RenderDoc version but none work with my capture, the sample all works.
I got two gpu which are Nvidia RTX 4060 and Intel UHD Graphics.
I look in the capture file itself and notice the following:
A sample file Capture Structure
And compare to mine:
They dont have the same ammount of Color Passes and the error in blender is the following:
google_maps_rd failed and returned:
Loading capture from Z:\Capture\park.rdc...
Trying scraping strategy #4 (from draw call #0)...
(Skipping drawcall ClearDepthStencilView())
Not relevant yet: ClearRenderTargetView()
Not relevant yet: ClearDepthStencilView()
Not relevant yet: ClearDepthStencilView()
Not relevant yet: DrawInstanced()
Traceback (most recent call last):
File "Z:\Blender Foundation\Blender\4.1\scripts\addons\MapsModelsImporter\google_maps_rd.py", line 377, in <module>
main(controller)
File "Z:\Blender Foundation\Blender\4.1\scripts\addons\MapsModelsImporter\google_maps_rd.py", line 369, in main
scraper.run()
File "Z:\Blender Foundation\Blender\4.1\scripts\addons\MapsModelsImporter\google_maps_rd.py", line 278, in run
relevant_drawcalls, capture_type = self.extractRelevantCalls(drawcalls)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "Z:\Blender Foundation\Blender\4.1\scripts\addons\MapsModelsImporter\google_maps_rd.py", line 214, in extractRelevantCalls
return self.extractRelevantCalls(drawcalls, _strategy=_strategy+1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "Z:\Blender Foundation\Blender\4.1\scripts\addons\MapsModelsImporter\google_maps_rd.py", line 176, in extractRelevantCalls
if not skipped_drawcalls or self.hasUniform(skipped_drawcalls[0], "_uMeshToWorldMatrix"):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "Z:\Blender Foundation\Blender\4.1\scripts\addons\MapsModelsImporter\google_maps_rd.py", line 142, in hasUniform
constants = self.getVertexShaderConstants(draw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "Z:\Blender Foundation\Blender\4.1\scripts\addons\MapsModelsImporter\google_maps_rd.py", line 132, in getVertexShaderConstants
elif var.type == rd.VarType.Int:
^^^^^^^^^^^^^^
File "Z:\Blender Foundation\Blender 4.1\4.1\python\Lib\enum.py", line 784, in __getattr__
raise AttributeError(name) from None
AttributeError: Int. Did you mean: 'SInt'?
I cant seem to be able to import muy .rdc capture, The samples works.
I tried every combo of Blender Version, Addons Version and RenderDoc version but none work with my capture, the sample all works.
I got two gpu which are Nvidia RTX 4060 and Intel UHD Graphics.
I look in the capture file itself and notice the following:
A sample file Capture Structure![image](https://github.com/eliemichel/MapsModelsImporter/assets/46450797/0ffc3b9f-f505-4304-a8e6-5b420dac415a)
And compare to mine:![image](https://github.com/eliemichel/MapsModelsImporter/assets/46450797/a71edba8-f6dd-4106-9de7-d1034f3781d3)
They dont have the same ammount of Color Passes and the error in blender is the following: