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

  Рет қаралды 2,556

5 Minutes Blender

5 Minutes Blender

Күн бұрын

Пікірлер: 44
@5MinutesBlender
@5MinutesBlender 7 ай бұрын
𝐅𝐨𝐫 𝐚𝐝𝐯𝐚𝐧𝐜𝐞𝐝 𝐮𝐬𝐞𝐫𝐬: 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 👉 kzbin.info/www/bejne/rorUgJ1_pMRnqqM
@trellery
@trellery 7 ай бұрын
Thanks,and this Colab absolute free?
@5MinutesBlender
@5MinutesBlender 7 ай бұрын
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 7 ай бұрын
@@5MinutesBlender thk
@cemilaydin7079
@cemilaydin7079 7 ай бұрын
Your scipts dont open for text editor, could you help pls
@5MinutesBlender
@5MinutesBlender 7 ай бұрын
@@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 6 ай бұрын
THANK YOU SO MUCH!!! THIS WAS WHAT I NEEDED YOU DESERVE 1 MILLION SUBSCRIBERS
@5MinutesBlender
@5MinutesBlender 6 ай бұрын
Thank you so much 💝💝 I'm glad to know that it helped! 😊
@rajinmuhammad673
@rajinmuhammad673 3 ай бұрын
you deserve million subscribers
@5MinutesBlender
@5MinutesBlender 3 ай бұрын
Thank you so much bro! 😊💝💝
@rushigangane6269
@rushigangane6269 7 ай бұрын
can i also bake particles system with this method? Google colab method?
@5MinutesBlender
@5MinutesBlender 7 ай бұрын
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.
@ameenhamdan753
@ameenhamdan753 Ай бұрын
was very help full , and did you develop these py scripts and code ?
@5MinutesBlender
@5MinutesBlender Ай бұрын
Thanks! Yes, these scripts are written by me 😊
@Sangram-IND
@Sangram-IND 7 ай бұрын
Thankyou ❤❤❤
@5MinutesBlender
@5MinutesBlender 7 ай бұрын
You're welcome 😊💝💝
@LastSliceOfPizzaEveryoneAvoids
@LastSliceOfPizzaEveryoneAvoids 14 күн бұрын
Now How to Render Animation with Those Baked Data On Google Colab without downloading them?...Please Help.Will Runing Ur Rendering Script Get the Cache Data In Drive?
@5MinutesBlender
@5MinutesBlender 13 күн бұрын
You don't need to download it. Just keep it in the correct folder, the rendering script will pick it up. Let's say your blend file is kept in your drive/Colab-Render folder, and your baked data folder is named as Cache (check it in your blend file). You need to keep this baked data in your drive/Colab-Render/Cache folder. In other words, maintain the same relative path, and the script will run successfully.
@TheMetalFreshTiger
@TheMetalFreshTiger 7 ай бұрын
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 7 ай бұрын
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.
@Funblaaters
@Funblaaters 6 ай бұрын
Bro make a tutorial how to download flip fluids addon in colab and bake the simulation in it.
@c4err9
@c4err9 7 ай бұрын
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 7 ай бұрын
Yes, it's very much possible, and we made a tutorial on that as well, please check 👉 kzbin.info/www/bejne/rorUgJ1_pMRnqqM
@kolban1
@kolban1 Ай бұрын
I think I missed the reason why using Google Colab is an improvement over baking locally? Is there a listed specification for the Colab machine(s) that would somehow be faster than an average PC/laptop?
@5MinutesBlender
@5MinutesBlender Ай бұрын
Depends on the spec of the laptop. It may be faster on colab but I guess that is not the primary reason. For some machines with limited RAM it may be impossible to bake a physics simulation - like you may not be able to bake fluid physics with domain resolution 250 etc. It will crash the machine. And whatever time it takes to bake, the machine is completely taken up by Blender, it does not respond to other software. Baking on colab can solve these issues. Colab may not be faster as such, like for my case it is the same speed on my machine and on colab. But I can't use a very high domain resolution on my machine.
@SavoirPourTous
@SavoirPourTous 7 ай бұрын
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 7 ай бұрын
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 7 ай бұрын
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 7 ай бұрын
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 7 ай бұрын
@@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 7 ай бұрын
@@5MinutesBlender sir please give me one tutorial please sirr
@5MinutesBlender
@5MinutesBlender 7 ай бұрын
@@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 7 ай бұрын
@@5MinutesBlender okay sirr..I request you to sir please send me the tutorials how you’re doing this…
@Isoshi-47
@Isoshi-47 7 ай бұрын
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 7 ай бұрын
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 5 ай бұрын
Halo, i cant download via your link. Help me please
@5MinutesBlender
@5MinutesBlender 5 ай бұрын
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 5 ай бұрын
@@5MinutesBlender It worked Bro, thank you very much
@vagatronics
@vagatronics 4 күн бұрын
i cant even bake one frame
@5MinutesBlender
@5MinutesBlender 2 күн бұрын
What is the error? I just replied to one email on this, I hope that resolves the issue.
@vagatronics
@vagatronics 2 күн бұрын
@@5MinutesBlender No like myself in my Blender
@ShivamBaranwal-tq8dr
@ShivamBaranwal-tq8dr 3 ай бұрын
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 3 ай бұрын
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.
Миллионер | 1 - серия
34:31
Million Show
Рет қаралды 3 МЛН
Это было очень близко...
00:10
Аришнев
Рет қаралды 5 МЛН
Rigid Body Physics for Beginners (Blender Tutorial)
25:25
Ryan King Art
Рет қаралды 168 М.
Stop using std::vector wrong
23:14
The Cherno
Рет қаралды 118 М.
How to render Blender 4.1 in google colab
10:07
ilearnblender3d
Рет қаралды 3,8 М.
Create Perfect Glass in 4.2 Eevee | New Method For Blender's New Version
4:51
Soft Body Physics for Beginners (Blender Tutorial)
34:25
Ryan King Art
Рет қаралды 113 М.
How are holograms possible? | Optics puzzles 5
46:24
3Blue1Brown
Рет қаралды 1 МЛН
Convert Rigid Body Bake To Keyframes Blender
5:45
Blender Rookie
Рет қаралды 17 М.