I am getting erros saying warning:Bitmap File “G:/xxxx/xxxxx/xxxx.tiff” failed to load failed to open file:2
this happens for all my files, so does this mean i need to transfer all the files to every computer?
or do they just need access to the directory in the main render client?
EDIT: the only way i got it to work is to map the drive by setting permissions to the root of the drive on the render server,
this seemed to work, is this a correct way? windows warned me of it being a risk. so im a bit worried.
please excuse my lack of Networking knowledge.
for example lets say i have 2 computers, in my Client the textures are stored in F:/scenes/textures/example.tiff
when i now set my sharing permissions to F:/scenes/textures/
and then map my drive to that as well in the slaves, It is reading that directory as the root of F:/ as opposed to a folder within F:/
this is causing vray to not find my textures . The only way it seems to not give me an error is when i set the root of F:/ as shared
but like i mentioned above im told this is a bad idea (sharing a root directory)
can anyone help me out would be really appreciated.
The texture maps need to be in a place where all machines can access them. You can either copy them locally, or place them in a shared network location.
For DR, it takes some time to write out the render scene file and transfer it to all the render servers; for simple scenes this time might be longer than the actual rendering.
I managed to set up distributed render between a PC (as client) and a Mac (as server); a simple setup with a basic 3D scene (Maya2012). Both Pc and Mac render the image. Now I’m also trying to figure out how to let the Mac find the bitmap files (I also get the failed to load error). Is it possible to let the Mac find the bitmaps on a Windows system? Mac sometimes uses other file path notation. Sharing the drive or a subfolder and mounting it on a Mac does let it find the Bitmaps …
I installed Vray for Maya as standalone on the Mac (Snow Leopard). There is no Maya itself installed on the Mac. I also didn’t install the V-Ray license server on the Mac because I thought maybe this was not needed … ?
I start the render from Maya2012 on the PC; batch render with Distributed Rendering turned on.
If V-Ray cannot load a texture, it will check the VRAY_ASSETS_PATH environment variable and look in the directories listed there. You can set this variable before starting the V-Ray render server, so that it can find the textures.
I’m trying to get my head around this because I can’t seem to get it working. I still get the error on the OsX render slave :
warning: Bitmap file “D:/projects/dual/sourceimages/lettering_color_vs002.tif” failed to load: Failed to open file: no such file
On PC (WinXP) I shared the folder D:/projects (share name : projects). On the Mac I can access this share (using correct user account login). I guess the path on OsX to that share is Volumes/projects. I added this in the Maya.env file in users folder on the Mac :
### BEGIN CHAOS
### These lines are inserted by VRay installer
### Please do not modify anything between BEGIN CHAOS and END CHAOS
VRAY_FOR_MAYA2012_MAIN_x64=/Applications/Autodesk/maya2012/Maya.app/Contents/vray
VRAY_FOR_MAYA2012_PLUGINS_x64=/Applications/Autodesk/maya2012/Maya.app/Contents/vray/vrayplugins
VRAY_FOR_MAYA2012_MAIN_PowerPC=/Applications/Autodesk/maya2012/Maya.app/Contents/vray
VRAY_FOR_MAYA2012_PLUGINS_PowerPC=/Applications/Autodesk/maya2012/Maya.app/Contents/vray/vrayplugins
VRAY_PATH=$VRAY_PATH:/Applications/ChaosGroup/V-Ray/Maya2012-x64/bin/x64/vc6
VRAY_TOOLS_MAYA2012_x64=/Applications/ChaosGroup/V-Ray/Maya2012-x64/bin
### END CHAOS
VRAY_ASSETS_PATH=Volumes/projects
I guess I do not have to add the VRAY_ASSETS_PATH in the Maya.env on the PC.
I read that some used symlinks on Mac to get it working.
I start the render from within Maya (batch render) and not with Vray standalone …
The file path in the file nodes is a relative path. When trying to change this to a absolute path, Maya switches this back to a relative. I’m not sure if this adds to the problems.
The variable needs to be set on the machines where the render servers are running. One way to do it is to modify the vray-slave script to set the variable before V-Ray is started. Perhaps we can also figure a way to specify this variable in the Maya settings and then transfer it to the slaves automatically.
would it also be possible to get vray also look at the “VRAY_ASSETS_PATH” for “Lightmaps”? I guess when using DR just on windows machines it’ll work but the network-names between OSX and WIN are different, so I can’t access that files. I placed a Photon Map on my mac in the folder, which I set in the env but the log says: Error loading photon Map from file “d:/Maya/projects… etc”, so he just looks at the original place, I set in maya (on the windows machine) for the map… Or am I doing saomething wrong?
Hm, I think we are using the VRAY_ASSETS_PATH variable for light cache files already (as well as irradiance maps and photon map files). I’ll double-check though.
The textures are working perfect but when I want to use a saved Lightmap and place it in the sourceimages on my main machine and also in the path, i set for VRAY_ASSETS_PATH on the mac he still tries to load the image from the original place (sourceimages on win) and doesn’t look in VRAY_ASSETS_PATH. Would be great if you could check that.. thanks
hi , been looking at this thread which seems to outline the problem i’m having but so far haven’t been able to implement the solution ,
I’ve got a pc and a mac , the pc is the main computer and the mac is the slave.
I managed to share the maya project folder on the PC and used smb on the mac to connect to the PC and mount the shared folder, so far so good.
started v-ray slave on the mac , then in Maya on the PC I activated the distributed rendering option, Vray found the mac/slave, great so far !
On actual rendering though, the mac does join in but i get the black squares , ok… so the slave/mac can’t find the textures as its looking for the D:/ drive of the pc… how can i get the slave to find the files ?
took a look at the answers you provided further up the thread but… I have no idea how to find/modify the “VRAY_ASSETS_PATH”
you should look at http://www.chaosgroup.com/forums/vbulletin/showthread.php?63998-DR-on-different-OSes…
there you’ll find what you need… A tipp: either you have a folder on the mac, where every single image file, needed for the project, goes (so you’ll have all twice, on on the pc an one on the mac), or you mount the sourceimages (or whereever you store all your images for that project) folder from your pc via smb and assign that path to the VRAY_ASSETS_PATH.
edit: it works most of the times… i had problems with the lightmaps so decided to switch my mac into a win for dr
though I think I’ve reached the point you got to where you mentioned that for some reason the slave doesn’t seem to be redirected to the location of the textures even though I’ve opened the terminal and entered the export VRAY_ASSETS_PATH=”Macintosh HD/users/…/sourceimages/” to tell vray where the mounted folder is.
Also did as you suggested re copying the source images to the mac and then tried to do the terminal command export VRAY_ASSETS_PATH=”" etc and still no joy there, so close and yet so far
do you know if there’s a way to check that the export VRAY_ASSETS_PATH=”Macintosh HD/users/…/sourceimages/” command has worked in the terminal?
just enter export. That shows you all set variables. If the path is correct it should work. The textures were all fine for me.. just the lightmaps didn’t work. I suggest anyway to enter the export command (of course with your path ) to the “profile” file within /etc to have the variable set whenever you open the terminal.
edit: by the way do not use the slash at the end of the path! just export VRAY_ASSETS_PATH=“/Volumes/Macintosh HD/users/…/sourceimages” … that worked for me!
ignuf:
“env | grep VRAY_ASSETS_PATH” should tell you if the path is set.
Also keep in mind that if you use export the exported environment variable is valid/active only for this terminal.
This implies that you should run the V-Ray Standalone from the same terminal.
still having problems, probably because i’m currently so unfamiliar with using the Terminal.
when I enter the $ export VRAY_ASSETS_PATH etc… and hit enter , all i get in the terminal as a response is “>” what does this mean, is it that its accepted the command, or waiting for more input ? I tried entering the env | grep … line but just get the “>” response again.
I think you should see “$”, but I’m mostly linux guy, so I may be wrong.
Are you sure you’ve closed all your quotes? If you have typed an opening quote, then you should type a closing quote.
If you don’t do so the shell will think that you want to enter multi-line strings.
This is what happens on linux.
If you still have problems, please attach a screen shot. This way it will be easier to see what exactly you’re doing.
thanks again,
ok, after what you suggested, think I’ve made minor progress in that the terminal now goes to the user$ prompt after I enter the VRAY_ASSETS_PATH=“/Users/ignuf/Documents/projects_personal/kings_collage/sourceimages”
the grep command hasn’t worked though unfortunately, so the only way I know if its worked or not worked, is when I hit render and get :-
warning: Bitmap file “D:/projects_personal/kingsCollage_Project/sourceimages/kingsColl_wal_col_4k.png” failed to load: Failed to open file: no such file
so far, the render slave is still looking for the D:/ drive of the PC. when i enter the VRAY_ASSETS_PATH command should I be in a particular directory ?