Jump to content

Stevie Mac

Members
  • Content count

    25
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

2 Neutral

About Stevie Mac

  • Rank
    Peon

Personal Information

  • Name
    Steve
  • Location
    UK
  1. BBox Rotate by Max Length?

    Ah this one is great man! Just sad I couldn't work it out all the way but I got half way there. It's nice to learn how you used the game tool nodes as I haven't used any of those much or know what they all do. Thanks again!
  2. BBox Rotate by Max Length?

    Ah right I didn't know you could do that, nice thanks for the help mate! There does seem to be a few ways to do it out there but I've not found a simple one yet this'll do for now & I'll look into it more. Thanks again mate.
  3. BBox Rotate by Max Length?

    Ok yours is working now. How do I get the planks back to the original positions tho? I've tried adding a rest at the beining of the loop & the end but even after deleting the BBoxes its not working. It's saying the Typologies don't match.
  4. BBox Rotate by Max Length?

    Is that the high poly Shed? There is a few bits that could be deleted so it's prob one of those.
  5. BBox Rotate by Max Length?

    Nope tried that as I was gonna delete it after but somehow the rotations are wrong prob soemthing to do with axis being off so they need to be set. It works with Alain 2131's heavy Vex one but man that thing is really complicated!
  6. BBox Rotate by Max Length?

    Guys how do we get this to work with the geo tho as this is spitting out the Bounding box? Also after adding the High poly geo the axis are off so my version doesn't work & niether does Noobini's. How do I get the Geo in to match what we've done with the bounding boxes so I can use the Rest Node? Thanks Shed_H_Clean.bgeo.sc vu_AlignY_HighGeo.hiplc
  7. BBox Rotate by Max Length?

    This is practically what I have without the VOP. =0) I'm a dunce & this makes sense to me but I wouldn't have been able to work it out alone. So good to see another way of doing it guys thanks.
  8. BBox Rotate by Max Length?

    Yes but I've made my own Fracture tool. Maybe there's an answer in the RBDFracture tool then too. Thanks for the help man.
  9. BBox Rotate by Max Length?

    Didn't work again but if you do this it will better! Yours Added the first part of mine.
  10. BBox Rotate by Max Length?

    Nope still didn't work. Here's the shed Alembic it's just some test geo I made in 3ds Max then reset the XForm then collapsed it to an Edit Poly. The exported to AlembicShed_Low.ABC Shed_Low.ABC
  11. BBox Rotate by Max Length?

    Thanks mate but still no luck.
  12. BBox Rotate by Max Length?

    Ok I use the Connectivity node to split the geo up The For loop to go every piece Each piece gets a Bound The TransformAttrib inverts then saves to the xform attrib Wrangle then saves the BBox v@bbox = getbbox_max(0); The VOP then gets that saved BBox & finds the largest size then compares that to all 3 XYZ to find if the largest is Y if not it writes to a Variable Called Yes. The Attrib 'Yes' is used to Switch the transform on which rotates X & Z to 90 since I just need the Geo to point up. Then the rest moves it all back to where it was in the begining for after I add my changes to each piece. This all seems to work so far. Hopefully this'll help someone else who's not a coder! =0) Thanks for looking & the help guys!
  13. BBox Rotate by Max Length?

    Hey thanks for the help mate I think I managed to do it. I'm not sure if you file saved ok but the Copy to points is a merge node? Either way I swapped that & yours works great in you example but on mine it didn't work. I think it's because your boxes already know what XYZ are where my shed is brought in as an Alembic file as one object. Yours is a lot simple than mine tho!
  14. BBox Rotate by Max Length?

    Ok I managed to store the BBox in a Attrib Wrangle v@bbox = getbbox_max(0); then find the longest & set that as a Prim Attribute called Max Vecter using VOPs. So maybe I can do this in VOP's easier? So now I need to find out what angle that MaxVextor is on x y or z (using P maybe?) then rotate the BBox so that MaxVector is UP. Looking at the spreadsheet & my plank, up is BBox[1] so I need to change anything not in BBox[1] to rotate 90 until the Max matches BBox[1] slot. No idea how to do that. Thanks if you can help.
  15. Hi Guys I'm making a wood fracture HDA & I need to be able to go through the input geo & roate it all so the longest length is pointing up. So I was thinking on a For Loop get the Max BBox then find the longest edge of that then rotate the obejct so that longest edge is always rotated to Houdini's World up or a Transform Y etc. I've only been using Houdni a few years so I don't know how to get these bits & put them in the corrrect way for it to work. So a Shed model made of planks comes in. Each plank needs to be orientated up. I've managed to get some pieces to rotate correctly but some arn't & I know this is down to the Bound node Orientated BBox Option not knowing which way around it is. So is there simple solution to do this? I do understand VEX a bit but this'll take me ages to figure out. Can I get the Max Length of the Geo then some how tell houdini to rotate the geo so that longest edge is paralel to up? I then need to put the Geo back to it's original position & rotation but thats the next bit I gues or I was hopeing to just use Rest before then call it back at the end. Can anyone help me achieve this? Thanks Steve
×