Dear Vlado
We have running vray2.00.04_ADV for maya2011 on windows Vista64. We plan use new version of Vray next week ![]()
Ok. We have problems with file textures paths (maya file node) that contain enviroiment variables e.g.
$SHOW/work/oprzybyszewski/maya/sourceimages/3de_telefony_seq0010_shot0020_c5.render/EkranNokia.tga
When it comes to rendering we got following warning.
// Warning: Bitmap file “$SHOW/work/oprzybyszewski/maya/sourceimages/3de_telefony_seq0010_shot0020_c5.render/EkranNokia.tga” failed to load: Failed to open file: no such file //
SHOW environment variable is set after loading Maya, so it’s visible only in Maya environment. We set SHOW variable using following python code:
os.environ[‘SHOW’]=our_path
Script that contain this code is running during loading Maya using following code:
maya -script startupScript
In Maya script editor os.getenv(‘SHOW’) command gives me correct result.
Other renderes like MentalRay or Software renderer in Maya don’t have problems with reading this file ( they can render properly this file and We can see this file in viewport).
Do You have any idea what is happened?
Regards Olaf