Multishader in mograph TEXT

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

Post Reply
Jengo_1
Licensed Customer
Posts: 74
Joined: Sun Aug 25, 2019 4:17 am
Contact:

Hey, So i know how to multishade using random color and gradient, it still usually gives a mix of all the colors in the gradient rather than randomizing a solid color of each gradient step. But hoping it would change to be the same as the multishader.

However - I can't seem to find a way to make it work with mograph Text. There's no way to set the mograph text to multi-instance mode.
My attempt is to simply color each different letter with a different solid color. I need to keep it in editable text form since it's a lyric video and there's going to be a lot of changing text.

Simple enough yeah? Can't seem to find any info about it tho!
Jengo_1
Licensed Customer
Posts: 74
Joined: Sun Aug 25, 2019 4:17 am
Contact:

Ok so for some reason now when I add the instance range into the gradient node and increase the maximum ID, it works. However - it still gives me a smooth gradient between each character (so one letter is a solid color, but the next is a mix between one solid and the next solid).
The gradient is set to STEP, so there's no transitions between colors.

How can I just get each character (or any cloned object in mograph), to have only the solid color that exists in the gradient steps?

Aoktar? Beppe? I'm sure there's one simple thing I'm missing.
Thanks!
User avatar
bepeg4d
Octane Guru
Posts: 10371
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Hi,
please have a look at this example with Instance Range node:
MoGraphTextInstanceRange.c4d.zip
(38.16 KiB) Downloaded 123 times
D41E97A6-1304-4683-ADDB-B2872CA96CB9.jpeg
The key is to use the exact number of letters in the Instance Range node, and create the same number of different colors in the Gradient node.

ciao Beppe
Jengo_1
Licensed Customer
Posts: 74
Joined: Sun Aug 25, 2019 4:17 am
Contact:

Got i!
I tried also just applying the same number of instanced in the Instance Range to the number of gradient steps - and it seems to work good as well - that way I can use the same material for different phrases and it'll still work for all phrases.

One last thing - is there a way to randomize the distribution of the coloring? Right now the sequence of coloring in the letters seems to follow directly the sequence of color steps in the gradient. Anyway to control the randomization of the color spread?

Thanks!
User avatar
bepeg4d
Octane Guru
Posts: 10371
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

You should need to randomize the Instance ID of each single object/letter, but not with MoGraph Text, I guess, since we don’t have direct access to the ID number that is assigned sequentially by MoGraph :roll:
Maybe with Xpresso :roll:
ciao Beppe
Post Reply

Return to “Maxon Cinema 4D”