THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 19/11/2009 at 16:24, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 11
Platform: Windows ;
Language(s) : C++ ;
---------
I use the following code to find the file Venus_Map.jpg.
elevationData->SetFilename(BITMAPSHADER_FILENAME, Filename("Venus_Map.jpg"));
However it will only find that file if it is in the temp directory for c4d.
I would like it to find that file in a specific location, namely in the plugin folder in a sub folder called presets and in another sub folder called venus.
so the directory listing looks like this.
#Planet\presets\venus\Venus_Map.jpg
How would I do that in the code I have,, I tried using the path but it won't wok. Can someone help me?
Thanks,
~Shawn