On 04/09/2013 at 06:28, xxxxxxxx wrote:
Hey guys,
I'm working on a plugin that automatically uploads c4d files to netrender which works fine. It uploads the same file multiple times with different settings.
Since On the netrender it needs one Tex folder for each file, the plugin has to upload all the textures for each version of the file all over again. If I have 6 gigabytes of textures and 5 versions of the same file to be rendered, the plugin uploads 30 gigs worth of textures, 5 duplicats of each texture.
To solve this problem i thought about only uploading the textures into the folder of the first version of the .c4d file on the netrender. I then upload following versions of the .c4d file and i change all the texturepaths so its nolonger just
fabric.jpg (since its in the "tex" folder)
but
\\MACMINI\Macintosh HD\Netrender\user\administrator\filenameVersionOne ex\fabric.jpg
This way, all the different versions to be rendered refer to the same texture folder.
The problem is, that i can't find any way of formulating a path, that works on all the machines in the network. The machine hosting the administrator folder cant find \\MACMINI\Macintosh HD\Netrender\... since it's itself.
Does anyone have any ideas how to solve this or has someone even solved this before?
Help is always much appreciated!
Thanks
Aurel