THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 20/04/2004 at 09:30, xxxxxxxx wrote:
Cinema 4D Version: 8.207
Platform: Windows ;
Language(s) : C++ ;
I'm having a little trouble getting textures to be loaded. What I try to do is having a custom PluginObject, that uses a certain texture on itself. The object checks if the material is there, and if not, creates the material by itself. Inside this material, a texture is used in the color channel. I set the texture path using the BASECHANNEL_SUGGESTEDFOLDER container (since the textures reside inside the plugins own folder and can be found regardless of where the document is saved). The path correctly shows up in the material manager, but the texture is not loaded, the preview and render still show the standard grey surface. Only after I click into the image-path field and hit return the texture loads. Is there a special trick to (re)load the texture, or do I have to activate anything else than the color channel itself (I tried sending a MSG_UPDATE to both the channel and the material)?
Tanks in advance,