welcome back to our Blender the HitFilm masterclass we've walked you through the
interface learn how to texture apply detail and composite your model today
we're going to learn some basics in physics and simulations this is gonna
cover some more advanced tools in Blender so we advise you to go check out
our previous tutorials if you haven't done so already I'm excited for this one
so let's get into it for this tutorial I'm going to be using our uncut
container from tutorial 2 this is our simple cube with textures protected this
is because we're needing to keep the simulation as simple to calculate as
possible you can use your detail model but for the purposes of speed and saving
memory I'll be remaining with this version first up we're going to be
needing a mesh to crush our container this can even be a cube or sphere I
myself will be going with a cube to keep the crushing force a straight line press
shift & a to bring up the add menu enter mesh and select an object to represent
your force keep the object selected and scale it up to be larger than your
container let's switch to render view to wireframe to see what we're going to be
doing we haven't touched on modifiers before but we can access the properties
from this wrench icon modifiers are procedural effects for applying to your
object to help deform build and simulate to add some strength to our force add a
solidify modifier and dial up the thickness as we're in wireframe view you
can see the effect it's having we don't need it too thick just enough to make
our mesh reinforced cool we can now hit apply now we have our crushing force
ready we need to animate the motion another new area for us the icon above
the modifier is the object properties tab if we enter this we can see the
position scale and rotation values of our crusher by going beside the lock
this dot will allow us to add a keyframe I'm just gonna add some on the scale
properties for this tutorial but see what you can get from altering the
other values experiment I'll jump ahead in the timeline to about frame 100 and
now alter the values till it makes a small volume for our container we don't
want to crush it into too small of an area just in case it causes any problems
breaking the mesh during simulation now I'll add another keyframe to confirm
the animations endpoint scrub through the timeline or have a playthrough to
view your motion I'm happy with this so I'll hop over to the physics property
tab this little planet looking one Blender has a really easy collection of preset
physics ready for your models for this crusher we're going to be using
collision now let's prep our container first we
need to create more phases for our simulation to work with select your
model and enter edit mode and hit a to select everything right click and select
subdivide if we now head down to this tab and open it up we can increase the
number of cuts the more you have the more realistic simulation you'll have
but this will also increase your memory size and bake time I went with 50 cuts
returning to the physics property window let's enable cloth might be
thinking this is an odd choice but this is to help simulate our crumpling first
we need to turn off the gravity head into the field weights drop down and
decrease the gravity value to 0 now for the compression go into the collisions
tab and enable self collisions this will allow the model to go in on itself
increase the friction value to its maximum this will stop it being like
actual cloth and resist a little makes it think it can handle the pressure like
a tough guy switch back into object mode and let's give this a play through moments
later looks good though of course it's very slow once you're happy with the
simulation you'll need to be baked in order to render and play through
correctly this is done through the cache drop-down let's bake it depending on
your settings and animation this may take some time so make yourself a cup of tea
our animation is now locked in should you change your mind and want to alter
the settings you can delete the baked data and redo it at any time with the
bake done we can delete our crusher object select it and hit X to delete now
switching into render mode you may see that the resolution may not be too good
for this model anymore just to help smooth it out head to the
modifiers tab and find a subdivision surface yeah that's it you've crushed it
as something like this would be a huge file to export as a 3d object we should
render this out as an animation bring up the add menu and select a camera
followed by a light moving them both into suitable positions psst to take a
look at your camera view you can hit 0 on the number pad let's say this is the
scene I want to render this out to render this out we'll go to the export
properties tab here alter the resolution duration frame rate and settings we want
but more importantly I'll make sure the format is set to PNG and color to RGBA
select the folder icon and create a spot for your final destination bare in mind that
this will be an image sequence so I'd always suggest making a new folder for
it specifically above the output properties is the render engine settings
the default engine is Eevee we'll be sticking with this for this export as a
quick overview we'll be adding a couple of options to add more detail to our
render personally I tend to enable ambient occlusion bloom screen space
reflections and the motion blur for all of these allow more depth to shadows and
reflective highlights let us know if you want a more in-depth tutorial on the
render settings down in the comment section to preview a still of our render
we can hit f12 on the keyboard a new window will load up at the moment our
image is loading with a background we need a transparent for compositing later
to change this exit this window and enter the film drop down and enable
transparent if we take a look again we've now fixed it to render out the
entire animation we can either go to the render tab and hit render animation or
by using the shortcut ctrl and f12 let it do its thing make another cup of tea
and when complete jump into HitFilm and import by using the import image
sequence of option you can now crush containers with your mind that's it for
this masterclass thank you so much for joining us I know firsthand how scary
learning 3d can be so I hope that this was a fun and enjoyable experience for
you and you're excited to continue have any questions or requests for
things to learn and Blender in future let us know in the comment section down
below to see more from us our social media handle is @fxhome_official
we do weekly VFX prompts for you to put your skills to the test
and win some amazing prizes so get involved
subscribe to avoid missing out on future tutorials and we will see you next time