Am 11.03.2015 um 00:36 schrieb marti.ma...@littlecms.com:
>
> Quoting Gerhard Fuernkranz <nospam...@gmx.de>:
>
>> Create an RGB -> RGB transform and re-sample it on a regular grid,
>> for instance like below (code is a bit older, still using lcms1, though).
>
> Great idea. lcms2 works fine in this way. Please note in lcms2 you can get 
> float, double or "half float" values directly, so you need not to downscale 
> to 16 bits anymore. For instance, in half float type, use TYPE_RGB_HALF_FLT 
> as formatter.

The reason for the integer LUT texture was actually the inability of my GPU to 
interpolate 3D float textures with GL_LINEAR filter, when I wrote this stuff 
quite some years ago. Likely, recent GPUs don't suffer from such a limitation 
any more.

Regards,
Gerhard


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to