Htogrom

Htogrom

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Agent USD scale conversion from Maya? April 18, 2024, 11:54 a.m.

JohnDoe777
Hello,

Anyone know a way to adjust the pre-scale that an agent from USD is imported at similar to FBX's "Convert Units"? Scaling it down with a transform node by 0.01 or pscale isn't a solution as retargeting clips through kinefx breaks due to the scale difference.

Trying to figure it out for some different things. No matter what you do, maya exports 1 unit as 1 centimeter.

USD workflow Maya anim to Houdini April 10, 2024, 5:45 p.m.

filmfritze
Are there any new possibilities for the animation workflow from Maya to Houdini. there have been some changes in the Maya USD plugin.

Tried in Maya 2024. Regular Maya plugin is same shit.

It can't even export image plane data for cameras. What is the point of the plugin than. We just finished project with 150+ cg shots with some aircraft, ships, crowd characters.
Wanted to extend USD pipeline to Maya so we can have some finer character work, but no.

Localizing reference textures... there has to be a better way March 30, 2024, 4:23 p.m.

evanmathis
I'm packaging up some files for remote render, and moving all of my USD references and textures to $HIP/USD and $HIP/USD/textures

But because I'm moving the locations, the USD files reference just fine, but the textures are all still linking back to their absolute paths.

My solution so far is to use the editmaterial lop. This is very manual and tedious, although it works. When, like I have, a scene with hundreds of references loaded from several local network locations, this will take me a long time to sort out via the manual method.

I have some ideas, but bear in mind I'm largely an idiot that knows enough Houdini to be a pain in the ass to actual power users.

So in the reference LOP there is an inputs:file parameter that contains the file path.
In this case, it is formatted like this:
@../../wrong_texture_directory/4k/basecolor.png

Is there a way to localize this on load?

Were I a python wizard I'd whip up something to go in the reference hda that does something along the lines of

filename = "whatever/python/uses/to/strip/out/everything/before/the/finalname.png"
texturePath="../correct_texture_path/4k/"
inputs:file = @texturePath+filename

I am useless with python unfortunately.

Can I edit the mtl.usdc file? I've opened one in a text editor and it looks like compiled code that I have no idea what to do with and / or business trying to mess with.

Which houdini version are you using?
Think in 20, on component output node it has option to copy textures to folder relative to the asset.