Jump to content
Div

Render only front or back faces

Recommended Posts

hi,

I'm trying to render only the front or back faces of my polygons, instead of both... I can't find the parameter in the mantra output node, is it possible to achieve with mantra ?

This is easily possible in xsi with mental ray, under the raytracing parameters...

Thanks.

Edited by Div

Share this post


Link to post
Share on other sites

Hi.

Sadly there doesn't seem to be an obvious setting for that (or i just haven't seen it).

You would need to enclose your shader in an if-block, testing for an isFrontFace.

post-2678-1216140282_thumb.jpg

post-2678-1216140287_thumb.png

onesided_material_01.hip

Share this post


Link to post
Share on other sites

In your Geometry object, under the Render->Geometry->Backface Removal -- would that have worked?

Share this post


Link to post
Share on other sites

As a follow up to this - - how might I go about rendering ONLY the backfaces, and ignorning front facing geometry? 

Share this post


Link to post
Share on other sites

I figured it out. Just use the Reverse node at SOP level, along with the Backface Removal flag at the object level.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×