Hi,
When one creates a material and loads an image into the color channel Cinema4D pops up a messagebox, saying:
"This image is not in the project search path.
Do you want to create a copy at the project location ..."
When you reply "no" the full path to the image can be obtained from the BaseShader
.
When you reply "yes" only the image filename (without full path) is stored.
How to know if the content of the BaseShader
's parameter BITMAPSHADER_FILENAME
is a full path or simply the image's filename?
In other words, how to know to simply use the obtained data from the parameter as a global path, or as a local path relative to the project's tex folder?