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 13/07/2010 at 11:08, xxxxxxxx wrote:
User Information: Cinema 4D Version: R11 Platform: Windows ; Language(s) : C++ ;
--------- hi.
the LayerShaderLayer parameter LAYER_S_PARAM_SHADER_LINK is "read-only" which is too bad really. nevertheless i can delete a BaseLink by setting the parameter like this: layer- >SetParameter(LAYER_S_PARAM_SHADER_LINK, NULL); this is dirty, filthy, bad style, i know, but can it cause problems?^^ the result is, the BaseLink is deleted and in place of the deleted layer there is now an empty folder. i could live with this rather than totally discard my little plugin, as there seems to be no way to modify textures and shaders in a layer shader.
On 16/07/2010 at 17:12, xxxxxxxx wrote:
Maybe copy the contents from one layer, modify it as you wish, then insert it as a new layer and delete the old one? Just a quick guess.
Cheers, Jack
On 17/07/2010 at 03:35, xxxxxxxx wrote:
hmm, i want to replace and or delete layers and i guess modifying them will keep being the problem, for the only function i need is setting the link, which is read-only.
On 17/07/2010 at 04:47, xxxxxxxx wrote:
that's what I mean. Create a new layer with a new link, delete the old one.
On 18/07/2010 at 22:16, xxxxxxxx wrote:
i don't think this is possible, as seen here: https://plugincafe.maxon.net/topic/4557/4340_insert-shader-under-layershader
On 19/07/2010 at 01:13, xxxxxxxx wrote:
Originally posted by xxxxxxxx this is dirty, filthy, bad style, i know, but can it cause problems?^^
Originally posted by xxxxxxxx
this is dirty, filthy, bad style, i know, but can it cause problems?^^
At best it shouldn't crash Cinema but use it at your own risk.
cheers, Matthias
On 29/07/2010 at 03:35, xxxxxxxx wrote:
hi,
thanks for your replies. i have to live with this then and will do some more testing to see if it causes problems.