Multishader on Asset "Magazine" Preset

Forums: Multishader on Asset "Magazine" Preset
Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderator: aoktar

Multishader on Asset "Magazine" Preset

Postby Omski » Mon Apr 22, 2024 6:03 pm

Omski Mon Apr 22, 2024 6:03 pm
Hi,

I'm using the Magazine Preset from the C4D library. It uses 2 materials to distribute the pages to the magazine, both materials driven with the Mograph Multishader. It works totally fine in the viewport and with the Standard renderer. However, when I switch to the Octane Live viewer, it only displays the first texture from the Multishader materials.

Nice:
WhatsApp Image 2024-04-22 at 16.09.55.jpeg

Nono:
WhatsApp Image 2024-04-22 at 16.10.02.jpeg


Attached are two files: one for Standard renderer and one with Octane Materials:

"Check Magazine_oct_2" (working fine in C4D)
"Check Magazine_oct_4.c4d" (not working with Octane Materials)

I couldn't figure it out, so with a bit of luck, someone here can help.

Cheers

C4D 2024.3.2.
Octane 2023.1 (R2)
Attachments
Check Magazine_oct_4.c4d.zip
(13.35 MiB) Downloaded 21 times
Check Magazine_oct_2.zip
(13.15 MiB) Downloaded 18 times
Omski
Licensed Customer
Licensed Customer
 
Posts: 2
Joined: Wed May 24, 2017 7:07 am

Re: Multishader on Asset "Magazine" Preset

Postby bepeg4d » Tue Apr 23, 2024 7:23 am

bepeg4d Tue Apr 23, 2024 7:23 am
Hi,
you need to use an Instance Range node with the Maximum value equals to the number of pages you have, then connect it to an Octane Gradient node in Complex mode, and create as many gradient knots as the number of pages, finally connect the desired textures to the knots pins:
IMG_1382.jpeg


ciao,
Beppe
User avatar
bepeg4d
Octane Guru
Octane Guru
 
Posts: 9967
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy

Re: Multishader on Asset "Magazine" Preset

Postby Omski » Tue Apr 23, 2024 9:20 am

Omski Tue Apr 23, 2024 9:20 am
Thanks for the quick response, Beppe!

I'm trying to rebuild your setupnow.

Works fine for the Pages 1-3 but then on Pages 4-end i get a wild mix....

Could you pleas have an eye on the C4D dokument? What am i doing Wrong?

Screenshot_3.png


C4D attached


#UPDATE!!

Got it!
7 pages and only value 6 on the Instance Range Nodes!
Then wild sorting.

BIG THANK YOU!

Screenshot_4.png
Attachments
Check Magazine_oct_6.c4d.zip
(16.11 MiB) Downloaded 8 times
Omski
Licensed Customer
Licensed Customer
 
Posts: 2
Joined: Wed May 24, 2017 7:07 am

Return to Maxon Cinema 4D


Who is online

Users browsing this forum: cgb777 and 20 guests

Fri May 03, 2024 4:02 pm [ UTC ]