A new tree addon part VII: tweaking leaf UVs

Now that the addon is in Blender's Contrib repository I thought it was time to start acting on some of the feedback from the BlenderArtists thread.

This release contains two minor improvements:

  • rotated UV-maps for the leaves and
  • an option to set the offset of the leaves from the twigs
Previously the UV-maps that were generated for the leaves were rotated. Because most alpha mapped leaf image textures feature leaves with the tip at the top and the stem at the bottom this rotated arrangement was often counter intuitive.

Depending on the image that you use as a leaf texture it might be useful to be able to control the point where the leaves are joined to the twig. This offset is now provided as an option slider in the leaves section. Note that even if this offset is zero the leaf plane might still be intersected by a twig. This happens when the branches are skinned with Blender's skin modifier (instead of the native skinning method).Before this skin modifier the addon adds a subsurface modifier which has the effect of cutting corners. Choosing a smaller internode distance and removing this subsurface modifier will prevent this unwanted intersection but in most cases (I.e. with enough leaves) this probably won't be noticeable anyway.

1 comment:

  1. Hi Michel! Is it possible to have the your tree add-on insert a user designed mesh for a leaf? I've been playing with sapling lately and have become frustrated with the leaves, as they go every which way. My ideal leaf would be a subdivided rectangle with weight paint at the base so I could pin it, run a cloth simulation for a few frames and have my leaves droop a little without falling off. (or even blow in the wind)
    here's an example btw of one of my trees - http://www.flickr.com/photos/99371538@N06/10578780825/

    ReplyDelete