4n7 Posted December 22, 2021 Share Posted December 22, 2021 (edited) I'm trying to create a deck of cards in USD, Assuming the correct method would be to create a single card and it have 52 variants of texture maps. I can get this in SOPS, and using a Principled Shader, but not with MaterialX So far I can almost get to what I want to do, what I don’t understand is how to change the texture path for MaterialX variants https://www.sidefx.com/docs/houdini/nodes/lop/materialvariation.html If I set up a variant for a basic Principled Shader it works ok as it just changes the texture map path and replaces the basecolor_texture so I get the next card face in sequence The Material Variation node looks like this (it updates the texture on the back of the card too but that's another issue) but MaterialX it doesn't work, I guess because it's another node connecting to that input, how do I reference this? If I hover over the MtlX Standard Surface it gives me base_colorr, base_colorg, base_colorb, hovering over the image node gives me 'file' Thanks for any help, I'm assuming this is some basic part of the way Houdini references the nodes that I don't understand. Edited December 23, 2021 by 4n7 remove duplicate images Quote Link to comment Share on other sites More sharing options...
4n7 Posted December 23, 2021 Author Share Posted December 23, 2021 I've been searching a heap of videos and it looks like the 'Magic Market' video includes a similar project, where there is a for each loop for the textures (and objs) I just need to figure out how to work this without the PDG / obj import process and just create texture variants for a single object. Magic Market | Procedural Rocks 6 | LOP Variant Generation (Moeen Sayed) https://www.youtube.com/watch?v=GYAjmVA6hy4 Quote Cupcake Project | Part 5 | Solaris: USD Variants (Rohan Dalvi) https://www.youtube.com/watch?v=n2xFAaE5AX4 Houdini 18 - Configuring a USD Asset with Variants in Solaris (Hristo) https://www.youtube.com/watch?v=xZJwS4-CVQg Quickly Create LookDev Variants Using Solaris in Houdini (Rebelway) https://www.youtube.com/watch?v=djrt69OIRFk Karma XPU and MaterialX | Adam Swaab | Houdini 19 HIVE https://www.youtube.com/watch?v=ABF7op2W8pM Karma 04 | MaterialX and VEX Shaders https://www.youtube.com/watch?v=h8b5B_M1_9w Understanding Solaris Materials | Yolanda Charlo | Solaris Workshop https://www.youtube.com/watch?v=n0-oSubrggA Creating USD Assets with Component Builder | Chris Rydalch | Solaris Workshop https://www.youtube.com/watch?v=EgTqz6y_oAs PART 2 | Shaders & Textures in LOPS (Jeff Wagner) https://www.youtube.com/watch?v=Ku4nEp_rkzM cgwiki https://www.tokeru.com/cgwiki/index.php?title=HoudiniLops#Variants Sidefx LOPs reference https://www.sidefx.com/docs/houdini/solaris/about_lops.html#layers-and-references Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.