TextureSystem::get_texels()
> On Nov 8, 2016, at 9:40 AM, Simon Smith <[email protected]> wrote: > > Hi, > > I wanted to add a feature to our software that would allow a user to look at > and explore (as in zoom in/out/pan etc) texture resources that are being used. > > I’m currently using the texture system for all the OIIO operations, but if I > want to basically display scaled down versions of the textures used, or > zoomed in sections of the images, I’m not sure is using the texture call on > the texture system across every pixel in the GUI window area is the most > efficient way of going about it. Conversely, going down to the file level and > doing scan-line or tile based reads on a suitable mipmap image on the raw > pixel level has its own complexity too. > > What is the best way to efficiently get and display full/partial textures? > I hav a feeling the raw pixel data route would be the best (with post > scaling/framing as needed in the GUI system). > > Thanks in advance for any pointers on this one … > > > Cheers, > Simon > > _______________________________________________ > Oiio-dev mailing list > [email protected] > http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org -- Larry Gritz [email protected] _______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
