Problem with textures paths (maya file node) that contain enviroiment variables

Dear Vlado

We have running vray2.00.04_ADV for maya2011 on windows Vista64. We plan use new version of Vray next week :slight_smile:
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

I don’t think we support this feature in the 2.00.04 version; it is implemented for the latest builds, but the format would be ${SHOW}/work… we could probably make it work using $SHOW, but for the moment you’ll have to use the brackets.

Best regards,
Vlado

wooowww…
Thanks for so fast reply. I will try this, or just we will reinstall Vray to the 2.20.01

Thanks Vlado

Hi

We reinstall Vray in Our company to the new version and it works. It must be ${SHOW} and it works fine in latest version of Vray. ( in version 2.00.04 it’s not work). All this We check on windowsXP64, Vista64 and linux ubuntu64 10.04LTS.

Thanks again for Your support.

nevermind, for some reason this features not want to work until restart PC, now it works