Texture path reference

Forums: Texture path reference
Houdini Integrated Plugin

Moderator: juanjgon

Texture path reference

Postby mirocreative » Thu Mar 30, 2023 8:14 am

mirocreative Thu Mar 30, 2023 8:14 am
Hey Everyone,

ran into an issue and can't really figure out what's going on. I have a scene originally set up for Mantra (Principled Shader) and I'm trying to reference base color texture paths from the Principled Shader using 'chs("texture")'.

Works fine for OGL preview in viewport, textures show up correctly, works as expected. However when rendering textures don't show up at all, replaced by black base color.

What did I miss? Any ideas welcome, thanks guys!

Chris.

Screenshot 2023-03-30 041119.jpg

Screenshot 2023-03-30 041146.jpg
Last edited by mirocreative on Fri Mar 31, 2023 6:52 am, edited 1 time in total.
User avatar
mirocreative
Licensed Customer
Licensed Customer
 
Posts: 46
Joined: Fri Jan 17, 2014 2:26 pm
Location: New York

Re: Texture path reference

Postby juanjgon » Thu Mar 30, 2023 8:40 pm

juanjgon Thu Mar 30, 2023 8:40 pm
If you have a problem related to Solaris and the Hydra plugin, you should post it in the Hydra forum. This is the support forum of the main Houdini plugin.
viewforum.php?f=142

Thanks,
-Juanjo
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: Texture path reference

Postby mirocreative » Fri Mar 31, 2023 6:52 am

mirocreative Fri Mar 31, 2023 6:52 am
juanjgon wrote:If you have a problem related to Solaris and the Hydra plugin, you should post it in the Hydra forum. This is the support forum of the main Houdini plugin.
viewforum.php?f=142

Thanks,
-Juanjo


My bad, Mantra principled shader instead of Karma. Problem still persists though, any ideas why referencing chs doesn't work at rendertime?
User avatar
mirocreative
Licensed Customer
Licensed Customer
 
Posts: 46
Joined: Fri Jan 17, 2014 2:26 pm
Location: New York

Re: Texture path reference

Postby galleon27 » Fri Mar 31, 2023 7:38 am

galleon27 Fri Mar 31, 2023 7:38 am
You might want to share a simplified scene for us to debug.
Referencing paths works.
Screenshot 2023-03-31 093329.jpg
Win 10 64bit // GTX 4090 + GTX 3090 // 5900x // 64GB // SideFX Houdini // C4D
User avatar
galleon27
Licensed Customer
Licensed Customer
 
Posts: 240
Joined: Wed Jul 15, 2015 11:55 am
Location: Serbia

Re: Texture path reference

Postby juanjgon » Fri Mar 31, 2023 7:40 am

juanjgon Fri Mar 31, 2023 7:40 am
Yes, we are going to need an example scene to take a look at it here.

-Juanjo
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: Texture path reference

Postby mirocreative » Sat Apr 01, 2023 10:16 am

mirocreative Sat Apr 01, 2023 10:16 am
I'd love to share guys, but we have some commercial HDAs in the file :| We managed to figure out, that the scene uses a rather strange string attribute to assign random textures for the book objects. While other renderers have no issue reading these, for some reason Octane can't read these when rendering - OGL viewport preview works fine.

We've dropped a message to the developer and waiting for an extended explanation how exactly the scene is set up.

Thanks!
User avatar
mirocreative
Licensed Customer
Licensed Customer
 
Posts: 46
Joined: Fri Jan 17, 2014 2:26 pm
Location: New York

Re: Texture path reference

Postby mirocreative » Sun Apr 02, 2023 2:05 pm

mirocreative Sun Apr 02, 2023 2:05 pm
After talking to the HDA dev, it looks like Octane would need to handle material_override for the random textures to work. We have a thread from 2019 where it is mentioned as a planned core feature by juanjgon, but I guess it didn't make it to the production versions.

Case closed 8-)
User avatar
mirocreative
Licensed Customer
Licensed Customer
 
Posts: 46
Joined: Fri Jan 17, 2014 2:26 pm
Location: New York

Return to Houdini


Who is online

Users browsing this forum: No registered users and 11 guests

Tue Apr 23, 2024 6:54 am [ UTC ]