Hi.
I can see the MaterialVariation LOP has VEX in it so it is CPU only for Karma. Is there an alternative planned at some point so we can have something similar on XPU ?
Best. Mark
MaterialVariation LOP for XPU
1530 6 1- Mark Wallman
- Member
- 624 posts
- Joined: 8月 2013
- Offline
- jsmack
- Member
- 7659 posts
- Joined: 9月 2011
- Offline
Mark Wallman
Hi.
I can see the MaterialVariation LOP has VEX in it so it is CPU only for Karma. Is there an alternative planned at some point so we can have something similar on XPU ?
Best. Mark
MaterialVariation node just sets primvars, what precludes using with with XPU? You would need to use a primvar reader in the material of course, but that should work with XPU.
- Mark Wallman
- Member
- 624 posts
- Joined: 8月 2013
- Offline
- jsmack
- Member
- 7659 posts
- Joined: 9月 2011
- Offline
You seem to be using a primvar reader to read a string and passing to a file input on a texture reader, that won't work with XPU. Primvars going into shaders must be numbers. The material variation node can only be used to change numerical values if using XPU.
To vary the textures going into a shader, there isn't a tool like material variation that will automatically change the paths on nodes inside the shader. The reference node can be used to create reference copies of the material, then the texure file path can be edited on the texture node within each reference. I think I posted an example of this before.
To vary the textures going into a shader, there isn't a tool like material variation that will automatically change the paths on nodes inside the shader. The reference node can be used to create reference copies of the material, then the texure file path can be edited on the texture node within each reference. I think I posted an example of this before.
- Mark Wallman
- Member
- 624 posts
- Joined: 8月 2013
- Offline
- jsmack
- Member
- 7659 posts
- Joined: 9月 2011
- Offline
https://www.sidefx.com/forum/topic/82185/?page=1#post-365403 [www.sidefx.com]
I think this might be it
I think this might be it
- Mark Wallman
- Member
- 624 posts
- Joined: 8月 2013
- Offline
-
- Quick Links