Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/08/2004 at 03:17, xxxxxxxx wrote:
User Information: Cinema 4D Version: 8.5 Platform: Windows ; Language(s) : C++ ;
--------- Hi, I just want to add a LayerShader with some others shaders in it. Like : // Create shader PluginShader *sh = PluginShader::Alloc(Xlayer); PluginShader *sh2 = PluginShader::Alloc(Xfilter); PluginShader *sh3 = PluginShader::Alloc(Xlumas); Then I try to insert all that, I try many differents way. but no result. My last test is : sh->InsertShader(sh3); sh->InsertShader(sh2); BaseContainer bc = ch->GetData(); bc.SetData(BASECHANNEL_SHADERID, sh->GetData()); ch->SetData(bc); So the shader is on the Channel, but not is child ... If any one know a very simple way to to this, will be nice Michel