Do not envy you for having to make Houdini sing with Maya, sounds tough.
I'm happy just confirming there is an issue and this isn't expected behavior. Honestly, I wasn't sure and was getting worried that this was just how Houdini Engine was as this has been my first experience with it. Good luck, please reach out if you need any scenes or assets from me.
I thank you for your time and patience.
Found 66 posts.
Search results Show results as topic list.
Houdini Engine for Maya » normals when wrangled through
- 9krausec
- 66 posts
- Offline
Houdini Engine for Maya » normals when wrangled through
- 9krausec
- 66 posts
- Offline
Last thing I'll say about the normal situation is that I get better results exporting the geo from Houdini from FBX and importing it back into Maya…
This leads me to think that maybe Maya 2018.3, Houdini 17.0.416, Engine 3.2 is bug-happy. Hope this all gets sorted out because the idea of Houdini Engine is a powerful one.
This leads me to think that maybe Maya 2018.3, Houdini 17.0.416, Engine 3.2 is bug-happy. Hope this all gets sorted out because the idea of Houdini Engine is a powerful one.
Houdini Engine for Maya » normals when wrangled through
- 9krausec
- 66 posts
- Offline
@juliap - I've been communicating on this with your support team. Side Effects Support Ticket: #69951 - Might be useful to reference if you are as your SN says.
I've been having a massive pain in the butt with normal retention in Houdini Engine for Maya. Here's a video of running a mesh through a polyreduce. Not reducing anything, but my normals get completely disregarded.
Your text to link here… [www.useloom.com]
Attached is the mesh if anyone here wants to take a go at it. “Preserve mesh locked normals” is on and it doesn't kill my normals in Houdini. If anyone has any pointers I'd gladly accept them.
99% of the work we do is with CAD mesh data that requires locked normals and right now Houdini Engine isn't really working out the way I thought it would.
Cheers.
I've been having a massive pain in the butt with normal retention in Houdini Engine for Maya. Here's a video of running a mesh through a polyreduce. Not reducing anything, but my normals get completely disregarded.
Your text to link here… [www.useloom.com]
Attached is the mesh if anyone here wants to take a go at it. “Preserve mesh locked normals” is on and it doesn't kill my normals in Houdini. If anyone has any pointers I'd gladly accept them.
99% of the work we do is with CAD mesh data that requires locked normals and right now Houdini Engine isn't really working out the way I thought it would.
Cheers.
Houdini Engine for Maya » normals when wrangled through
- 9krausec
- 66 posts
- Offline
Update on this. User DASD was kind enough to troubleshoot with me just now.
What I've been experience has a high potential to be a bug with Houdini Engine. The issue has been brought up with support for fixin'.
I'm on Maya 2018.3 and Houdini 17.0.416 running on a Win10 Environment.
Beside the Houdini Engine > Debugging > Open HDA option opening up the houdiniengine_temp file look like what is attached (bunch of old HDAs I attempted through Engine via Maya), I had to freeze all transforms of my input Geo to get engine to output the normals as expected.
Big cheers to DASD for the help.
What I've been experience has a high potential to be a bug with Houdini Engine. The issue has been brought up with support for fixin'.
I'm on Maya 2018.3 and Houdini 17.0.416 running on a Win10 Environment.
Beside the Houdini Engine > Debugging > Open HDA option opening up the houdiniengine_temp file look like what is attached (bunch of old HDAs I attempted through Engine via Maya), I had to freeze all transforms of my input Geo to get engine to output the normals as expected.
Big cheers to DASD for the help.
Houdini Engine for Maya » normals when wrangled through
- 9krausec
- 66 posts
- Offline
Question in regards to this as I'm having issues retaining my input vertex normals from Maya. After reading the above, I tried putting in a vertex attribute wrangle in the HDA that had one line, “@N = @N;” to make sure the input normals on the output mesh weren't up for grabs to be a Maya default.
Still didn't retain the vertex normals correctly on my mesh. Attached is a FBX of input(right) and output(left) mesh to illustrate what Houdini Engine is doing to my normals.
Any help would be appreciated. Thanks.
EDIT: Attached is also some additional information about the issue!
Still didn't retain the vertex normals correctly on my mesh. Attached is a FBX of input(right) and output(left) mesh to illustrate what Houdini Engine is doing to my normals.
Any help would be appreciated. Thanks.
EDIT: Attached is also some additional information about the issue!
Edited by 9krausec - Dec. 4, 2018 13:51:39
Work in Progress » Instant Meshes Bridge Sop
- 9krausec
- 66 posts
- Offline
@BRog - Remeshing is definitely an interesting topic. If you are C++ wizard (I am not), and decide to have a look at TetWild, let me know how it goes. Never used Cmake, Visual Studio or any C++ and I gave it a go.. Couldn't get CGAL library to work as it required BOOST which I also couldn't get working.
Never heard of Quadriflow before, but its good to know that it's less robust than instameshes.
My big thing is trying to figure out a way to remesh CAD import data (long triangles of mesh), without VDB. TetWild looked like it's exactly what I need, but after 12 hours of trying to muddle my way into getting it to work, I decided C++ isn't something I could just muddle through compiling even if I wasn't writing any actual code.
SO, let me know if you decide to take it on. I'd hope it would be pretty straight forward for someone who knows what they are doing in C++. Sure not me.
Never heard of Quadriflow before, but its good to know that it's less robust than instameshes.
My big thing is trying to figure out a way to remesh CAD import data (long triangles of mesh), without VDB. TetWild looked like it's exactly what I need, but after 12 hours of trying to muddle my way into getting it to work, I decided C++ isn't something I could just muddle through compiling even if I wasn't writing any actual code.
SO, let me know if you decide to take it on. I'd hope it would be pretty straight forward for someone who knows what they are doing in C++. Sure not me.
Work in Progress » Instant Meshes Bridge Sop
- 9krausec
- 66 posts
- Offline
Thanks for creating that Ben.
Not Instant Meshes, but along the same lines of remeshing - TetWild [github.com]… Saw this presented at Siggraph 2018 and it looks interesting.
Requires Cmake / Visual Studio compiling (not in my wheel-house). Due to instant meshes uniform remeshing, TetWild might provide a better output for some situations.
If anyone here actually succeeds at getting TetWild working, post back and let us know how it performs. Maybe with a compiled executable too
Cheers
Not Instant Meshes, but along the same lines of remeshing - TetWild [github.com]… Saw this presented at Siggraph 2018 and it looks interesting.
Requires Cmake / Visual Studio compiling (not in my wheel-house). Due to instant meshes uniform remeshing, TetWild might provide a better output for some situations.
If anyone here actually succeeds at getting TetWild working, post back and let us know how it performs. Maybe with a compiled executable too
Cheers
Technical Discussion » HOM - Connecting nodes input to subnetwork
- 9krausec
- 66 posts
- Offline
Just to add to to this for anyone learning this down the road -
To query if a node's input is connected to a subnet's indirectInput, you can return the item and check the network item type-
To query if a node's input is connected to a subnet's indirectInput, you can return the item and check the network item type-
sub = hou.node("/obj/subnet1") null = hou.node("/obj/subnet1/null1") # grabbing the first input connection of the null - Should only be one input connection since null has only one input con = null.inputConnections()[0] # return input item type name con.inputItem().networkItemType().name() >>>SubnetIndrectInput
Technical Discussion » HOM - Connecting nodes input to subnetwork
- 9krausec
- 66 posts
- Offline
Originally I was trying to work from the subnet internal SOP node's input to query if it was connected to the indirect output of the subnet. Checking from the subnet's indirect output to see if it's connected to any internal SOP seems to work out well. Thank you for taking the time to reply. One of those silly things to get stuck on, so I'm happy you dropped a line.
Cheers,
Clayton
Cheers,
Clayton
Technical Discussion » HOM - Connecting nodes input to subnetwork
- 9krausec
- 66 posts
- Offline
I'm having a hard time trying to do the following things in HOM-
1. Identify that a node inside of a subnet has it's input connected into on of the four indirect connectors of the subnet (all inside the subnet). I tried my hand at using the node.connections() information, but cannot seem to figure out a sure-fire way to have houdini tell me that the node's input I'm querying is connected to the subnet indriect, internal input.
2. Making a connection from a nodes input to one of the four subnet indirect, internal inputs.
In the examples above, it should be assumed that the subnet is not wired into anything external of the subnet. Just internal wiring, waiting for the outside four inputs of the subnet to be connected to take.
Any help, examples or guidance to the specific documentation would be most appreciated. If I didn't give a understandable enough explanation above, let me know and I'll reiterate and add pictures tomorrow.
Thank you,
Clayton
1. Identify that a node inside of a subnet has it's input connected into on of the four indirect connectors of the subnet (all inside the subnet). I tried my hand at using the node.connections() information, but cannot seem to figure out a sure-fire way to have houdini tell me that the node's input I'm querying is connected to the subnet indriect, internal input.
2. Making a connection from a nodes input to one of the four subnet indirect, internal inputs.
In the examples above, it should be assumed that the subnet is not wired into anything external of the subnet. Just internal wiring, waiting for the outside four inputs of the subnet to be connected to take.
Any help, examples or guidance to the specific documentation would be most appreciated. If I didn't give a understandable enough explanation above, let me know and I'll reiterate and add pictures tomorrow.
Thank you,
Clayton
Technical Discussion » Pivot parameter issue
- 9krausec
- 66 posts
- Offline
Any options to handle these offsets without making a new geo type container and merging that you know of? I'm searching for a way to completely bake in and delete these offset parameters while maintaining the original geo container object.
Thank you,
Clayton
Thank you,
Clayton
Technical Discussion » Extract embedded files from HDA
- 9krausec
- 66 posts
- Offline
goldfarb
you'll need to use Binary:section_file = file(file_name, "wb")
Thank you for that! I wouldn't of picked up on that being the issue for a long while…
Alright gang, thank you for all the help! I try to ask stupid beginner questions sparingly and look through the docs / research before asking as best as I can! I'm just getting familiar with HOM coming from an intermediate Python background (I say intermediate because I've used a lambda function before, lawl).
Anyways, thank you for your time! Appreciate all the help here.
Technical Discussion » Extract embedded files from HDA
- 9krausec
- 66 posts
- Offline
Alright, I'm slowly figuring this out with all of your help. I was a bit confused on the syntax of it all, but here is what I have going so far… “saveSectionToFile” is from the docs..
Attached is the original jpg as well as the extracted. The original comes in at 50.6 KB, the extracted at 50.8 KB. The original isn't opening up as a jpg picture file should open up.
If anyone would mind explaining to me why the extracted jpg picture isn't opening up, that would help out a lot. I tried all the 3 compression types without any success-
Gzip
Blosc
NoCompression
Thank you all for any help in getting me to understand this better.
EDIT: I'd like to add that Photoshop posts with the following warning message when attempting to open the kittensExtracted.jpg
“Could not complete your request because an invalid DQT JPEG segment QTable number is found (it must be < 4)”
def saveSectionToFile(section, file_name): '''Given a section, save it to a file.''' section_file = file(file_name, "w") section_file.write(section.contents()) section_file.close() t = hou.node('/obj/hdaObj') td = t.type().definition() if td.hasSection('kittens.jpg'): saveSectionToFile(td.sections().get('kittens.jpg'), 'C:/Users/clayton.krause/ Desktop/tmp/kittens.jpg')
Attached is the original jpg as well as the extracted. The original comes in at 50.6 KB, the extracted at 50.8 KB. The original isn't opening up as a jpg picture file should open up.
If anyone would mind explaining to me why the extracted jpg picture isn't opening up, that would help out a lot. I tried all the 3 compression types without any success-
Gzip
Blosc
NoCompression
Thank you all for any help in getting me to understand this better.
EDIT: I'd like to add that Photoshop posts with the following warning message when attempting to open the kittensExtracted.jpg
“Could not complete your request because an invalid DQT JPEG segment QTable number is found (it must be < 4)”
Edited by 9krausec - April 23, 2018 16:04:38
Technical Discussion » Extract embedded files from HDA
- 9krausec
- 66 posts
- Offline
Thank you. I'll keep on trying, but I'm still having some issues getting my head around this. For instance-
So in the above, I can ask if a section exists. I can return a names of sections a strings… But I'm having a hard time figuring out how to return a section object and work on it. Even if I figured out how to return a section object, I'm not finding any “write out contents of section” in the section documentation.
I'm also confused why there is a “definition()” method inside of the HDASection class as would the the HDASection be inside of a definition?
EDIT: I'll also be happy to take any suggested learning resources on this too if there are any recommendations. Docs only make so much sense to me without seeing the application.
t = hou.node('/obj/customHDA') #t has section 'kittens.jpg' in it t.type().definition().hasSection("kittens.jpg") #Returns True for x in t.type().definitions.section(): print x #returns the section name as a string
So in the above, I can ask if a section exists. I can return a names of sections a strings… But I'm having a hard time figuring out how to return a section object and work on it. Even if I figured out how to return a section object, I'm not finding any “write out contents of section” in the section documentation.
I'm also confused why there is a “definition()” method inside of the HDASection class as would the the HDASection be inside of a definition?
EDIT: I'll also be happy to take any suggested learning resources on this too if there are any recommendations. Docs only make so much sense to me without seeing the application.
Edited by 9krausec - April 23, 2018 14:30:43
Technical Discussion » Extract embedded files from HDA
- 9krausec
- 66 posts
- Offline
goldfarb
if you mean saving a file from the Extra Files area then you can select the file in the list, and at the bottom right of the Type Properties dialog > Save as File
Any idea how to do that through HOM - Python by chance? I'm trying to query a list of internal HDA files and if those files are images I wanted to extract them out of the HDA using Python.
Having a hard time finding documentation on how to handle an operation like this (at least where I've been looking for the information).
Thank you for the reply.
Technical Discussion » Extract embedded files from HDA
- 9krausec
- 66 posts
- Offline
How would one go about extracting an embedded image file in an HDA? Is this possible? I've been trying to find edu material about this online but there doesn't seem to be too much of any documentation on this (that I could find).
Thank you for any help!
Thank you for any help!
Technical Discussion » Takes - global parameter change inside of take
- 9krausec
- 66 posts
- Offline
That is a really obvious solution to what I'm trying to do. Sounds perfect. Thank you.
I was also suggested to look up material style sheets too which I'm going to need to check out as well.
I was also suggested to look up material style sheets too which I'm going to need to check out as well.
Technical Discussion » Takes - global parameter change inside of take
- 9krausec
- 66 posts
- Offline
Hey all. Does anyone know if there is a way to make a parameter change while inside a sub-take, but have it affect all takes like it would making a parameter change at the global level?
I find myself using takes for lookDev purposes under different lighting schemes and when I want to nudge something globally I need to go back to the main take, make the change, then go back to the take I was using as a lookdev take and check it out. Bake to main take, make a change, back to sub-take.
Wanted to make sure there wasn't a hidden gem I'm missing with the take system. Thank you.
I find myself using takes for lookDev purposes under different lighting schemes and when I want to nudge something globally I need to go back to the main take, make the change, then go back to the take I was using as a lookdev take and check it out. Bake to main take, make a change, back to sub-take.
Wanted to make sure there wasn't a hidden gem I'm missing with the take system. Thank you.
Technical Discussion » Keyframe animation sampling issue
- 9krausec
- 66 posts
- Offline
Working now. Although I was not using chops for the specific element that was popping during playback, I did have chops in my scene set at a sample rate of 24. After bumping this up to 124, my pop in a object unrelated to the CHOP where the sampling was changed went away… Weird. Why would these two seemingly unrelated things be connected?
Technical Discussion » Keyframe animation sampling issue
- 9krausec
- 66 posts
- Offline
Hello! Running Daily build of Houdini 13.5.375 and I'm getting a “bump” or “pop” on an object that is animating in the translation Y and has a linear curve in the curve editor.
Super simple animation, but over one frame, there is a “pop” where there should be none. The global animation options are all default, 24fps integer frame values checked, step value is set at 1.
The “pop” in movement is slight, but noticeable. Not using CHOPS so it's not a CHOP sampling thing (although it really reminds me of what bad CHOP or IK/Bone sampling would do).
Any help would be awesome! Mid-project right now, just started animating and noticed this.
Super simple animation, but over one frame, there is a “pop” where there should be none. The global animation options are all default, 24fps integer frame values checked, step value is set at 1.
The “pop” in movement is slight, but noticeable. Not using CHOPS so it's not a CHOP sampling thing (although it really reminds me of what bad CHOP or IK/Bone sampling would do).
Any help would be awesome! Mid-project right now, just started animating and noticed this.
-
- Quick Links