How to export USD Asset with textures made in Copernicus

   1511   5   2
User Avatar
Member
28 posts
Joined: 1月 2023
Online
Hello,
what is the correct workflow to save usd asset with baked procedural textures?
When i have imported textures from Copernicus via "op:" to mtlx image in shader and I'm using usd_rop to export, it almost works but not completely. Textures are saved in usd asset folder but are saved to "mtl.usda.textures" folder and subdirectores from Houdini path, which i didn't set. Also it writing textures as exrs, and there is no control over which file format or colorspace to choose.

If anyone knows a better way to batch export assets with textures from COPs , I will be grateful.
Thanks,
Dawid
Edited by Dawid Wizor - 2024年7月17日 13:32:27
User Avatar
スタッフ
38 posts
Joined: 1月 2024
Offline
Hey !
The documentation for the Layer Attribute Create COP goes over this, I would have a look there
User Avatar
Member
28 posts
Joined: 1月 2023
Online
Yeah, this is exactly what I was looking for!
If I save texture this way with the path to .png it will apply any extra gamma correction to it?
Also, is there option to set bit depth of exported textures?
User Avatar
スタッフ
4525 posts
Joined: 7月 2005
Offline
At the moment the COP image save process is fairly limited. We just save to the specified file name. The filename extension should control the format of the image being written out. But there isn't any way to control the color space. This is something we'll have to investigate at some point, probably by looking at additional metadata on the layer. Feel free to submit an RFE (ideally with a hip file) if the image save isn't letting you do what you want. Thanks!
User Avatar
Member
275 posts
Joined: 9月 2012
Offline
Hi!

Is it possible to use operator "Op:" between different Coper Network? It doesn't seem to work in my case.
I also did not manage for now to have in my viewport both the 2d and material 3d preview in the same time.. Which is be quite handy!
Vincent Thomas   (VFX and Art since 1998)
Senior Env and Lighting  artist & Houdini generalist & Creative Concepts
http://fr.linkedin.com/in/vincentthomas [fr.linkedin.com]
User Avatar
Member
76 posts
Joined: 2月 2017
Offline
mtucker
But there isn't any way to control the color space.

What colorspace are the copernicus nodes exported as if I just use op:/ to reference them into something like a redshift shader network. If I am using acesCG as my working space in the OCIO config for Houdini, are they acesCG, always just RAW data or what?
Edited by smbell - 2024年12月11日 15:20:17
  • Quick Links