Page 1 of 1

Limiting Flat Projection to One Side

Posted: Tue Oct 27, 2020 5:44 pm
by blastframe
Hello,
I am using an Octane Material with its Texture Tag's Projection set to Flat. Is there a way to limit the projection to the Front side of the object?
Flat Projection
Flat Projection
Thank you!

Re: Limiting Flat Projection to One Side

Posted: Tue Oct 27, 2020 7:44 pm
by aoktar
You can assign different forms of same texture to back/front side. Side node with mix texture

Re: Limiting Flat Projection to One Side

Posted: Wed Oct 28, 2020 8:19 pm
by blastframe
aoktar wrote:You can assign different forms of same texture to back/front side. Side node with mix texture
I tried this with a plane and it worked, but I could not get it to work with a cylinder. This method is projecting to the opposite side of the polygon face rather than the object.
Mix Material
Mix Material
Result
Result
Desired Result
Desired Result
Here is my Cinema 4D scene file.

Can it be projected to the opposite side of the object with flat projection? Thank you.

* note: With native C4D texture tags, the Flat projection can be split between two materials by rotating the Flat plane's coordinates by 180 degrees.

Re: Limiting Flat Projection to One Side

Posted: Thu Oct 29, 2020 5:42 pm
by bepeg4d
Hi,
here is a different approach, instead of using a Side node, I have used an Octane Gradient node, but with Black and white handles very close to the middle:
FB4FD80A-84EB-4AF7-BDB3-A3D70395D47B.jpeg
Flat Projection_b.c4d.zip
(66.91 KiB) Downloaded 148 times
ciao Beppe

Re: Limiting Flat Projection to One Side

Posted: Thu Oct 29, 2020 7:20 pm
by blastframe
Thank you for the idea, Beppe.

Re: Limiting Flat Projection to One Side

Posted: Tue Nov 08, 2022 11:18 pm
by ceen
Hi,

is there a way to use it without Mix and only one texture? I use material stacking without Compositing /Layer Mat and my flat projected decal material appears on both front and back. Using seletion set kills my material with gradient below. So is there some kind of backface culling somewhere in Octane possible?

Re: Limiting Flat Projection to One Side

Posted: Wed Nov 09, 2022 7:48 am
by bepeg4d
Hi ceen,
please have a look at this solution with Triplanar mapping node, it should work also with stacked materials:
viewtopic.php?f=30&t=80421&p=415545&hil ... ar#p415545

ciao,
Beppe

Re: Limiting Flat Projection to One Side

Posted: Wed Nov 09, 2022 11:03 am
by ceen
Hi Beppe Thank you!

Yes I was thinking about it, too. But while it is working ok it is a very long tweaking of values until a decal is placed correctly. And it doesn't really follow scaling of objects right? Backface Culling is really important. Please but it forward to the devs...it can't be sooo hard to implement it into a material isn't it?