I'm trying to export an animated vrayProxy in Maya 2016 with V-Ray 3.05 nightly build 25823.
First off, Maya freezes when scrubbing the timeline when viewing an animated vray proxy. It also freezes during vray proxy animation export. This may not be V-Ray related but other users get this in our facility as well.
Since I've got a custom script which sets up the proxy, I need to perform the proxy export using the vrayCreateProxy MEL command. I'm having some difficulties getting the animation settings right. See below:
In the vrayCreateProxy command, you choose to specify "Use playback range", "Use animation range" and "Specify range".
I'm assuming that this refers to the -animType parameter of the MEL command and that they work like this:
"Use playback range": vrayCreateProxy -animType 0
"Use animation range": vrayCreateProxy -animType 1
"Specify range": vrayCreateProxy -animType 2
Also, I'm assuming that "Use animation range" detects the frames on which there are animation and exports only that range. But when using -animType 1, the whole timeline is exported. When checking the docs, it just says "the whole animation is exported"... so it's difficult to understand what the intended use is here. Also, when I try -animType 0, only the first 10 frames or so are exported at all times, regardless of what my render globals are like or how long my timeline is.
So: if I want to export only the range where there is animation for the selected object (which I want to export to proxy), what -animType value should I be using?
First off, Maya freezes when scrubbing the timeline when viewing an animated vray proxy. It also freezes during vray proxy animation export. This may not be V-Ray related but other users get this in our facility as well.
Since I've got a custom script which sets up the proxy, I need to perform the proxy export using the vrayCreateProxy MEL command. I'm having some difficulties getting the animation settings right. See below:
In the vrayCreateProxy command, you choose to specify "Use playback range", "Use animation range" and "Specify range".
I'm assuming that this refers to the -animType parameter of the MEL command and that they work like this:
"Use playback range": vrayCreateProxy -animType 0
"Use animation range": vrayCreateProxy -animType 1
"Specify range": vrayCreateProxy -animType 2
Also, I'm assuming that "Use animation range" detects the frames on which there are animation and exports only that range. But when using -animType 1, the whole timeline is exported. When checking the docs, it just says "the whole animation is exported"... so it's difficult to understand what the intended use is here. Also, when I try -animType 0, only the first 10 frames or so are exported at all times, regardless of what my render globals are like or how long my timeline is.
So: if I want to export only the range where there is animation for the selected object (which I want to export to proxy), what -animType value should I be using?
Comment