load vrmesh or vray proxy via maxscript
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hello experts,
I have a problem with loading vrmesh via maxscript. here's the break down.
lets say
i have a setup for rendering many (meaning thousands of variations) objects. so i created them as proxies so i can render them in same setup.
also the proxy objects are instanced over a few places, so if need objects to be changed, they change at all places at once. so proxy worked this thing for me.
now i need to render each time, change proxy, change output path, and hit render again. i want to automate this process.
so i tried to write a maxscript which runs after each render, that can be done via postRenderEval MaxScript i read, but to load diff vrmesh sources
via maxscript? i am unable to do that. can someone please tell me how i can achieve this?
the scene has single proxy object, say named "vrayproxy001", which is instansed over places, and all vrmeshes files that i have prepared
needs to be loaded in this object only, and rendered. so the object place
is exactly same. so basically here's what i want maxscript to do:
1. fire when render finishes
2. load the next vrmesh file in the folder located. (it can be done by default index numbering of the folder, doesnt matter)
3. change the output path accroding to the new vrmesh file name.
4. start render.
Can someone please help me out? really got stuck... 😞 😞
Thanks in advance.
