[PD] pix_movie
guenter geiger
geiger at epy.co.at
Tue May 8 10:09:26 CEST 2001
On Mon, 7 May 2001, Mark Danks wrote:
> To the list,
>
> What are people's thoughts about how to handle non-power of two sized
> textures? My primary goal is always speed, which means that I don't like to
> use automatic conversions, etc. I would rather that the texture
> upload/whatever fail than do a silent conversion for me. However, I know
> that this approach confuses other people who don't know about the internals
> of how the hardware needs the textures....
I do prefer speed too, because if a project has a certain size,
and the system is doing performance intensive conversions implicitly,
it is very hard to figure out where the performance was lost.
I think a simple warning within pix_texture would suffice to make
people aware of the power-of-two problem.
To solve it a pix_resize can be prepended to pix_texture
(Note: not always, pix_video on linux has a problem with that,
maybe there are other image generators which don't behave as
expected, they should be fixed)
Guenter
More information about the Pd-list
mailing list