news:3f68fccf@news.povray.org...
>
> Would that be correct then? Just alternate the #include line between
> grass patches?
>
No, just parse and declare the patch once and then use the resulting object
as many times as you want.
#declare MyGrass=object{#include "fgrass1.inc" texture{...}}
object{MyGrass translate ... rotate ...}
object{MyGrass translate ... rotate ...}
object{MyGrass translate ... rotate ...}
In fact there's a makeprairie macro at the end of the main macro file that
does exactly that, but of course you can write the patch placement loop
yourself so that the grass goes where you want it to be.
G.
--
**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters
Post a reply to this message
|