When rendering locally we can generate Deepdata but on the farm the file that comes out has no deepdata in it.
Is there some extra flag needed for command line rendering?
I went trough this whole craziness of editing vrscene files, deep vs elements vs depths around half year ago. To save you some time - adding img_deepFile is not enough, you need to add vrayOutputDeepWriter plugin too, something like this:
we export the following when Deep is enabled for the image output.
img_deepFile=1;
img_rawFile=1;
Those are flipped for hython when the export mode is set to Export&Render but seem correct if set to Export only. We’ll fix this, of course. Scratch that, my mistake.I still have no clue why this happens for you but I’ll keep digging.
The issue you’re having on the farm seems to be caused by the imgFile flag.The dev team has been notified and I hope we’ll fix this ASAP but until then, you can use the -parameterOverride option to specify the output folder and output image name. E.g.
No, there is an issue with “-imgFile=” command line option and deep writer.
So, instead of using “-imgFile=” command line option use “-parameterOverride=” command line argument to override SettingsOutput::img_dir and SettingsOutput::img_file.
So, instead of this: $VRAYHOUDINI_BIN -display=0 -noFrameNumbers=0 -frames=1001 -sceneFile=${NS_TMP}/1001.vrscene -imgFile=/path/asdfasdfasdf/foobar.#.exr
Use this: $VRAYHOUDINI_BIN -display=0 -noFrameNumbers=0 -frames=1001 -sceneFile=${NS_TMP}/1001.vrscene -parameterOverride="SettingsOutput::img_dir=/path/asdfasdfasdf/" -parameterOverride="SettingsOutput::img_file=foobar.<frame04>.exr"
Then i’ll just chill but for your info I added those overrides and then it did not write out any file at all even tho it says overridden successfully in the log.
@chakarov what build are you using then? It was logged as a bug so maybe its been fixed if you are using a more recent build? I’m back at work on Tuesday and will test with latest build again then.
we’ve both been trying to reproduce the issue here to no avail. I spent a couple of hours exporting manually from the UI, with Hython and with Deadline, removing and adding $AOV and $F tags hoping one of those causes the issue. Sadly, no luck.
Would either one of you be willing to give us a scene file that reproduces this (you can delete literally everything else but the Renderer node(s) and the Deadline node(s) if any).
As to the logged issue ( HOU-1458 ) - this is related to the imgFile command line parameter problem - this one is not yet resolved.
We’ve tried both the latest nightly and an older build that we’d prefer to use as the latest nightly breaks time offsetting on packed alembics (I’ll bug it later).
When we render on the farm with $F4 it doesn’t have deep data, when we render with # it has deep but it doesn’t substitute the frame number in and exports to some/path.#.exr, w/ each frame overwriting that path instead of some/path.1001.exr, some/path.1002.exr, etc.
We’ve also tried diff-ing the resulting .vrscene w/ one from Maya to see if it was something we could just inject post-export but couldn’t find anything that looked amiss.
We tried rendering the Maya .vrscene w/ VRay for Houdini’s vray.exe and that rendered deep correctly.