Vex snippet: string name = usd_name(0, s@primpath); string mats = "/materials/"+name; usd_addrelationshiptarget(0, s@primpath, "material:binding", mats); To get parent node name: `opname("..")`
@VFX4DESIGN
Ай бұрын
For all of you struggling There are many ways of doing things in Houdini . Hard and the easy way. Usually the hard way will save on time consuming repetitive tasks that you may need to do over and over again. Your in good hands on this channel so maybe show some gratitude towards the free tutorial provided 😊
@voxyde
Ай бұрын
Thank you sir!
@cerealnpixels
Ай бұрын
Thank you very much, this is very helpful especially when you have a model that contains hundreds of pieces with tones of shaders and textures to be assigned to it
@voxyde
Ай бұрын
This was the case that I encountered recently hehe
@InsideTheMindSpace
Ай бұрын
Great video. I did this with redshift awhile back to create materials for kitbash kits but didn't take it so far as to have the matierals automatically assign. Really useful info and a great setup to make a recipe from so you only need to drop something down once and everything is setup.
@voxyde
Ай бұрын
Thank you, love your tutorials ! I should've included a part with creating a recipe with this setup at the end, maybe next time hehe
@hanheecho6437
26 күн бұрын
unbelievable! Thanks a million!
@reasonsreasonably
26 күн бұрын
Love your channel and work. Great tutorials, great presentation, sir.
@gbn1_
Ай бұрын
Awesome video brother! It's so sad that people got so used to the softwares doing everything for them..They miss the most amazing part of 3D...that is creating things yourself and knowing how they work. Anyway, keep it up bro.
@voxyde
Ай бұрын
Haha thanks! I wasn't expecting anyone to get mad but it's kinda funny
@user-bo4oe5ho1o
Ай бұрын
GOLD 👏
@gregorybennings8718
Ай бұрын
11:02 - It's not 'single quotes'. You have to use backticks (the key left of 1 on your keyboard). Just to clear things up.
@voxyde
Ай бұрын
Damn it I always forget the names of the symbols. Half the time I have to google them haha, thanks brother
@倒带中重生
Ай бұрын
dangerence good
@spiderbrr
Ай бұрын
Thanks!
@spectrewashere
Ай бұрын
excellent video! Have you used the 'Material Linker' for similar use case?
@voxyde
Ай бұрын
I tried to but couldn't get it to work properly. There's also some expressions you can use inside a material assign node, but in the end I only got it working with a wrangle. Which is fine anyway cause getting used to working with the wrangle in Solaris allows you to do a lot of other things as well
@umair2013
Ай бұрын
👍
@phoqueoff1814
Ай бұрын
Hi there ! Tuto's great, unfortunately it stop working once i set up my name and mats strings and try using the mats one in the usd_addrelationshiptarget. Not sure where did I do wrong since it all worked out until this, I could see the texture I applied appear on the desired mesh. I noticed my meshes are stocked under two more sublayer in my spreadshee than yout, the first extra one named "Subdivision_Surface" and the second extra just named after the car model the fbx is, while yours appear to be strictly under your "CHAR" context. May it have something to do with me struggling ?
@mustafaelwy402
Ай бұрын
thank you for this great tutorial , why when i add usd rop node after the network and export the model as USD and try to import it again as USD it comes without material ? any solution for this
@voxyde
Ай бұрын
Theres a few settings need to be added on the ROP to save the textures as well, as relative paths, I'll eventually cover this in an Intro to Solaris course but until then check out the docs here www.sidefx.com/docs/houdini/solaris/output.html
@mustafaelwy402
Ай бұрын
@@voxyde thank you 🙏
@alihammad6883
Ай бұрын
Great Video, Thanks! Do you know how to assign materials procedurally to array object (Copy and Transform). For example if i have book with 50 pages, and i want to assign a different image to each page in Solaris, how would i do that?
@voxyde
Ай бұрын
I think you can assign an attribute for each page at the sop level (i.e "id") that's unique for each page, then use a USD primvar node in the material X builder to bring in this ID attribute, and use it to choose between the textures.
@alihammad6883
Ай бұрын
@@voxyde I tried it on SOP level using Bind node too. And used your method previously too. All logic indicates this should work. I even created a filepath attribute for it to fetch it directly. But kept getting a blank output on Bind node and USD primvar node. It really does not make sense at all. It should at least repeat the same texture for all pages if logic was flawed.
@Rick_Sanchez_1337
Ай бұрын
Its so fucking annoying that houdini/stage is so annoying to use. Every other dcc is 100x faster for setting this up.
@voxyde
Ай бұрын
Yea other dcc's are faster and have more built in solutions. In typical Houdini fashion in Solaris you have to build the solutions yourself. Solaris is pretty good though after you get used to it
@InsideTheMindSpace
Ай бұрын
You really only have to do this one time though now inside Houdini. You can use the new recipe system to place both the material library with a pre-setup material builder and the wrangle with code in it all at once. Then all you need to do is copy that builder however many times and auto fill materials and you're done for your entire mesh.
@MaxChe
Ай бұрын
Oh my god... why complicate the normal purpose of the material so much? Can't you at least do without coding here?!
@walid1fx
Ай бұрын
on a certain level of Houdini.. coding knowledge is a compulsory thing to achieve a needed result.
@walid1fx
Ай бұрын
not this one of course.. but you really need to learn coding.
@johancc22
Ай бұрын
You can definitely do this manually, and it's just drag and drop. Here he's just showing the power of houdini and how you can automate tasks . Another approach would be python. A lot of good tips in this one.
@vpnbtr
Ай бұрын
there is a assign material node or material builder geo assign which can be used manually, this method Voxyde used is do it procedurally (for many pieces)
@pinkmoon5332
Ай бұрын
I find the Material Linker to be quite useful. I think it's the best thing for non Houdini users coming into this package. But this Auto assign demo is great!
@TroubleShotVFX
Ай бұрын
Jesus Houdini can't even assign materials without code. Crazy.
@voxyde
Ай бұрын
Its a click and drag process for 1 single material. This video is for a specific case where you want to assign hundreds of materials automatically
@salil808
Ай бұрын
Lol are you criticizing or complementing? because this is why people use Houdini... for the flexibility it provides
Пікірлер: 38