Palm tree

  • Email
  • Sharebar
  • Email
Andy's picture

This is a simple design and visualisation of a palm tree.  The palm leaves are borrowed from a previous blog. The new part is the tree trunk, which is an EXTRUSION object. Before the inclusion of EXTRUSION in VRMath2 Editor, tree stems or branches may be just cylinders. Using EXTRUSION, more irregular tree trunks can be achieved.

Palm trees belong to the Arecaceae family. They can grow in different environments such as deserts, seashores and rainforests. 

The EXTRUSION object has a spine, which are a collection of 3D coordinates along the Y axis. Each coordinate in the spine has an associated scale and orientation. I utilised the scale to create bigger trunk at the bottom and slimmer trunk at the top. The coordinates in the spine can have non-zero X or Z so the tree trunk can be curved as can be seen at the top of the palm tree above.

There are 10 leaves randomly INLINE on top of the tree. The 10 inlined leaves seem to make the virtual world b bit slow to navigate. Perhaps one leaf and 9 copy and pasted leaves could reduce the rendering load. This is certainly a simple simulation of a palm tree, but the random leaves and the tree trunk (also textured) make it look not too bad already. The ground is an enlarged RECTANGLE with a tile texture. At the bottom of the tree, an ELEVATIONGID (scaled down) with a texture to look like some small rocks to prevent weed growing and conserve water from vaporising. The Logo program is as below and please feel free to modify.

Filespalm_tree.x3d  palm.logo

Facebook Comments Box