THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/01/2005 at 11:25, xxxxxxxx wrote:
Cinema 4D Version: 8.100
Platform: Windows ;
Language(s) : C++ ;
ch = ((TextureTag * ) tag)->GetMaterial()->GetChannel(CHANNEL_COLOR);
When i do
cont = ch->GetData();
name = cont.GetString(BASECHANNEL_TEXTURE);
GePrint("Color texture name: " + name);
i get the correct texture name so it's alright.
But now i have to get the texture bitmap. I tried
ch->GetBitmap() and i got NULL pointer. So i tried ch->GetShader()->InitRender() before with a InitRenderStruct created by me and nothing again.
First: when a texture image lies on the PluginShader?
Second: plz, help me, i can't make it work
On 17/01/2005 at 19:11, xxxxxxxx wrote:
I know the answer of my question is simple, so please help me...