Resource Collector for Vray ?

I am looking for a Resource Collector utility (similar to the one found in 3ds max utilities section), that is capable of recognizing maps used in Vray materials, the map in the environment slot, the maps used in the Vray environment override slots etc. It seems like the standard Max resource collector does not see these maps (unless I do something wrong here, which is quite possible :slight_smile: ).

What do you guys use to collect resources for a finished 3ds max scene and update paths for maps accordingly ?

I’ve noticed this also, especially for saved IR maps. I can’t send an animation off to backburner without hand placing my IR maps somewhere on the network for all servers to see, something that would have been archived automatically in a scanlien situation. Chalk up another suggestion for a future release tweak?

yes i’ve been asking for this for a while - it’d be really really helpful.

http://www.chaosgroup.com/forum/phpBB2/viewtopic.php?t=15407&highlight=photometric+path

I prepared a small script to quickly collect to one folder all proxies and saved Ir/LC/Photon maps assigned in the render dialog or scene.
It can also change all the paths (render dialog and proxies) to match the collected maps.
Grab it here: http://www.scriptspot.com/lele/VRay\_Stuff\_Collector.rar

Unpack, run installer.ms, find what you need in the dialog box that pops up.
Check the maxscript listener for a clue as to what has happened during collection.
Note it will repeat the copy operation even if the file source and destination match (in which case it will simply fail the copy), or if the file is already present in the collection folder (in which case it will overwrite it without asking).
I find this to be the most predictable behaviour, but feel free to suggest others…
If someone could test this on UNC paths i’d be grateful :slight_smile:

Lele

Lele,

Sounds good, but I tested it and nothing happens.
It seems to work correctly until I click the “Collect” button. Just nothing happens…maybe an installation error? Please help, thanks a lot.
JR

what does the maxscript listener prints?
Are you using unc paths (\\pc_A\proxies\) or pulling /saving stuff to a local drive and path?

Thanks,
Lele

Thank you Lele (and sorry for not responding earliere, I did write a response but somehow never got it posted in this thread). Anyway I get the same problem as above, nothing happens. In my case I just want maps (eg. the HDRI map used in the environment to be collected to a local directory and for the path to be updated acordingly.

Thanks for the response LeLe,

Using local paths and asset tracking says “convert paths to UNC”
The maxscript listener is just empty.

Thanks again,
JR

It only collects proxies and Saved IRmaps (anything that has a savep path in the render dialog).
Won’t say a thing if it doesn’t collect anything.
Is the issue happening with any of those items?
For hdri maps and normal stuff there’s a nice collection already doable within max…

Lele

Sorry, im not quite sure what you mean about then nice collection already doable within max ?

The reason I started this thread is that I am looking for a resource Collector utility (similar to the one found in 3ds max utilities section), that is capable of recognizing maps used in Vray materials, the map in the environment slot, the maps used in the Vray environment override slots etc.

Would it be possible for you to expand your script to also include these maps?

Sorry, i forgot to include the override maps.
Would you want me to just collect the whole lot of bitmaps in one go?
That’d likely prove easier (code’s actually in place and commented…)

Lele

Yes collecting the whole lot in one go would be perfect (can not think of many situations whare I would need for some maps to be collected and not others, and making it all just happen also keeps it simple and straight forward to use) .. you already coded it? :shock:

Btw. could you perhaps also make an option for copying the max file itself also (like the build in resource collector does) ?

Thank you

http://www.scriptspot.com/lele/VRay\_Stuff\_Collector\_1.1b.rar

Will collect all the standard max bitmaps along with all the VRayHDRI now.
Turn collect standard bitmaps on should the standard collector miss some of those in strange places.

Let me know if there’s anything specific i forgot to include.

Thanks,
Lele

lol, like not said, i’ll try and do that, but don’t know if it can be copied across while open, i’ll check that.

Lele

http://www.scriptspot.com/lele/VRay\_Stuff\_Collector\_1.1b.rar

Max file collection (will rename as “collected_*.max”) and possibility of using the collected file or not.
If the user choses not to use the collected file, max will just leave the current file open with its save flag off, in other words, if the file needed save before collection, it will need saving afterwards. Unless of course one choses to use (open) the collected file.

Lele

Great, it works well LeLe!
thank you, JR

Thanks again Lele your work is amazing :wink: :wink: :shock:

Wow, seems like you made my dream come true. This is great .. and it works, even with the override maps :smile: I love the simplicity of your interface and the good and usefull work the script does behind the scenes.

Btw. just an idea - but do you also know other external renders (Final Render, Brazil, Maxwell etc.) and their API for accessing their materials? - I think that a tool like this covering a broad range of renders would have the potential for a commercial success for you. I for one (using different renders for different tasks and clients) would gladly pay for such a utility.

I do know brazil and fR to an extent, but i never used either in production.
I should grab a copy of each and start trying away, but it’s no petty money…
We’ll see if santa forgot something under the tree :smile:
Thanks for the kind words, by the way, glad it help bits :slight_smile:

Lele

Hi all
I was looking long for this and I’m very thankfull of the energy you put in sharing this script.
Unfortunatelly, it doesn’t work for me. Maybe I’m not using the good process.
I sweep the installer in the viz2007 window and “All done…”.
Find and Put the button for VRayStuffCollector on a float.
But nothing happens.
Thanks for your help…
Arno