How can I get textures to show up in OpenGL for solaris?
3315 11 1- traileverse
- Member
- 355 posts
- Joined: Nov. 2015
- Offline
- traileverse
- Member
- 355 posts
- Joined: Nov. 2015
- Offline
no luck trying to get this to work, if I load up say the pig geo, the textures show in houdini gl, however, when I apply my own textures to my own models they don’t show up I have to render to see them.
Any idea what I’m doing wrong in solaris?
Any idea what I’m doing wrong in solaris?
Edited by traileverse - Jan. 19, 2022 04:19:22
hou.f*ckatdskmaya().forever()
- malexander
- Staff
- 5161 posts
- Joined: July 2005
- Offline
HoudiniGL relies on the shader network conversion to a USD Preview shader. Our built-in shaders like the Principled shader are converted to USD Preview shaders automatically. There is limited support for MatX shader conversion as well. If you're using a completely different network, you'll need to create a USD Preview shader network manually to see the textures in GL (USD UV Texture, USD Primvar Reader, USD 2D Transform, USD Preview Shader).
- traileverse
- Member
- 355 posts
- Joined: Nov. 2015
- Offline
malexander
HoudiniGL relies on the shader network conversion to a USD Preview shader. Our built-in shaders like the Principled shader are converted to USD Preview shaders automatically. There is limited support for MatX shader conversion as well. If you're using a completely different network, you'll need to create a USD Preview shader network manually to see the textures in GL (USD UV Texture, USD Primvar Reader, USD 2D Transform, USD Preview Shader).
Thanks @malexander. I see what you're saying. After doing a few more test I realized that it's because the textures or UDIM based, if I load in a texture that's not UDIM it works. So, I guess my question now becomes how can I get UDIM based stuff to show up?
hou.f*ckatdskmaya().forever()
- jsmack
- Member
- 7794 posts
- Joined: Sept. 2011
- Online
miccetro
Thanks @malexander. I see what you're saying. After doing a few more test I realized that it's because the textures or UDIM based, if I load in a texture that's not UDIM it works. So, I guess my question now becomes how can I get UDIM based stuff to show up?
put the udim token in the filename: eg
diff.<UDIM>.rat
Edited by jsmack - Jan. 19, 2022 12:49:46
- traileverse
- Member
- 355 posts
- Joined: Nov. 2015
- Offline
jsmackHey @jsmack thanks for reply, they were exported from substance painter with the token. See images below. Is there a specific way they should be written?miccetro
Thanks @malexander. I see what you're saying. After doing a few more test I realized that it's because the textures or UDIM based, if I load in a texture that's not UDIM it works. So, I guess my question now becomes how can I get UDIM based stuff to show up?
put the udim token in the filename: egdiff.<UDIM>.rat
This is how the material file loader shows it in houdini.
Edited by traileverse - Jan. 19, 2022 13:07:56
hou.f*ckatdskmaya().forever()
- jsmack
- Member
- 7794 posts
- Joined: Sept. 2011
- Online
miccetro
Hey @jsmack thanks for reply, they were exported from substance painter with the token. See images below. Is there a specific way they should be written?
written, no. The token goes in the file name when read.
miccetro
This is how the material file loader shows it in houdini.
Looks good. Is that what the asset path shows when inspecting the properties in the scene graph details view?
- traileverse
- Member
- 355 posts
- Joined: Nov. 2015
- Offline
jsmackImage shows what I'm seeing in the details view. And it renders in Karma as well, but won't show up in houdini glmiccetro
Hey @jsmack thanks for reply, they were exported from substance painter with the token. See images below. Is there a specific way they should be written?
written, no. The token goes in the file name when read.miccetro
This is how the material file loader shows it in houdini.
Looks good. Is that what the asset path shows when inspecting the properties in the scene graph details view?
hou.f*ckatdskmaya().forever()
- jsmack
- Member
- 7794 posts
- Joined: Sept. 2011
- Online
- traileverse
- Member
- 355 posts
- Joined: Nov. 2015
- Offline
jsmacklol no it's a SSD but I have it as B drive; yeh don't know why I can't get it to work.miccetro
Image shows what I'm seeing in the details view. And it renders in Karma as well, but won't show up in houdini gl
Everything looks good there, I don't know what else it could be.
B:\? is it really loading off of a floppy drive?
hou.f*ckatdskmaya().forever()
- traileverse
- Member
- 355 posts
- Joined: Nov. 2015
- Offline
jsmackI renamed the files (as seen here in image compared to previous image) and it now works! So by removing the color space (-ACEScg) part of the string the file works. Not sure what the issue is there, but maybe that can help you debug the problem. Also, if the filename doesn't have the <UDIM> token, it works with the color space part still in the filename.miccetro
Image shows what I'm seeing in the details view. And it renders in Karma as well, but won't show up in houdini gl
Everything looks good there, I don't know what else it could be.
B:\? is it really loading off of a floppy drive?
Edited by traileverse - Jan. 19, 2022 19:37:04
hou.f*ckatdskmaya().forever()
- jsmack
- Member
- 7794 posts
- Joined: Sept. 2011
- Online
miccetro
I renamed the files (as seen here in image compared to previous image) and it now works! So by removing the color space (-ACEScg) part of the string the file works. Not sure what the issue is there, but maybe that can help you debug the problem. Also, if the filename doesn't have the <UDIM> token, it works with the color space part still in the filename.
The spaces in the name might have been confusing the udim globbing. I try to avoid the extra long names in the aces config that contain spaces and extra characters. The config has 'short' versions of most of the spaces as aliases. 'ACES - ACEScg' is simply 'acescg' in the reference config.
-
- Quick Links