what is this "double gemhead idiom?? i see it in a patch but what does it mean in practice?? this patch looks quite strange
I think, I explained it a bit before, so you also may want to search the list archive. The basic idea is to use two gemheads, where one (the lower) is put into forced rendering mode, which means, that it's switched off as default and is made to render only every time, it receives a bang. The upper gemhead is used as a kind of metro, which bangs the lower gemhead on every frame. The trick then is to bang the lower gemhead multiple times on every frame and change some data in the meantime.
Please see attached patch for another example.
Frank Barknecht
...........
thanks for the answer now i get it
the idea seems very similar to using the [repeat] object
do you think that using doubled gemhead has any advantages over using
repeat??
is there any difference in practice?
since i have never heard of using double gemhead before i am just wondering if i could do any new things with this approach
in general not in the particular case of displaying text
thx.
maciek
On 10/8/07, Maciej Wojnicki mwojnicki@wp.pl wrote:
the idea seems very similar to using the [repeat] object do you think that using doubled gemhead has any advantages over using repeat?? is there any difference in practice?
The gemhead object resets the states for OpenGL and also some pix_ settings. Anything after it is starts as a clean slate similar to combining [separator] and [pix_separator].
Hallo, chris clepper hat gesagt: // chris clepper wrote:
On 10/8/07, Maciej Wojnicki mwojnicki@wp.pl wrote:
the idea seems very similar to using the [repeat] object do you think that using doubled gemhead has any advantages over using repeat?? is there any difference in practice?
The gemhead object resets the states for OpenGL and also some pix_ settings. Anything after it is starts as a clean slate similar to combining [separator] and [pix_separator].
Yep. To illustrate the difference between both approaches, see attached patch. The double-gemhead idiom however is related to another approach involving [any] and [seperator], that you can see in action in some pmpd/msd-example patch, IIRC.
Frank Barknecht _ ______footils.org__