[PD] Space Invaders 4D Game
Frank Barknecht
fbar at footils.org
Tue May 8 12:35:14 CEST 2007
Hallo,
nosehair911 at bellsouth.net hat gesagt: // nosehair911 at bellsouth.net wrote:
> I'm just starting out in PD but 99.9% of the time I can break
> something down and figure out how it works or find something online,
> but can someone explain to me how to use two gemheads to render a
> pattern with just on geo. I understand the textfile object and the
> text file part what I down get is why it works.
The double gemhead trick is based on "forced rendering". If you look
at the gemhead help file, you will see, that banging a gemhead will
make it render just one frame.
In the double-gemhead configuration, the upper gemhead basically ist
just a metro driving the rendering of the lower gemhead with bangs.
(But you cannot use a normal metro here, as the bangs have to be timed
exactly in sync with the gemwin's frame rate.)
The lower gemhead as default is switched off (with a loadbang -> 0),
so that it is not rendering, unless it receives a bang.
The with some simple [t b a] voodoo you can make many forced renderings of
the same geo but with different transformations applied to each. See
attached example patch for this in action.
Ciao
--
Frank Barknecht _ ______footils.org_ __goto10.org__
-------------- next part --------------
A non-text attachment was scrubbed...
Name: double-gemhead.pd
Type: application/puredata
Size: 1795 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20070508/0166a89b/attachment.bin>
More information about the Pd-list
mailing list