[GEM-dev] more textCoord fun
B. Bogart
ben at ekran.org
Wed Aug 31 22:06:50 CEST 2005
Hey all,
I realized some weirdness with textcoords in my patch the spreads one
texture over many geos.
My chain looks something like this:
[gemhead]
[pix_image] [loadbang]
[pix_texture]-[mode 0, repeat 1 <
[s group]
Then there are 40x30 geos each with:
[r group]
[pix_coordinate]
[separator]
[square]
I've moved separator AFTER pix_coordinate as per cgc's instructions. As
far as I know this is odd in Gem, since the pix_coordinate for each
square is before the seperator they may interfere?
Anyhow When I just this patch the text-cords are all screwed up,
(shifted slightly, actually looks like they are doing square texturing
when they should be doing rectangular). Even once I send the proper
coordinates using my python script.
In order to get everything to display right what I need to do is load
the patch and then manually reinstanciate the pix_texture (clearing the
texture) and then reloading it with pix_image.
Actually now that I think of it that is effectively removing the "mode
0, repeat 1" thing. Hmmm, actually I don't need to set "mode 0, repeat
1" now that I put separator after pix_coordinate...
Anyhow I answered by own question, maybe someone can enlighten me as to
why this is happening.
Thanks all.
b>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20050831/0b84fa37/attachment.pgp>
More information about the GEM-dev
mailing list