Houdini 18 Boat in the ocean

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ค. 2024
  • Setup to build some big ocean waves and animate a boat on them. Using a sinus function wave and an ocean spectrum for the ocean, and a constrained rigid body rig for the boat, which gets a buoyancy force based on how deep under the water surface it is.
    Scene file: www.dropbox.com/s/8r4bkp3tun5...

ความคิดเห็น • 30

  •  หลายเดือนก่อน +1

    Very nice setup, thanks a lot for sharing! And here I was trying to animate my ships by hand :'D

  • @legalactique9785
    @legalactique9785 4 ปีที่แล้ว +1

    Very nice and controlled, gonna try this on my next R&D

  • @privateportall
    @privateportall 4 ปีที่แล้ว +1

    very nice! props :)

  • @davorkronja4594
    @davorkronja4594 4 ปีที่แล้ว +1

    Thanks for this tip.

  • @ronaldodeleon9946
    @ronaldodeleon9946 4 ปีที่แล้ว +1

    Thank you so much.

  • @notskinner2304
    @notskinner2304 4 ปีที่แล้ว +1

    wow I tried boat simulation on waves before but was not getting satisfying result. I was using ocean guide tool to create flip sim and use feedback scale of the fluid to simulate the boat with some initial velocity. But it was getting drowned often. Thank you some much for sharing this method.

  • @StephaneSOUBIRAN
    @StephaneSOUBIRAN 4 ปีที่แล้ว +1

    waow, merci !!!

  • @mohanpugaz
    @mohanpugaz 4 ปีที่แล้ว +2

    Nice one mate.. I never knew sop guide. Thank you so much

  • @_clicktac_
    @_clicktac_ 4 ปีที่แล้ว +1

    thank you! do more videos, please!

  • @corinaodin
    @corinaodin 2 ปีที่แล้ว +1

    Hello! Thank you so much for your tutorial. I tried to alter your setup in order to use another ship, but I keep having problems with the exploded pieces drifting apart in the simulation. Any ideas what I might have to change?

    • @corinaodin
      @corinaodin 2 ปีที่แล้ว +2

      Oh, I adjusted the density of the points without changing the connectadjacentpieces! Now it works!

  • @elliotchristian1717
    @elliotchristian1717 4 ปีที่แล้ว +2

    Hello Hristo,
    Thanks a lot for posting this tutorial. I'm trying to follow along and many aspects are working as you demonstrate, but I've run into two snags I'm wondering if you could please help clarify.
    First, around 7:35 you show inside the popvop that the file pin of the intersect node is connected to OpInput2 of geometryvopglobal1 - I assume this is the channel through which you are passing the water surface geometry for the ray cast to collide against, but when I make the same connection, my boat is falling out of the scene as though all the raycasts are failing. I have tested replacing the intersect and distance check with a simple test against P.y and in that case the boat successfully 'floats' on the x/z plane.
    Could you please elaborate on the method to pass the water surface geometry into the dopnet so that it is accessible to the popvop?
    Second, with my boat floating on x/z, after about 90 frames of animation, my constraints become unstable, and my boat begins to fold in on itself.
    Do you have any suggestions as to what I might have missed to ensure the constraints remain rigid over time?
    Thanks so much in advance for any assistance you can provide!

    • @HristoVelev
      @HristoVelev  4 ปีที่แล้ว +1

      Elliot Christian first about the input - I think I show this too, in the VOP node, there's an inputs tab, and you can pick a SOP to assign to input 2, that's where I do it. About the constraints getting messed up - use the hard constraint, and increase time steps to see if that helps

    • @elliotchristian1717
      @elliotchristian1717 4 ปีที่แล้ว +2

      @@HristoVelev Thanks for the additional tips. It's working solid now!

  • @danielcrisreinert1
    @danielcrisreinert1 4 ปีที่แล้ว

    hey man! How can i apply my own boat 3d model, to the scene file i got from you? I'm a beginner at Houdini, btw.

    • @HristoVelev
      @HristoVelev  4 ปีที่แล้ว +1

      Daniel Cris Reinert figure out how it works and then you'll be able to change it to anything

  • @3dforever717
    @3dforever717 ปีที่แล้ว

    Hi! Very nice tuto, but I've some issues after the simulation... When I transfer with the "transformpieces" my original mesh start to deform itself after some dozens of frames!
    Have you some idea to avoid that? Please! 🙏🙏

    • @HristoVelev
      @HristoVelev  ปีที่แล้ว +1

      The cool thing about a setup like this is that it allows the rig to bend, the render boat could also bend if you transfer the animation using a point deform. If you don't want it to deform you can make it stiff enough, give the pieces some constraints that would also make it stiffer, or use another method that is simpler - with a triangle at the base of the boat that you ocean deform, and then get normal of that, centroid, and up vector that you choose. Then you can copy to points the boat using that data. This is simple and fast, though not as fancy :)

    • @3dforever717
      @3dforever717 ปีที่แล้ว +1

      @@HristoVelev Thank you so much for your answer ! I'll try this after my holiday break... And Merry Christmas ! 😁🎄😉

    • @HristoVelev
      @HristoVelev  ปีที่แล้ว

      @@3dforever717 Merry Christmas to you too :)

  • @rolferikson585
    @rolferikson585 4 ปีที่แล้ว

    From where dig you get the boat?

    • @HristoVelev
      @HristoVelev  4 ปีที่แล้ว

      www.turbosquid.com/3d-models/passenger-boat-3d-model-1354591

  • @Paulx3d
    @Paulx3d 3 ปีที่แล้ว

    Hey ! very nice tutorial ! I was just wandering how you could keyframe the boat so it can move on the ocean rather than staying in the center of the world ?

    • @Paulx3d
      @Paulx3d 3 ปีที่แล้ว

      I tried with a tranform node in various places but none gave me good results

    • @HristoVelev
      @HristoVelev  3 ปีที่แล้ว

      You can apply a force to add motion to a direction

    • @Paulx3d
      @Paulx3d 3 ปีที่แล้ว

      @@HristoVelev that's what I did, but is there a way to keyframe the "path" of the boat and then sim it like you did to add the "waves related movement" ?

    • @HristoVelev
      @HristoVelev  3 ปีที่แล้ว

      @@Paulx3d if you think about it - controlling it fully would need to remove the simulation. There is another approach you might try - get a bounding triangle of the boat, apply your animation and ocean evaluate to it, and then replace that with the boat

    • @Paulx3d
      @Paulx3d 3 ปีที่แล้ว

      @@HristoVelev thanks ! I will try that

  • @elyseresseguie8680
    @elyseresseguie8680 ปีที่แล้ว

    My boat keeps capsizing :(

    • @HristoVelev
      @HristoVelev  ปีที่แล้ว

      You might try making the collision geometry a bit wider