Page 1 of 2

Mograph Shader + Export to standalone

Posted: Tue Jul 23, 2019 3:32 am
by crowellster
Hello,
I'm using a mograph shader to control the color of clones. They change colors as a field animates through the cloner.

The color works in C4D--but when I export an animated ORBX to standalone, it loses that color for some reason.

Thanks,
Justin

Re: Mograph Shader + Export to standalone

Posted: Tue Jul 23, 2019 5:30 am
by bepeg4d
Hi,
MoGraph shaders do not exist in Standalone, so you need to replace them with Instance Color, or Instance Range nodes, for coloring your clones.
ciao Beppe

Re: Mograph Shader + Export to standalone

Posted: Fri Jul 26, 2019 6:06 pm
by crowellster
Ah, thanks. I'm not sure how I'd use either of those, though, given that I'm just using a cloner's color parameter to drive the function. Would you be able to point me to an explanation of that?

Re: Mograph Shader + Export to standalone

Posted: Sat Jul 27, 2019 5:49 am
by bepeg4d
Please, post an example scene, or share it with me via Private Message, thanks.
ciao Beppe

Re: Mograph Shader + Export to standalone

Posted: Sat Jul 27, 2019 8:16 am
by crowellster
Ok, project attached. Thanks!

Re: Mograph Shader + Export to standalone

Posted: Mon Jul 29, 2019 8:38 am
by bepeg4d
Hi,
just replace the MG color Shader with an Instance Color shader.
Switch the Source to Particles, and drag and drop the MENU MoGraph cloner into the source field:
7D45C6D4-B6AA-4AD2-84BF-96A3A71E607F.jpeg
In this way, the cloners will be correctly rendered and exported to Standalone, and you can also set the MoGraph cloner to Render Instance:
3B7B80D0-05D0-4491-BEC2-7C17DE789A85.jpeg
ciao Beppe

Re: Mograph Shader + Export to standalone

Posted: Mon Jul 29, 2019 4:51 pm
by crowellster
This is awesome! I had no idea I could use the instance color node that way! Thanks!

Re: Mograph Shader + Export to standalone

Posted: Mon Jul 29, 2019 5:12 pm
by crowellster
Ok, so...now I'm running into the problem of when I try to export as an animated scene, it always crashes somewhere along the way. Usually before frame 60. Is there another method to export? I tried editing in standalone, but it looks like that eliminates the animation.

Re: Mograph Shader + Export to standalone

Posted: Tue Jul 30, 2019 6:51 am
by bepeg4d
Which version of plugin are you using exactly?
I have exported your scene with 2018.1.3 without issues.
ciao Beppe

Re: Mograph Shader + Export to standalone

Posted: Wed Jul 31, 2019 10:45 pm
by crowellster
Hmm, that's strange. That's the version I'm using as well.