I suspect you are using 0.90 on OSX which does not have the change to pix_coordinate that 'normalizes' to 0..1. I used pix_coordinate quite a bit today with rectangle textures and everything worked 0..1.
There will probably be an update to the OSX version around October with all of the CVS fixes since May 2004 and some spiffy new OSX Quicktime goodies. At the very least there needs to be a binary that shuts up the endless pix_video error messages using 10.4 and QT 7 (everything works, it just gives an error). Why Apple felt the need to dick with features frozen for about a decade is beyond me. Anyway, it's all pretty much in CVS right now if you feel like wrestling with the abysmal XCode IDE (do makefiles work on OSX?).
cgc
On Aug 22, 2005, at 7:48 AM, B. Bogart wrote:
Hey all,
I spent a good afternoon figuring out how to create the illusion of one texture spead over multiple geos. (have not looked at the vertex thing, since I have been unable to compile vertex's on linux yet)
So we figured it out on the laptop, all well and good, rectangular texture (video), "mode 1" where the coords range from 0 to the size of the texture in pixels. so we figured out all that was need to create the geo tile, moved over the linux (the machine the installation will run on), and bam, the pattern does not fit... :(
Looks like textures range from 0-1 even in rectangular mode on nvidia/linux. The 0-1 coordes are "smart" in that "1" does actually stand for the width or height and so the message of "0 1 1 1 1 0 0 0" works to perfectly texture a 640x480 texture on on square.
Is this due to openGL implimentation? Its pretty anyoying the complex pix_coordinate patches are not cross-platform...
Any way to make it consistant? At first it was much easier to figure it out with 0-pixel size cordinates, but that is relative to the texture size, whereas the way its working on linux/nvidia the texture size does not come into play, not even the aspect ratio.. The anoyance of dipping way into small floats to spread one texture over multiple geos is a little ugly.. 1/320 is the width of the texture spead over 320 goes?
Ok, Thanks all for bearing with me. You'll probably hear from me again this week.
b> _______________________________________________ GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev