I hope I understand you correctly,
I read:
tried "pix_resize" but i didn't worked...
in gem (as in opengl in general) your picture is a texture, it becomes visible when it's rendered onto some 3d primitve a square maybe ? try resizing the object et voila
HTH
x
I don't use any primitive... i just use the pix_draw to show the image on screen (i saw this in the first patch of the "04.pix" files).
--- CK x@meta.lo-res.org wrote: > I hope I understand you correctly,
I read:
tried "pix_resize" but i didn't worked...
in gem (as in opengl in general) your picture is a texture, it becomes visible when it's rendered onto some 3d primitve a square maybe ? try resizing the object et voila
HTH
x
-- chris@lo-res.org Postmodernism is german romanticism with better http://pilot.fm/ special effects. (Jeff Keuss / via
ctheory.com)
Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com
I don't use any primitive... i just use the pix_draw to show the image on screen (i saw this in the first patch of the "04.pix" files).
try and use a [pix_texture] + geo combination. in addition to the resizing you will also get a nice increase in performance.
on a somewhat related note: i have made, but not committed, a [projector] geo that takes pixel sizes as arguments [projector 640 480]. it might help some people out to use an object that works with pixel dimensions rather than the somewhat unknown GL dimensions (meters? furlongs? acres?). it also has an 'auto' mode to fill the gemwin with the image, which has been a much requested feature. the object needs a bit more testing and tweaking before it gets added to the CVS.
cgc