different octane material on inside and outside of an object

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

Moderators: ChrisHekman, aoktar

Post Reply
pokeit
Licensed Customer
Posts: 96
Joined: Mon Mar 25, 2013 4:48 pm

Anyone know how to assign different Octane materials to the inside and outside of an object? Or the 'back' and 'front' of a polygon? With a standard C4D Material you can just assign one texture to the back and one to the front in the texture tag.

Any help greatly appreciated
2xI7 3930K 3.2ghz/32gig/Win10ultsp1 1xI7 6950X @4.0ghz 2x Titans 1x 780ti 3x 980ti
C4DR15 OctaneC4D 3.03.3 SDK 3.03.3 Mobo: AsusP9X79 Pro
User avatar
bepeg4d
Octane Guru
Posts: 10371
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

hi,
sure, you can use a polygon side node in the amount node of a mix texture/material node ;)
ciao beppe
pokeit
Licensed Customer
Posts: 96
Joined: Mon Mar 25, 2013 4:48 pm

Aha! Thanks Beppe! I'll try and work out what you have just described :P
2xI7 3930K 3.2ghz/32gig/Win10ultsp1 1xI7 6950X @4.0ghz 2x Titans 1x 780ti 3x 980ti
C4DR15 OctaneC4D 3.03.3 SDK 3.03.3 Mobo: AsusP9X79 Pro
pokeit
Licensed Customer
Posts: 96
Joined: Mon Mar 25, 2013 4:48 pm

Sorry Beppe,

Can't work out how to do what you said- Though I'm not using the node editor in C4D just the basic Texture manager boxes... Can I do it with those? If so would you mind explaining how?

Many thanks

Pokeit
2xI7 3930K 3.2ghz/32gig/Win10ultsp1 1xI7 6950X @4.0ghz 2x Titans 1x 780ti 3x 980ti
C4DR15 OctaneC4D 3.03.3 SDK 3.03.3 Mobo: AsusP9X79 Pro
User avatar
bepeg4d
Octane Guru
Posts: 10371
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Hi,
yes, of course, it is possible to do the same also in the attribute editor, here is an example ;)
Screen Shot 2015-09-10 at 15.43.09.jpg
ciao beppe
Attachments
PolygonSide.c4d.zip
(101.13 KiB) Downloaded 294 times
pokeit
Licensed Customer
Posts: 96
Joined: Mon Mar 25, 2013 4:48 pm

Thanks so much Beppe! I will check it out!

Cheers!
2xI7 3930K 3.2ghz/32gig/Win10ultsp1 1xI7 6950X @4.0ghz 2x Titans 1x 780ti 3x 980ti
C4DR15 OctaneC4D 3.03.3 SDK 3.03.3 Mobo: AsusP9X79 Pro
pokeit
Licensed Customer
Posts: 96
Joined: Mon Mar 25, 2013 4:48 pm

Aha! So I made it work by following your system- There's just one thing is it possible to use an emissive material as the inner one? I've tried with your method but the effect just disappears :?

Thanks again Beppe!
2xI7 3930K 3.2ghz/32gig/Win10ultsp1 1xI7 6950X @4.0ghz 2x Titans 1x 780ti 3x 980ti
C4DR15 OctaneC4D 3.03.3 SDK 3.03.3 Mobo: AsusP9X79 Pro
tomabobu
Licensed Customer
Posts: 71
Joined: Tue May 20, 2014 5:38 pm

The emissive works just on the front side and not on the back. I wish there was a way to make it emit on the back side also.
Cinema4D R17 / Windows 7 on Intel i7-3930K / 32 GB Ram / GTX 670 / GTX 780 / 3 x GTX 970 on Amfeltech expansion cluster
User avatar
bepeg4d
Octane Guru
Posts: 10371
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Hi,
yes, this is the only limitation, the emission always happens only in the direction of the polygons' normal.
A workaround is to assign a null material to the back side, duplicate the mesh, invert the normals, slightly apply a normal move and assign a different material to the new backside.
ciao beppe
Post Reply

Return to “Maxon Cinema 4D”