[PD] A newbie needs first aid!

IOhannes m zmoelnig zmoelnig at iem.at
Tue Feb 3 08:39:43 CET 2004


marius schebella wrote:
> hi,
> 
> the display of the pictures needs some memory... and maybe a fast graphic
> card. anyway. i think you will need GEM to show the pictures and then use
> pix_multiimage in connection with pix_draw. 

2 notes:
a) [pix_draw] might be the simplest but probably a bad idea. most modern 
graphic cards with hardware-openGL-support will draw pixeldata with 
[pix_draw] painfully slow.
it would be much faster to use [pix_texture] in connection with [square] 
instead of [pix_draw]. use [rectangle] instead of [square].
a.1) you might need a rather recent copy of Gem for [pix_texture] to 
take images which size is non-power-of-2. gem<=0.87cvs (including 
gem-0.87) will only work with images that are 2^n-sized.
if you are on windows, i have put a 0.888pre compile onto the gem.iem.at 
yesterday.

b) if your graphics card has also a lot of ram to be able to hold all 
images in gfx-memory, you could also use [pix_imageInPlace] in 
conjunction with a [square] (resp. [rectangle]). you don't need the 
[pix_texture] for this.

having said all this, i have to notice that for one who has to learn 
pd/GEM in 1 day, marius' solution was definitely a lot simpler ;-)


mfg.a.dsr
IOhannes





More information about the Pd-list mailing list