Blog

Capri Blog Issue 3. Pelargonium Blossom

2015-04-13

Creating plants for a game is not a simple task and often requires an individual approach to model each type of plant.

In the video below, you can see the whole process of making a set of textures for pelargonium, the modelling of the bushs' geometry and the preparing of the scene to export to the Blend4Web engine.

Finished models of pelargonium flowers in pots.

This is a demonstration of the process we found to be most suitable, convenient and possible to use in combination with Blender and the Blend4Web engine. Substantially, this is a continuation of the previous article, in which you can find the video with flower pot modelling.

Some Explanations and Tips

Creating plants is both interesting and complicated process, so please find below some comments.

1. Removing the leaves from the ends of the stems.

After some tests, we decided to get rid of the leaves on the ends of the stems, because they intersect with the groups of leaves on the billboards and therefore it's clearly visible that they are flat.

2. Separating the groups of leaves into smaller ones.

After other tests, we divided the groups of leaves into smaller groups which allows us to create the effect of more lush foliage.

3. Increasing texture space for the groups of leaves.

At the end of the video, you can see that we redid UV-mapping of the texture atlas. We allocated more texture space for the groups of leaves to improve their visual quality and keep the same resolution of the whole texture atlas.

4. Baking normal maps using Blender Render.

Usually, we bake textures in a higher resolution than it is necessary. Firstly, it allows us to have high resolution textures in reserve, just in case. Secondly, it can be controllably blurred in a graphics editor (for example GIMP), because it can't be done with Blender Render during the baking process (you are free of this problem in Cycles).

5. The direction of polygon normals when baking textures.

It's important to have the correct normals when you bake textures. If a normal map is baked with inverted normals, there will be observed serious lighting artefacts.

On the left - correct normal map, on the right - normal map with inverted normals on some leaves.

6. It's important to put a neutral color under the transparency area.

The Alpha Clip transparency type, which has the fastest performance than others types, shoud be used for this task. We also recommend to fill transparent areas of the texture with the same color as the non-transparent areas. This is necessary in order to avoid artifacts at the edges of the leaves and the branches.

On the left - incorrect texture (alpha channel not shown), in the middle - correct texture (alpha channel not shown), on the right - correct texture (alpha channel shown).

7. Particle system.

Setting up the particle system for the groups of leaves.

It's very important to configure the particle system of the bushes in the right way. Pay attention to the settings of the Blend4Web tab and to the Billboard Type: it is set to Jittered. This creates a shaking effect on every particle of the particle system under the influence of the wind.

That's all for today. As always, if you have any questions or comments about the video, you can post them on our forum in the specified topic.

Comments
07 apr. 2023 20:37
Many thanks. A lot of content.
<a href=https://argumentativethesis.com/>thesis statement about service dogs</a> thesis writing <a href=https://bestmasterthesiswritingservice.com/>how to write thesis</a> writing a scientific thesis
07 apr. 2023 22:30
Many thanks! Lots of facts!
essay writing guides https://buyanessayscheaponline.com personal statement writing service london https://bestcheapessaywriters.com
08 apr. 2023 15:47
Awesome content. With thanks!
<a href="https://essaywritingservicelinked.com/">best cv writing service uk</a> student essay writing <a href="https://essaywritingservicetop.com/">online essay writing</a> cheap essay service
10 apr. 2023 04:53
Nicely put. Many thanks!
gun lake online casino <a href=https://bestonlinecasinoreal.us/>wynnbet online casino</a> online casino free money
10 apr. 2023 23:12
Kudos! I like it!
write my school paper for me <a href="https://gseomail.com/">anonymous essay writer</a> help me write a cover letter for my resume
11 apr. 2023 02:56
With thanks. I like it!
do my essay for me please <a href="https://eseomail.com/">essay writer for hire</a> who can write my book for me
13 apr. 2023 04:18
Whoa tons of good data!
casino online canada <a href=https://bestonlinecasinoreal.us/>online casino site</a> fanduel online casino
13 apr. 2023 10:47
This is nicely said. .
write my college entrance essay <a href="https://gseomail.com/">pro essay writers</a> law essay writers
13 apr. 2023 13:54
You said it adequately..
write my essay for me cheap <a href="https://eseomail.com/">what can i write my essay on</a> paid essay writer
20 may. 2023 13:19
These expenses may include accommodation, transportation, food, healthcare, and any other costs you might incur during your stay. The purpose of this requirement is to ensure that visitors can support themselves financially and prevent situations where individuals may become a burden on public resources https://www.youtube.com/watch?v=bYw6hZ0dJeE
Please register or log in to leave a reply.