Author Topic: Selecting all objects with CoronaDistance Texmap  (Read 869 times)

2019-11-21, 18:29:44

marchik

  • Active Users
  • **
  • Posts: 111
    • View Profile
Guys, I need your help!
I have a complex scene that i created in 3ds max 2018 and corona 5, then I upgraded to 2020.2 and now I need to return to this scene and continue working.

The problem is - when I open this scene in 2020, 3ds max just crashes. I can merge all the stuff into a new scene, but after saving and opening 3ds max continues to crash. Empirically, I found that it was Corona render, because when you remove Corona render completely - the problem disappears.
Alternately isolating the layers and "save selected" to new separate scenes, I found out that the problem concerns objects, the materials of which contain a distance map.

And now i need to find  all my objects with distance map. Unfortunately I dont know the MAXscript and therefore I need your help, plz)

2019-11-21, 20:17:00
Reply #1

TomG

  • Corona Team
  • Active Users
  • ****
  • Posts: 3979
    • View Profile
The only good thing about a crash is that it creates a minidump, which lets developers see what was happening at the time. For any crash, please always send us the minidump (here, or by private uploader) - see https://coronarenderer.freshdesk.com/support/solutions/articles/5000524006-how-to-report-issues-3ds-max for info on how to find the minidump, the private uploader if you want to use it, etc. (Though it doesn't help with finding all the objects, it could be something that we need to fix in Corona itself, so the minidump would be helpful :) )

2019-11-21, 20:18:56
Reply #2

pokoy

  • Active Users
  • **
  • Posts: 1631
    • View Profile
You absolutely need to supply the scene or something that displays the same problem to the Corona staff, they will probably be able to identify the problem quickly. Or minidumps created with the crash. You will do a favor to the entire user base as this should simply not happen ever.

There's a script that lists all scene materials and maps by type, so you can display the distance maps and change to something else in the material editor, link:
https://3d-kstudio.com/product/scene-materialmap-floater/

Hope that helps.

2019-11-22, 13:30:23
Reply #3

marchik

  • Active Users
  • **
  • Posts: 111
    • View Profile

There's a script that lists all scene materials and maps by type, so you can display the distance maps and change to something else in the material editor, link:
https://3d-kstudio.com/product/scene-materialmap-floater/

Hope that helps.


Thank you so much for the script, it helped me to fix everything, and I will definitely upload the scene and dump as soon as I finish the project