On 24/09/2015 at 02:34, xxxxxxxx wrote:
Cinema 4D Version: 17
Platform: Mac OSX ;
Language(s) : C++ ;
I am trying to access the res folder, and a subfolder inside it where I have some images stored.
On windows, I can access the folder with the images without a problem, using this code:
String imageTexture = "myImage.jpg"; String ss = GeGetPluginPath().GetString()+"\\res\\"+"\\images\\"+imageTexture;
On Xcode 7, it does not work. It gives this result in the material editor:
Asset not found.
Cause: file:///Applications/MAXON/CINEMA 4D R17/plugins/MyPlugin\res\\images\myImage.jpg
Cause: Errno #2: No such file or directory
Note the backslashes, they need to be forward slashes, but I can't figure out how to do this on the Mac.
Any help on this would be appreciated.