How To Bake Rigid Body Physics or Cloth Sim or Fluid Sim On Google Colab

Sdílet
Vložit
  • čas přidán 6. 09. 2024

Komentáře • 37

  • @5MinutesBlender
    @5MinutesBlender  Před 6 měsíci +1

    𝐅𝐨𝐫 𝐚𝐝𝐯𝐚𝐧𝐜𝐞𝐝 𝐮𝐬𝐞𝐫𝐬: If you use disk cache for any physics, the cache folder needs to be uploaded to colab along with the blend file, just like how we did it for Fluid Physics. Fluid physics uses a disk cache by default while any other type of physics saves the data in the blend file itself, but you can switch over to disk cache. All the notebook/ script file links are given in the video description. And to know how to render your scene faster using cycles on Google Colab, you can watch 👉 czcams.com/video/xYqOjIo_4tA/video.html

    • @trellery
      @trellery Před 6 měsíci

      Thanks,and this Colab absolute free?

    • @5MinutesBlender
      @5MinutesBlender  Před 6 měsíci

      Yes, the CPU part used for this tutorial is absolutely free. For GPU (used in rendering) they have both free & paid layers. The free layer is good enough for limited uses. The CPU baking is anyway free.

    • @trellery
      @trellery Před 6 měsíci

      @@5MinutesBlender thk

    • @cemilaydin7079
      @cemilaydin7079 Před 6 měsíci

      Your scipts dont open for text editor, could you help pls

    • @5MinutesBlender
      @5MinutesBlender  Před 6 měsíci

      @@cemilaydin7079There are two types of files here, one is a script file (with py extension) which you need to simply upload to your Google Drive. It won't open in a text editor and you don't need to open it, you don't need to edit it, just upload it directly. If you want to anyway verify what it contains, you can change the file extension from py to txt, then you can open it in any text editor. Don't forget to change back the extension to py before you upload it to your Google Drive. The second file is a text file (with txt extension), you can easily open it in any text editor. You need to copy the contents of this file to your Colab Notebook page.

  • @ErkamBal
    @ErkamBal Před 5 měsíci +1

    THANK YOU SO MUCH!!! THIS WAS WHAT I NEEDED YOU DESERVE 1 MILLION SUBSCRIBERS

    • @5MinutesBlender
      @5MinutesBlender  Před 5 měsíci

      Thank you so much 💝💝 I'm glad to know that it helped! 😊

  • @rajinmuhammad673
    @rajinmuhammad673 Před měsícem +1

    you deserve million subscribers

  • @Funblaaters
    @Funblaaters Před 4 měsíci +1

    Bro make a tutorial how to download flip fluids addon in colab and bake the simulation in it.

  • @c4err9
    @c4err9 Před 6 měsíci +1

    I wonder if it would be somehow possible to render animation on Google Colab :) Now that would be awesome if you could do rendering externally.

    • @5MinutesBlender
      @5MinutesBlender  Před 6 měsíci

      Yes, it's very much possible, and we made a tutorial on that as well, please check 👉 czcams.com/video/xYqOjIo_4tA/video.html

  • @ameenhamdan753
    @ameenhamdan753 Před 7 dny +1

    was very help full , and did you develop these py scripts and code ?

  • @TheMetalFreshTiger
    @TheMetalFreshTiger Před 5 měsíci +1

    please explain how to merge in the liquid example the multiple bakes. How do i merge the first 100 frames, with the second 100 frames (from 101 to 200) in the blender project??? or do i have to first bake the first 100 frames, save the file, open it with blender, and set the bake from 0 to 200 this time, so that when i reupload it on Google the first 100 frames are already baked, and it will automatically skip them?

    • @5MinutesBlender
      @5MinutesBlender  Před 5 měsíci +1

      Yes, you have explained it correctly. Set the frames 1 to 100 and save it. Upload to drive (along with the bake folder) and bake it on colab. Download the file (along with the bake folder), open the file and change the frame from 1 to 200 and save it. Again upload it (along with the bake folder) and bake it on colab. It will recognize the 100 baked frames and skip them, and bake only 101 to 200 frames. Now when you download, you'll get the baked data with all 200 frames together.

  • @Sangram-IND
    @Sangram-IND Před 6 měsíci +1

    Thankyou ❤❤❤

  • @rushigangane6269
    @rushigangane6269 Před 5 měsíci +1

    can i also bake particles system with this method? Google colab method?

    • @5MinutesBlender
      @5MinutesBlender  Před 5 měsíci +1

      Although I never tried it, but I believe it should be possible just like how we did for all other physics. You may need to change the baking script a bit as we did for the fluid baking - it is different from the rest of the physics types.

  • @SavoirPourTous
    @SavoirPourTous Před 6 měsíci

    Merci pour la vidéo,
    Question au niveau du cache du Rigid Body, où se trouve le fichier car parfois il ne prends pas en compte la valeur, donc je voudrais supprimer ce fichier et baké de nouveau,
    Merci d'avance pour votre retour,

    • @5MinutesBlender
      @5MinutesBlender  Před 6 měsíci

      Hi, Rigid Body physics does not use any external cache, it is always attached with the blend file directly. For Fluid physics, it is the opposite, it always keeps the baked data in a separate file. For all other physics types you have both the options, either keep it within the blend file or save it externally. Rigid Body physics is by design always with the blend file itself. If you need to reset this cache, you can go to the rigid body world in the scene tab and change the Field Weights like gravity or force field etc It will reset your rigid body cache. Then you can change back the values and re-bake your physics.

  • @ashua925
    @ashua925 Před 6 měsíci +1

    Sir i have a problem please help…i want to export my file as fbx which contains physics..i tried using the option bake to keyframes..and then after that when i am going to export is as fbx it is showing loading screen and after 15 to 20 mins its shows that blender is not responding..please help sirr

    • @5MinutesBlender
      @5MinutesBlender  Před 6 měsíci +1

      Which physics are you trying to bake to keyframes... rigid body physics right? In the bake to keyframes operator panel, try to limit the frame numbers to a small value say 1 to 10 and run it (basically change the end frame number to 10). Please let me know if that finishes successfully or not. It will give us a hint if the problem is with the size/complexity of the scene or if there is some other issue.

    • @ashua925
      @ashua925 Před 6 měsíci

      @@5MinutesBlender sir i have tried this…i given the end frame no 10..and then after when i am going to export is as fbx its still loading again..

    • @ashua925
      @ashua925 Před 6 měsíci

      @@5MinutesBlender sir please give me one tutorial please sirr

    • @5MinutesBlender
      @5MinutesBlender  Před 6 měsíci +1

      @@ashua925It's working at my end. Send your blend file to us at 5minblender@gmail.com so that I can check why it is not working for you.

    • @ashua925
      @ashua925 Před 6 měsíci

      @@5MinutesBlender okay sirr..I request you to sir please send me the tutorials how you’re doing this…

  • @Isoshi-47
    @Isoshi-47 Před 5 měsíci

    after like 45min of rendering i get a warning of not being able to use GPU anymore, have you gotten any similar stuff while rendering ?

    • @5MinutesBlender
      @5MinutesBlender  Před 5 měsíci

      Not encountered this myself, but the lock will reset within a day or two. You can then use it again. Always try to keep the usage limited. Space out the rendering into multiple batches over several sessions to remain in the good book of Google.

  • @kdkarmavan
    @kdkarmavan Před 3 měsíci

    Halo, i cant download via your link. Help me please

    • @5MinutesBlender
      @5MinutesBlender  Před 3 měsíci

      The script files are available for all. I have just checked the links as well. What errors are you getting while trying to download?

    • @kdkarmavan
      @kdkarmavan Před 3 měsíci

      @@5MinutesBlender It worked Bro, thank you very much

  • @ShivamBaranwal-tq8dr
    @ShivamBaranwal-tq8dr Před 2 měsíci

    I've got this Error "Mounted at /content/drive
    tar: /content/drive/My Drive/Colab-Bake/blender-4.0.2-linux-x64.tar.xz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    /bin/bash: line 1: ./blender-4.0.2-linux-x64/blender: No such file or directory" Please help

    • @5MinutesBlender
      @5MinutesBlender  Před 2 měsíci

      Please check if you are actually using Blender 4.0.2 version. I doubt your version number is different. You need to be consistent in the version number i.e. the actual version you have installed on your machine, the version you downloaded and then uploaded on your Google Drive - the tar.xz file, the version number mentioned throughout the script, keep them all the same.