POV-Ray : Newsgroups : povray.binaries.images : Re: Moss Vine test [~30k] : Re: Moss Vine test [~30k] Server Time
1 Aug 2024 04:12:57 EDT (-0400)
  Re: Moss Vine test [~30k]  
From: Bill Pragnell
Date: 11 Mar 2009 17:50:00
Message: <web.49b830ded4fd5b28219167190@news.povray.org>
Here's my leaf macro as it stands:

http://www.infradead.org/~wmp/leaf.inc

It's more comprehensive than I remember - all the leaf types apart from stalks
and grassblades have uv vectors (u along the length of the leaf, v from the
centre to the edges), so uv_mapped textures will work with them. Also, the
macro only produces triangles - it has to be called from inside a mesh block -
this means you can have as many leaves as you want in a single mesh.

Enjoy!

Bill


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.