Mograph Shader + Export to standalone

Forums: Mograph Shader + Export to standalone
Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderator: aoktar

Mograph Shader + Export to standalone

Postby crowellster » Tue Jul 23, 2019 3:32 am

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

Re: Mograph Shader + Export to standalone

Postby bepeg4d » Tue Jul 23, 2019 5:30 am

bepeg4d Tue Jul 23, 2019 5:30 am
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
User avatar
bepeg4d
Octane Guru
Octane Guru
 
Posts: 9940
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy

Re: Mograph Shader + Export to standalone

Postby crowellster » Fri Jul 26, 2019 6:06 pm

crowellster Fri Jul 26, 2019 6:06 pm
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?
crowellster
Licensed Customer
Licensed Customer
 
Posts: 36
Joined: Tue Feb 16, 2016 12:13 am

Re: Mograph Shader + Export to standalone

Postby bepeg4d » Sat Jul 27, 2019 5:49 am

bepeg4d Sat Jul 27, 2019 5:49 am
Please, post an example scene, or share it with me via Private Message, thanks.
ciao Beppe
User avatar
bepeg4d
Octane Guru
Octane Guru
 
Posts: 9940
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy

Re: Mograph Shader + Export to standalone

Postby crowellster » Sat Jul 27, 2019 8:16 am

crowellster Sat Jul 27, 2019 8:16 am
Ok, project attached. Thanks!
Attachments
MgShader.zip
(1.31 MiB) Downloaded 118 times
crowellster
Licensed Customer
Licensed Customer
 
Posts: 36
Joined: Tue Feb 16, 2016 12:13 am

Re: Mograph Shader + Export to standalone

Postby bepeg4d » Mon Jul 29, 2019 8:38 am

bepeg4d Mon Jul 29, 2019 8:38 am
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
User avatar
bepeg4d
Octane Guru
Octane Guru
 
Posts: 9940
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy

Re: Mograph Shader + Export to standalone

Postby crowellster » Mon Jul 29, 2019 4:51 pm

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

Re: Mograph Shader + Export to standalone

Postby crowellster » Mon Jul 29, 2019 5:12 pm

crowellster Mon Jul 29, 2019 5:12 pm
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.
crowellster
Licensed Customer
Licensed Customer
 
Posts: 36
Joined: Tue Feb 16, 2016 12:13 am

Re: Mograph Shader + Export to standalone

Postby bepeg4d » Tue Jul 30, 2019 6:51 am

bepeg4d Tue Jul 30, 2019 6:51 am
Which version of plugin are you using exactly?
I have exported your scene with 2018.1.3 without issues.
ciao Beppe
User avatar
bepeg4d
Octane Guru
Octane Guru
 
Posts: 9940
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy

Re: Mograph Shader + Export to standalone

Postby crowellster » Wed Jul 31, 2019 10:45 pm

crowellster Wed Jul 31, 2019 10:45 pm
Hmm, that's strange. That's the version I'm using as well.
crowellster
Licensed Customer
Licensed Customer
 
Posts: 36
Joined: Tue Feb 16, 2016 12:13 am
Next

Return to Maxon Cinema 4D


Who is online

Users browsing this forum: No registered users and 5 guests

Thu Mar 28, 2024 11:19 am [ UTC ]