How to make a 3D chocolate
So someone has asked you to create a 3D Wrapper bar. Like I was asked a month ago. Let's try to give the essentials for how to do this.
Step1 References and 3D Base model 
The software used here is Blender it's an open-source 3D software. Create a plane by hitting Shift+A and select create a plane. Then apply the reference picture as a texture. Also, you can get out and buy chocolate in order to study the texture. And have a snack!
Hit Shift+A again and create a cube. Hit Tab until in edit mode. Then move verts, edges, and faces and use these Hotkeys....
Until you get something like this......
Click the wrench then Add Modifier>> Subdivision Surface to get......
Keep refining the 3D Model while looking at a bar of chocolate wrapped and reference image and add material and wrapper texture using the tab with the checkered ball. And name it like so......
Select all the faces on top press U and hit project from view. Then repeat the process until you get something like this in your UV editor.
Turn one of your windows into Shader Editor. Try getting something like this...
Shift+A to create your ColorRamp and Bump. Then plug in your texture. Plug the ColorRamp into Metallic and Bump into Normal to get you...
Create another material and make the base colour a Noise Texture. Something like this...
Add a Texture Coordinate.
Shift+A to create your ColorRamp and Bump and Invert. Then plug in your texture. Plug the ColorRamp into an invert then the Roughness channel and Bump into Normal. Select the top and bottom faces of the wrapper. Then click on the tin shine material and click assign to get you...
Add a Brightness & Contrast to the wrapper material to match the colour to your reference image.
Create a plane by hitting Shift+A and select create a plane. Scale it. Then go to the physics tab and add a rigid body that looks like this......
Then go to the physics tab of your chocolate wrapper and add a rigid body that looks like this......
Make sure the sensitivity of the rigid body of the plane is...
Place your chocolate where you would want it to start and click play to run the simulation.
With your chocolate wrapper selected click Object, Rigid Body, and Bake to Keyframes. 
Set up your camera and lights and get ready to render. You may be asked to render something on Alpha then that case. You can render a PNG sequence to comp in After Effects with these settings.
Make sure film>> transparent is ticked
Render sequence
In After Effects we can right click>>Import Files>>Multiple Files
Select PNG sequence before clicking okay
After playing the animation in After Effects. Right-clicking the animation layer we can select Time>>Enable Time Remapping. And change the timing until we are happy whether faster or slower.
Then render when we are happy with that. Hope it helps.:)
Back to Top