POV-Ray : Newsgroups : povray.general : Duplicate ? : Re: Duplicate ? Server Time
5 Aug 2024 04:22:38 EDT (-0400)
  Re: Duplicate ?  
From: Christopher James Huff
Date: 24 Nov 2002 12:48:10
Message: <chrishuff-C869B0.12464124112002@netplex.aussie.org>
In article <Xns### [at] 204213191226>,
 "Rafal 'Raf256' Maj" <raf### [at] raf256com> wrote:

> So I suggest 2 future reguests to achive this :
> 1. allow syntax 
> mesh {
>   mesh { ... rotate ... translate ... } // leaf 1
>   mesh { ... rotate ... translate ... } // leaf 2
>   [...]
>   rotate ... translate ...
> } // grass block

This type of thing has been discussed many times before. It would be a 
fairly major piece of work to do it completely, but it has a chance of 
being done as a 3.5 patch. Something similar for blobs would be nice too.


> 2. add new syntax :
>   duplicate { ... } 
> that will work in same way as 
>   object {... }
> but will re-use memory

There is no need for a new syntax, copy by reference can be done with 
the existing syntax. However, it would take a lot of work, don't expect 
it before the 4.0 rewrite.

The best solution to your problem would be to just put multiple grass 
blades in a single mesh tile. This is the most efficient way to do mesh 
grass.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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