Karma - Point Color (Cd) not rendering with XPU?

   8954   9   2
User Avatar
Member
3 posts
Joined: 4月 2020
Offline
Hello,

When I use XPU Renderer the color attribute does not render (tried as primitive, point and vertex) on a principled shader material. It works fine if render in CPU. Also, if I don't assign any material then XPU *does* use the point colors as expected.

Can anyone confirm this is the case?


Karma is great and so amazingly fast, I can render these at 1920x1080 in 2 seconds! If change Karma to CPU it takes 11 minutes! (330x times slower) So my current workaround is to render on XPU with no material (which is extremely limiting).

I'm very new to rendering in Houdini, is there anything I'm missing to make this work?

Attachments:
rendergallery.db.43-bab.png (1.3 MB)

User Avatar
Member
86 posts
Joined: 10月 2015
Offline
I do not know how you approached coloring these but Adam Swaab explains how to make color work with MaterialX materials here: https://www.youtube.com/watch?v=IyWseMa1yZk&t=5188s [www.youtube.com]

Start watching at 1:29:50
User Avatar
Member
8043 posts
Joined: 9月 2011
Offline
XPU doesn't use the principled shader, that's for Mantra and Karma CPU
User Avatar
Member
1 posts
Joined: 4月 2020
Offline
Kindly share if anyone figured out on how import Cd color attribute to karma xpu?
User Avatar
Member
700 posts
Joined: 8月 2013
Offline
Hi.

Cd becomes displayColor in USD. If you have a look at scene graph details you should see it. Best. Mark
User Avatar
Member
8043 posts
Joined: 9月 2011
Offline
theflatarc
Kindly share if anyone figured out on how import Cd color attribute to karma xpu?

use the mtlx geometry color node
User Avatar
Member
21 posts
Joined: 12月 2014
Offline
jsmack
theflatarc
Kindly share if anyone figured out on how import Cd color attribute to karma xpu?

use the mtlx geometry color node

Thanks so much!
User Avatar
Member
1 posts
Joined: 11月 2022
Offline
just add a geometry color node! OvO

Attachments:
geocolor.png (3.5 MB)

User Avatar
Member
4 posts
Joined: 1月 2023
Offline
Mark Wallman
Hi.

Cd becomes displayColor in USD. If you have a look at scene graph details you should see it. Best. Mark
Interestingly it seems like casing in the name of the variable plays a role. I had a point attribute named `Alpha` I was not able to read with the prim var attribute reader until I renamed the variable to `alpha` and read it as such.
User Avatar
Member
8833 posts
Joined: 7月 2007
Offline
adam_breach
Mark Wallman
Hi.

Cd becomes displayColor in USD. If you have a look at scene graph details you should see it. Best. Mark
Interestingly it seems like casing in the name of the variable plays a role. I had a point attribute named `Alpha` I was not able to read with the prim var attribute reader until I renamed the variable to `alpha` and read it as such.
same way as Cd becomes displayColor
Alpha becomes displayOpacity

so that may be reason why you can't bind Alpha since it may not exist on the stage under that name
Edited by tamte - 2023年9月7日 00:50:22
Tomas Slancik
FX Supervisor
Method Studios, NY
  • Quick Links