ActiveObjectManager- Channel
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/03/2005 at 06:03, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9
Platform: Windows ;
Language(s) : C++ ;---------
Hi there,
I've got another little Problem.
I want to display in the ActiveObjectManager a specific Channel of the currently selected Material.
I tried this:BaseChannel* chan = mat->GetChannel(CHANNEL_COLOR); ActiveObjectManager_SetObject(ACTIVEOBJECTMODE_SHADER, chan, true);
but it does not work, neither with ACTIVEOBJECTMODE_MATERIAL.
are there things i could have overlooked?
Thanks in advance,
affa
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 15/03/2005 at 04:47, xxxxxxxx wrote:
With Shaders and Materials it's already working,
but i can't figure out why the channels aren't displayeddoes anyone know help?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/03/2005 at 02:25, xxxxxxxx wrote:
Is there a possibility to send the right message to the ActiveObjectManager?
I mean if i first let him display the Material Attributes, and then make him display only a specific channel? -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 19/03/2005 at 10:10, xxxxxxxx wrote:
no one an idea?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 25/03/2005 at 13:03, xxxxxxxx wrote:
Channels are simply groups (tabs) within the main material description. Unfortunately there's no way to control which tab is shown afaik. To show the actual shader set in the channel you can use chan->GetShader() instead.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 26/03/2005 at 00:35, xxxxxxxx wrote:
Thanks very much for the answer.
Although it's bad that it isn't possibleThe thing with the shader I already noticed, thanks.
So I must think about an other solution -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 26/05/2005 at 02:23, xxxxxxxx wrote:
now its done, if you'd like to test it, here it is: