I’m gonna start creating assets for The Forester now. Spring is just starting over at my place, and it will be possible to get out and photograph stuff to get textures and inspiration etc.
I want to see if anyone else is doing plants assets, and want to share their knowledge. Get some discussion going perhaps.
I’m gonna start things off with a test tree that I’ve made. It’s a spruce.
The image above shows the objects on which the green branch-textures are put. They make up 3660 triangles in total.
This can be reduced a good deal. They have 2 joints, which may be a bit excessive. Also, I do not reduce the number of these objects further up the tree (i just scaled the branches down), which should absolutely be done.
It should be possible to get that down to 2-2500 triangles in my estimate.
The trunk and the large branches use the same material. They have a massive 12720 triangles atm, but, this number is very inflated. The branches are very high res (32 subdivisions and 2 joints + endpoints gives 128 verts per branch). Just reducing that to 16 subdivisions will cut the tri-count in half. There is also no need for 2 joints far up the tree.
In my estimate, it should be possible to end up at around 5-6k triangles for trunk and branches.This gives a total of around 8k triangles for each tree, which I think is a good number.
There’s a lot of work to be done in reducing the complexity of the mesh, and cleaning it up, but I like the general shape of the tree. It’s not a perfect spruce, but that’s basically how they look over here. A little “scruffy”. I guess the foot looks a bit weird, and I’m not sure I like the bottom part of the branches very much, but these are minor tweaks. The main work will be to reduce the number of triangles. After that comes better texturing, lightmap creation etc.
I use blender for models btw, and Gimp for photo editing and texture creation. To get normal maps I usually just desaturate the images and use the normal-map plugin. It works well for simple stuff.
Gonna keep adding stuff here. I’ll post once the tree is re-made into a better looking lower poly version, and then include it with the forester lib.
I have really no opinion on the triangle count, but maybe 8K is a bit to much? The tree models I’ve seen before is roughly around 3-5K, but they might not look as good as your tree…
Maybe some LOD levels could be appropriate? One high poly, one lowpoly and then your impositors Not sure how one should implement a smooth lod transition between the highpoly and lowpoly tho…
This just some random thoughts, still to early in the morning for me
8k is still a bit high for a tree IMO…but your tree looks already very good.
Branches are barely visible, I guess you could have only 4 or even 3 subdivisions for them…with smooth normals and normal maps, it would be only noticeable at very close range.
The trunk however should be fairly cylindrical. 16 subdivisions sounds good.
Did you ever try the decimate modifier? it triangulates the mesh and can reduce its polycount.
Usually it’s just mess up your mesh and that’s bad for deforming models but maybe it can be ok for a tree…at least for the trunk and branches…
I don’t know if it’s a good idea, but it could worth the try.
If you use the tree-generator addon (sapling) you can simplify the modelling process quite a bit and you have good control of the polycount. It is in the base release from 2.59 but not enabled by default.
Thanks for the tips all. These new trees are about 8k. I know it is possible to bring down probably around 2k or so by modifying the branches (the green areas should be scaled up a lot). Gonna push it down to 5-6k then start focusing on making them look good. Photo time today!!
@remorhaz that’s a nice feature, I didn’t know about that either
@androlo we just bought one of those pre-made tree packs at work and most stuff seems to be between 4 and 6k so I think you’re shooting for the “sweet spot”
Hah! These ones are just above 5k (like 5020 or something). The mesh I think looks ok now. Not perfect, but enough atm. Maybe extend the branches some more…
I am adding this model to forester (or some later version of it, probably gonna clean it up some more and fix the textures first). I’ll add a bush and some more stuff as well, so that forester gets its own assets.
@androlo said:
I'll add a bush and some more stuff as well, so that forester gets its own assets.
We could make asset packs so they can be successively updated and/or extended later. One can add models from an asset pack to the project quite easily and you could predefine the paths etc. as well. Once you have some set of models I can look into this if you want. Obviously others not using the SDK can download the zip files as well.
No it’s such a low res terrain I chose not to use that. I’m also using the old terrainshader from the terrain tutorial. not sure it would look good.
Also I guess it’s not a very good shot; trees clumped together, trees are the only shadow casters etc, but I was so amazed by the shadows and how they increased the quality of the tree. This is the last time I ever use a model without shadows or a proper lightmap. Or at least I will not design a model again without having shadowing in mind.