Double sided geo?

   2869   7   2
User Avatar
Member
5 posts
Joined: Aug. 2011
Offline
Hi guys,


I have very thin wings, and how do I turn on double sided geo? or shader?

I was trying to use two sided node in material, but seems not working.


Best
User Avatar
Member
7671 posts
Joined: July 2007
Online
Karma seems to be rendering thin poly surfaces as double sided by default (regardless of doubleSided property)

but there are 2 properties that you can try:

Mesh Edit LOP
- create/check Double Sided property

but also there is

Render Geometry Settings LOP
- create/set Cull Backface to Off (default)
Edited by tamte - May 27, 2022 10:40:24
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
6795 posts
Joined: Sept. 2011
Offline
inki
Hi guys,


I have very thin wings, and how do I turn on double sided geo? or shader?

I was trying to use two sided node in material, but seems not working.


Best

do you mean thin film refraction shader, or different material on each side? (double sided shader). Karma renders both sides of meshes by default as Tomas said.

If you want thin film, I believe there is the option in the mtlx standard surface (although I've not tested it so your mileage may vary)

Two-sided materials can be done with material layering, or texture layering, with a two-sided material vop (only for vex shaders)
User Avatar
Member
229 posts
Joined: Nov. 2013
Offline
At least from a USD schema perspective, doubleSided means only visible when viewing the normal direction and invisible/culled when viewing the backside.
User Avatar
Staff
30 posts
Joined: June 2018
Offline
I've got it working in Karma. See attached .hip
Edited by lucap1 - May 28, 2022 00:21:03

Attachments:
two_sided_v1.hip (262.5 KB)
two_sided.jpg (273.9 KB)

User Avatar
Member
1 posts
Joined: Dec. 2014
Offline
Is a similar construction possible for MtlX materials? for Karma XPU? I can't figure out how to achieve such a result.

UPD: solution that works Karma XPU with MtlX.

(Pre-create an attribute at the SOP level in the Geo node)
@N_fg = @N;
@N_bg = @N * -1;
Edited by Oleg Talanov - Aug. 16, 2022 03:54:49

Attachments:
ref.JPG (58.7 KB)
result.JPG (40.6 KB)

User Avatar
Member
687 posts
Joined: July 2005
Offline
Oleg Talanov
Is a similar construction possible for MtlX materials? for Karma XPU? I can't figure out how to achieve such a result.

For Karma CPU you can use MtlX Thin Surface if you are comfortable building materials using the BSDF nodes. Doesn't seem to work with XPU unfortunately.
User Avatar
Member
7 posts
Joined: Nov. 2017
Offline
Oleg Talanov
Is a similar construction possible for MtlX materials? for Karma XPU? I can't figure out how to achieve such a result.

UPD: solution that works Karma XPU with MtlX.

(Pre-create an attribute at the SOP level in the Geo node)
@N_fg = @N;
@N_bg = @N * -1;

Hi. sir. got it .and here is my question.
How to apply different texture to many plane(with different attribute to define path at prim level) ?
s@path = "../filename_"+itoa(@primnum)+".jpg";
then use geoproperty node to read this path.plug into usduvtexture.but this can not work. how to got this ?
  • Quick Links