Creating Realistic 3D Plant 3: Shaping The Leaves
In this tutorial, we'll take the leaves we created in the previous tutorials and use them to assemble a plant. We will explore a range of techniques for adding deformations to the leaves, enhancing the overall realism of the plant.
1. Leaf Setup Breakdown
To grasp the functionality of our leaf setup, let's dissect its key elements:
- Bending Controller (Curves Hook Empty Object)
- Curve
- Leaves mesh
- Parent (Empty object)
These three objects are attached to an empty object that functions as a Parent. Because the leaf components are attached to this Parent, we can easily change the entire configuration by adjusting the Parent's position, size, or rotation.
2. References!
For generating realistic 3D content, real-life references are essential. So, before you continue, gather as many reference pictures of your subject as you can find and spend some time studying these photos. In the case of something like a plant, you can also get a real-life plant to examine.
Why is reference so important? It allows you to spot all the subtle details that make an object realistic, and it also prevents you from adding details that do not exist in real life. This keeps the model grounded in reality and saves time because you're only working on details that actually exist.
PLACING AND SHAPING THE LEAVES
3. Getting Familiar With The Assets
Now let's practice the use of our setup!
Duplicate the objects and shape them using this workflow:
- Start by selecting the parent of a leaf.
- Place it in your scene and adjust its orientation to your liking.
- Move the Bending Controller to give the leaf the desired bend.
Repeat this steps with other leaf duplicates to practice the plant creation. Don't get too carried away, though! We will assemble the final form of the plant after exploring the methods of adding details to the leaves' shape.
Remember, it's a good practice to duplicate the setups you plan to use so that you won't run out of leaves : )
Leaf Details
In the world of foliage, imperfections are key to realism. No leaf is perfectly flat; they exhibit various bends and deformations. To craft a believable plant, an artist must incorporate these details.
We'll introduce three techniques for adding imperfections, ranging from the simple to more complex workflows. We encourage you to experiment with all of them to discover which best complements your creative process!
Method Nr 1 - The Manual Way
One way of creating 3D models that consists of duplicated deformed objects is shaping them by hand. Before assembling the plant we can duplicate the leaves a bunch of times and start shaping them.
To maintain the double-sided mesh integrity when adjusting vertices, you'll want to activate Proportional Editing. It's crucial to ensure the Connected Only option is switched off. Now, as you move the vertices, you can control the range of the Proportional Editing effect by using the scroll wheel.
By following these steps on all of the leaves, you can start assembling the plant. However, it's important to keep in mind that this approach is irreversible. Once changes are made, you won't be able to revert to the original shape. So, proceed with your design knowing that it's a one-way journey.
Method Nr 2 - Non Destructive Manual Way
This method is quite similar to the first one, but it enables you to add details before and after arranging the leaves, with the option to revert to the original shape.
To get started, select the leaf and head over to Object Data Properties. Expand the Shape Keys tab. Simply double-click the + button on the right to introduce two new Shape Keys. The Basis key stands for the layer containing the original mesh shape, while Key 1 serves as the layer where you can apply deformations.
With these preparations in place, we're all set to start editing the mesh.
4. Curve Modifier Visibility
Once you've created the Shape Keys, it's time to select the Key 1 layer and enter Edit Mode. At this point, you might notice that the leaf isn't conforming to the curve as expected, making it difficult to visualize its final presentation. Fortunately, this can be resolved by accessing the Modifiers Properties and clicking on the first two icons in the Curve Modifier tab. These adjustments will enable you to manipulate the leaf with Curve Modifier working in Edit Mode.
5. Deforming The Leaf
To begin working on the Key 1 Shape Key, we'll follow a similar approach to Method Nr 1. After accesing Edit mode we should activate Proportional Editing and start adjusting the vertices. However, you might notice that moving the vertices feels a bit odd, almost as if the axes are flipped. This happens because we're making changes to the original, straight-standing leaf mesh, not the bended version. This can be a bit confusing, but there are ways to simplify it.
At the top of the viewport, we need to adjust the Transformation Orientation to Normal. This will allow us to move the vertices along the original axis of the mesh. Additionally, changing the Transform Pivot Point to 3D Cursor is a handy trick. With this setting, you can place the 3D Cursor on the vertex you're moving using Shift + Right Mouse Button. This way, you can see the effects of Proportional Editing in the correct location.
Now, to deform the mesh in the desired direction, we need to identify the correct axis. Select a vertex and press G + X, Y, or Z to determine which axis moves the vertex vertically as needed.
6. Shape Keys Utilization
After you've made changes to the mesh in Edit Mode, you might notice that these alterations don't appear when you switch to Object Mode. To visualize the deformations, you should select the Key 1 layer and adjust the Value to 1. The Value is essentially a slider, allowing you to control the extent of the deformations as needed.
If You are unhappy with the results You can select the Key 1 layer and click the - button on the right. In order to make the new layer of deformation You can click the + icon and make the deformations again.
Method Nr 3 - Advanced Use Of Curves With Weight Painting
Among the methods we've discussed, this one is the most complex, but it offers a quick and non-destructive way to shape your leaves.
7. Adding A Bending Curve
To get started, add a Path by pressing Shift + A Curve Path. Then, press Tab to enter Edit Mode. While in Edit Mode, select the entire curve, and scale it to approximately 5 cm. The exact scale isn't crucial, just a rough estimate will do. After that, select the second and fourth points and delete them using X Vertices, so you end up with only three points remaining.
8. Setting The Origin Of Curve
To ensure the Curve functions properly, it's essential to set its origin correctly:
- Switch to the front view to ensure the orientation is correct.
- Select the left point of the Curve.
- Press Shift + S
3D Cursor To Selected. - Exit Edit Mode and return to Object Mode.
- With the Curve selected, press Right Mouse Button and choose
Set OriginOrigin To 3D Cursor.
9. Placing The Curve In The Right Place
Let's select the leaf and place the 3D Cursor on it with Shift + S 3D Cursor To Selected . Select the Curve and place it on the leaves origin with Shift + S Selection to Cursor.
10. Adding The Curve Modifier
First, select the leaf and navigate to the Modifiers Properties tab. Here, add a new Curve Modifier. In the Curve Object tab, select the Curve you've created.
To ensure the modifiers work correctly, you'll want to click and hold the top right corner of the new Curve Modifier, then move it upwards to position it above the first Curve Modifier in the stack.
11. Adding A Second Bending Curve
Next, select the Curve and create a duplicate using Shift + D + Right Mouse Click. With the duplicated Curve selected, let's rotate it by pressing R + Z + 180 + Left Mouse Click.
Now, we need to add a new Curve Modifier. Make sure to place it above the first Curve Modifier in the stack, just as you did in the previous step. Assign the rotated Curve to this new Curve Modifier in the Curve Object tab, just like before.
12. Curve Controllers
Now, we'll need to link Hook Objects to the new Curves in order to use them as Curve Controllers. Begin by selecting one of the Curves, then enter Edit Mode and choose the outward point. After that, press Ctrl + H, and select Hook To New Object. Be sure to repeat these steps for the second Curve as well.
13. Hooks Setup
The newly added Controllers might appear excessively large within our current scale.
To adjust this, select a Controller, and navigate to the Object Data Properties tab. Here, you can modify its size to a more suitable value, such as 0.5 cm.
For improved organization, you can also customize their appearance to distinguish them from other Empty objects in the scene. You can change it in Display As dropdown.
14. Restricted Movement Of The Controllers
When we move the Controllers, we can observe that the leaf is undergoing deformation. However, we may not want the leaf to distort in unintended directions. To achieve this, we must restrict the leaf's movement to specific axes.
Begin by selecting the Controller and open the right panel by pressing N. Within the Item tab, locate the lock icon beside the Z-axis and click on it. By doing so, even when we rotate the whole leaf setup during plant assembly, the controllers movement will consistently deform the leaf in the correct manner, preventing unwanted distortion.
15. Parenting The Setup
To ensure that we can move the Controllers and Curves along with the entire setup, we must establish a parent-child relationship.
Let's Shift select the new Curves and Controllers and Shift select the leaf Parent the last. Press Ctrl + P Object.
Now if we move the leaf parent in any direction, we are overriding the Controllers restrictions, which isn't possible by moving the Controllers alone!
16. Controllers Magic
Now, when you move the Controllers, you'll notice that the leaf bends gradually from its midpoint.
17. Implementing The Weight Paint
Okay, so far, our leaf's deformation has been still quite uniform. To introduce those much-needed bumps and dents, it's time to implement a brush system for more intricate deformations.
Let's take the following steps:
- Select the leaf object.
- Enter Edit Mode.
- Navigate to the
Object Data Propertiestab. - Within the
Vertex Groupsection, click the+button. This action will establish a fresh Vertex Map, essentially a canvas for us to paint weight values onto the mesh. - Ensure that the entire mesh is selected.
- Set the
Weightvalue to 1 and proceed to click theAssignbutton.
These adjustments will allow the Curve Modifiers to work with 100% strength and later give us opportunity to create detailed and realistic surface irregularities by painting lower values.
18. Assigning The Weight Map
In order for weight map to have an effect on the bending we need to assign it to the modifiers.
Go into Modifiers Properties tab and select our Vertex Group in two first modifiers.
19. Weight Painting
Now, let's delve into Weight Paint Mode with Ctrl + Tab Weight Paint. This mode empowers you to paint values that determine the strength of the modifier.
Here's the lowdown: 0 corresponds to the lowest strength (depicted in blue), while 1 signifies the highest (displayed in red). Initially, since we assigned a value of 1 to the entire mesh, the modifiers exert a 100% effect on the entire mesh. For deformations to occur, we need to paint values lower than 1.
Here's how to navigate Weight Paint Mode:
-
Open the toolset tab by hitting T. Within, you'll find an array of tools for painting weights. In our case, we'll choose the
Drawtool. -
To access the tool's settings, open the right panel with N and proceed to the
Tooltab. Because we want to paint lower values, change theWeightto 0. To achieve the desired subtlety and avoid extreme deformations, set theStrengthto 0.1. -
Now, you're all set to begin painting deformations with a simple Left Mouse Click. Concentrate your efforts on the leaf's edges where deformations should be prominent. To intensify the effect, apply multiple clicks to the same spot, adding 0.1 to the weight value with each click.
For smoother workflow, here are some handy shortcuts to make your life easier:
- Adjust the brush's
Radiusby pressing F and moving the mouse. - Fine-tune the
Strengthwith Shift + F. This will allow you to control the extent of your brush's impact more precisely.
20. Weight Paint Setups On Other Leaves
Now, it's time to replicate the previous steps on the remaining leaves. To streamline the process and save time, you can follow these steps:
-
Select both the Curves and Controllers.
-
Duplicate these selected objects by using Shift + D and move them aside.
-
Then, press Alt + P and choose
Clear And Keep Transformation. -
Place them on the Origin of the next leaf.
-
Carry on with modifiers, parenting and so on following the same procedure as before.
21. Organization
Just as we did in the previous tutorials, it's essential to establish some organization before duplicating objects. This workflow ensures that everything is neatly sorted, making it easier to select specific objects or hide them for improved visibility later on.
Furthermore, it's a smart move to place each leaf (only the mesh) in its own collection. This practice will come in handy during the plant assembly stage, as it helps identify which leaf was duplicated the most, preventing unnecessary repetition.
22. Duplicating And Using The Setups
When we duplicate the setups, align them with their Parents, and apply the bending using the main Curve's Controllers, it results in a big mess. This can make it challenging to select the correct Parent or Controller.
Luckily, there are quick ways to resolve this:
- To find the Parent of the selected leaf, you can use Shift + G
Parent. - To locate the leaf's Controller with ease, with the Parent selected press Shift + G
Children.
These shortcuts help streamline your workflow and make the selection process more efficient.
23. Getting Familiar With The Weight Paint Setup
With a leaf selected, you can enter Weight Paint Mode by pressing Ctrl + Tab, allowing you to start painting the leaf to meet your specific requirements.
- For an added layer of detail during painting, consider adding a Subdivision Modifier on top of the Curve Modifiers. Just remember that you'll need to apply the Subdivision Surface for it to take effect.
- On the other hand, if you wish to smooth out the existing deformation, you can place a Subdivision Surface Modifier below the Curve Modifiers.
These adjustments provide additional flexibility in achieving the desired level of detail and smoothness in your project.
24. Controllers
Another great aspect of this setup is the ability to adjust the direction of deformation by moving the controllers.
To do this, select the Controller of the Side Curve and press G to reposition it.
Alright, that wraps up this method! Now with our deforming method of choice we can start the assembly!
Assembling The Plant
A Cucial step in bringing your project to life.
25. Final Arrangement
Regardless of the method you've chosen, it's now time to duplicate your assets and begin assembling them, much like we did in subsection 3. At this stage, focus on roughly shaping the silhouette to match your references.
In the following steps, we'll delve into refining the leaf shapes further.
26. Selecting The Curves
Once you're satisfied with the silhouette of the plant, you can remove the Hooks to gain better control over the Main Curves.
Thanks to our organization in Collections, you can swiftly select the Curves with Right Mouse Click on the Collection and choosing Select Objects.
Ensure that your unused assets are hidden to avoid selecting their parts. You can do that by selecting those object and pressing H.
27. Applying The Hook Modifiers
To simplify your workflow, we can leverage Blender's powerful Add-ons.
Here's how to do it:
-
Navigate to the upper left corner and access
EditPreferences. -
In the Preferences window, go to the
Add-onstab (Get Extenstionsin Blender 4.0 and above). -
Type Modifier Tools in the search bar.
-
Enable this addon by ticking the checkbox, and you're good to go!
Now that you have all the Main Curves selected, hold Shift and click on any Main Curve to set it as the Active Selection. Head over to the Modifiers Properties tab. You can now simply click on Apply All to apply the modifiers on all of the Curves simultaneously!
As the Controllers are no longer needed, you can select them via Collection and delete them.
28. Refining The Curves
After applying the Hook Modifiers, our Curves are now in the correct shapes and ready for manual refinement. When you enter Edit Mode, you may notice that there are only five points, which can be limiting for detailed adjustments. To gain more control over the Curves' shape, follow these steps:
- Select the portion of the Curve where you want to add more points.
- Right Mouse Click
Subdivide.
This will give you additional points, enabling you to fine-tune the shape. Take inspiration from real plant references and aim to replicate their distinctive details for a more realistic appearance.
Here's another handy trick: you can tilt the geometry with a Curve. Select one or more points and press Ctrl + T. This allows you to twist a portion of the mesh, providing another tool for deforming the geometry.
And one more tip: if you select the endpoint of the Curve and press E, you can extrude the Curve, providing additional flexibility in shaping your plant.
Final Sillhouette
The ultimate appearance of your plant should align with your specific goals and its intended purpose. Consider factors such as where you plan to place it, the available lighting conditions, and the atmosphere you want to create in the room.
What's truly remarkable about this setup is its adaptability. You can easily customize it to suit the requirements of your scene. Just select the Curves and begin shaping them to achieve the perfect look. This flexibility empowers you to create a plant that seamlessly blends with the rest of your project and fulfills its intended role.
29. Studying The Details On References
Before the final step, we need to closely examine real-life references for small deformations, their locations, and their appearances.
30. The Details
Now it's time to add that final layer of intricate details to bring your project to life.
If you've chosen Method 1, you can consider your work done at this point. However, if you're aiming for that extra touch of realism, this is the last step. It might take some time, but remember that great results come with patience and effort. So go ahead, take your setup of choice, and start adding that extra layer of deformations.
These finer details will undoubtedly enhance the realism and authenticity of your project.
Final Results
With this versatile workflow, you'll be well-prepared to tackle the creation of various plant species. These techniques can be applied to a wide array of flora, offering you endless possibilities in your Blender projects.
The ability to craft lifelike, customized plants is at your fingertips. So, whether you're designing a lush indoor garden or an arid desert landscape, this workflow provides the tools you need to achieve remarkable results!
If designing just the leaves of a plant doesn't quench your creative thirst, you're in for a delightful surprise in the next part! In our upcoming tutorial, we're about to push the boundaries of realism by introducing a layer of young, rolled leaves and bringing stunning flowers into the mix. Get ready to take your botanical artistry to a whole new level!