Hey,
I'm having some problems with V-ray shaders that are using textures mapped with environment variables where it results in Error creating thumbnails....
Tested this on Maya 2016 Ext 1 (Windows 7) using V-Ray for Maya 3.30.01.
For example (simplified the path):
The ${STORAGE} variable is stored as a drive, e.g: P:
With this error it also means thumbnails in the hypershade don't work. Starting a render does actually render the textures as they should, also the viewport shows the textures alright. Nevertheless for larger scenes when opening the hypershade you get spammed with error messages about the thumbnails.
Am I writing the texture path wrong? Should it be formatted differently? Or is this a bug?
Also linking the texture in a non v-ray material works fine with thumbnails (e.g. a lambert) and doesn't give any errors. It seems the "thumbnail renderer" for V-ray materials doesn't take into account the current environment variables or can't resolve environment variables?
I'm having some problems with V-ray shaders that are using textures mapped with environment variables where it results in Error creating thumbnails....
Tested this on Maya 2016 Ext 1 (Windows 7) using V-Ray for Maya 3.30.01.
For example (simplified the path):
Code:
// Error: Error creating thumbnail for image ${STORAGE}/textures/wood.tga
Code:
import os os.environ['STORAGE'] = "P:"
Am I writing the texture path wrong? Should it be formatted differently? Or is this a bug?
Also linking the texture in a non v-ray material works fine with thumbnails (e.g. a lambert) and doesn't give any errors. It seems the "thumbnail renderer" for V-ray materials doesn't take into account the current environment variables or can't resolve environment variables?
Comment