[GEM-dev] pix_set new features

IOhannes m zmoelnig zmoelnig at iem.at
Tue Dec 11 19:16:16 CET 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2012-12-11 19:00, IOhannes m zmoelnig wrote:
> On 2012-12-11 18:48, Antoine Villeret wrote:
>> is does
> 
>> thanks
> 
>> while i understood the need of normalized coordinates for
>> texture in OpenGL, i dislike it in pix_objets, because we deal
>> with array of pix and i think it's more human readable to use
>> pixel coordinate in this case this also add some conversion both
>> in the code and in the patch but this is only my point of view
> 
> i understand that (esp. in the context of pix_set), but i want ROI
> to also work with simpler effects where you might want to specify
> an area, where the effect is applied, without having to care about
> the pix dimensions. also Gem uses normalized values whenever
> possible.
> 

however, i'm not so much opposed to add a special message to specify
the ROI in absolute values and [pix_roi] would then normalize the
values internally.

fgmadr
IOhannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlDHeHAACgkQkX2Xpv6ydvTIGQCeO2tuvkrwvMWD85eYk7wV17CE
o6AAoJjTHpoqTjp+UDuiK95zQHiWDbIm
=8jSq
-----END PGP SIGNATURE-----



More information about the GEM-dev mailing list