Mograph Shader + Export to standalone

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

Moderators: ChrisHekman, aoktar

crowellster
Licensed Customer
Posts: 36
Joined: Tue Feb 16, 2016 12:13 am

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
User avatar
bepeg4d
Octane Guru
Posts: 10371
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

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
crowellster
Licensed Customer
Posts: 36
Joined: Tue Feb 16, 2016 12:13 am

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?
User avatar
bepeg4d
Octane Guru
Posts: 10371
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Please, post an example scene, or share it with me via Private Message, thanks.
ciao Beppe
crowellster
Licensed Customer
Posts: 36
Joined: Tue Feb 16, 2016 12:13 am

Ok, project attached. Thanks!
Attachments
MgShader.zip
(1.31 MiB) Downloaded 139 times
User avatar
bepeg4d
Octane Guru
Posts: 10371
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

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
crowellster
Licensed Customer
Posts: 36
Joined: Tue Feb 16, 2016 12:13 am

This is awesome! I had no idea I could use the instance color node that way! Thanks!
crowellster
Licensed Customer
Posts: 36
Joined: Tue Feb 16, 2016 12:13 am

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.
User avatar
bepeg4d
Octane Guru
Posts: 10371
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Which version of plugin are you using exactly?
I have exported your scene with 2018.1.3 without issues.
ciao Beppe
crowellster
Licensed Customer
Posts: 36
Joined: Tue Feb 16, 2016 12:13 am

Hmm, that's strange. That's the version I'm using as well.
Post Reply

Return to “Maxon Cinema 4D”