Tagged: Relink
- May 21, 2023 at 23:43 #38843hamada2003ParticipantPosts: 1Threads: 6Joined: May 2023
hello, there is a problem i have. when i use the search and relink option to BATCH process a bunch of MAT files. to find for example missing JPG files in the materialibraries then it does not work correctly. instead of linking to files nearby (in the same directory or subdirectory) it links to the FIRST file it finds with the same name. for example i have 3 MAT files in separate directorys and the textures in the subdirectories. but the links in the .MAT to these texture files are wrong (MAT files are moved from a different system). in the first and last .MAT a texture called OLD COPPER.JPG is used (but it is not the same texture). now when i use search and relink the tool will relink to the first OLD COPPER.JPG file it finds (in the first directory). but that is not the correct file for the third MAT file. the tool will ignore the OLD COPPER.JPG file that is in the subdirectory of the third MAT file. i hope i have exlained it in a way that you understand the problem.
Plugin version: 3.20
3ds Max version: 2024
Renderer: Vray - May 21, 2023 at 23:47 #38845Oleksandr KramerModeratorPosts: 256Threads: 1129Joined: Aug 2009
You right . This work as expected for models, but relink materials not to the nearest location.
Thanks for your feedback - May 22, 2023 at 17:24 #38848Oleksandr KramerModeratorPosts: 256Threads: 1129Joined: Aug 2009
This issue is fixed in version 3.20.25
You can download the latest version from the dashboard.
Auto-updater will be triggered in a few days if there’s no critical issue found.
Thanks for your feedback. - May 24, 2023 at 12:15 #38854hamada2003ParticipantPosts: 1Threads: 6Joined: May 2023
seems like it is not fixed.
two materials in a folder with a bunch of free vray materials:
now i do a “batch render and relink” on that whole folder:
ok now the paths are fixed. that one issue is resolved.
but… when i try to collect the files i am still not asked if i want to overwrite or replace the old_copper_bump.jpg file. the first file is collected in the MAPS folder, but i get no message window what i want to do with the second file of the same name.
- May 24, 2023 at 12:43 #38855hamada2003ParticipantPosts: 1Threads: 6Joined: May 2023
i forgot to mention i am asked once for a .TGA file but not for JPG files.
of course i have checked that i want to be asked for every file in the preferences.
when the dialog for the TGA file pops-up i did NOT check “apply to all”.
so i should be asked for every future files that have the same filenames. - May 24, 2023 at 13:40 #38856Oleksandr KramerModeratorPosts: 256Threads: 1129Joined: Aug 2009
It asks only in case the files are different
- May 24, 2023 at 13:49 #38857Oleksandr KramerModeratorPosts: 256Threads: 1129Joined: Aug 2009
In case a file has the status #Found, the tool will use a link that found by 3ds Max system
- May 24, 2023 at 16:12 #38858hamada2003ParticipantPosts: 1Threads: 6Joined: May 2023
what do you mean with different?
how does PM tells if it is different does it do a hash check if the files are indentical?because size and date are not enough.
i have a couple of BUMP.JPG files in that folder. they are all overwriten when collecting.
i am not asked if i want to rename them when collecting with batch and relink tool.i will tell you what i want to do but could not achive yet.
i have a folder METAL with a lot of subfolders for the individual MAT files.
these MAT subfolders have the texture nearby or in subfolders.
but the paths to the textures are not correct in the MAT files.now i run the batch an relink tool. to correct the wrong paths in the MAT files. so the paths point to the correct textures nearby or in a subfolder.
that works now after the fix you did in the last version:corrected path to the texture used in the material. each material has the correct path to its own texture file. that´s fine.
in the next step i want to collect ALL the texture of all MAT files in one MAPS folder.
but when i use the batch and relink tool to collect all the textures of all the MAT files in the METAL folder, some textures that have identical filenames are not collected. but they are not identical files. just the filenames are identical.
for example, instead of the original five different bump.jpg files (of which 4 need to be renamed by the tool) i end up with just one bump.jpg file in the MAPS folder.
that of course messes up the materials.
because 4 of the 5 materials now point to a bump.jpg file that is not correct.
- May 24, 2023 at 16:33 #38859hamada2003ParticipantPosts: 1Threads: 6Joined: May 2023
maybe i am doing something wrong.
it is also very confusing for me because this are not my materials but free material we downloaded and they are kind of a mess. :)
- May 24, 2023 at 16:46 #38861hamada2003ParticipantPosts: 1Threads: 6Joined: May 2023
sorry seems to be my fault.
there are some materials in the subfolders that are not .MAT files but .MXM files (maxwell render).that should not happen, it should all be vray files for 3d max.
that´s why they are not processed by project manager.
that is why the corresponding textures are missing in the MAPS folder.sorry again… i did not notice that before.
project manager seems to compare files with a crc/hash and that works fine if files are truly identical.
You must be logged in to reply to this topic.