Giter Site home page Giter Site logo

A8L8 support about nvidia-texture-tools HOT 9 CLOSED

castano avatar castano commented on July 30, 2024
A8L8 support

from nvidia-texture-tools.

Comments (9)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
Rather than adding native support for A8L8, I'll add full support for arbitrary 
RGBA
pixel formats. These will be specified with the 
CompressionOptions::setPixelFormat
method. In addition to that, I'll also add support for arbitrary swizzles of the
input data, using some sort of HLSL notation. I hope that will fit your needs.

Original comment by [email protected] on 15 May 2007 at 8:44

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

from nvidia-texture-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024

Original comment by [email protected] on 29 May 2007 at 9:52

  • Changed state: Accepted

from nvidia-texture-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024

Original comment by [email protected] on 29 May 2007 at 9:52

from nvidia-texture-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
Full support for RGBA pixel formats is already there, but the input swizzle is 
not
implemented yet.

Original comment by [email protected] on 16 Nov 2007 at 11:27

  • Changed state: Started

from nvidia-texture-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
Rather than swizzles, I'll add arbitrary color transformations. Swizzles can be
implemented with simple linear transforms, and those allow extra flexibility, 
for
example, if you want to create a luminance alpha texture, you would do:

inputOptions.setColorTransform(ColorTransform_Linear);
inputOptions.setLinearTransform(0, 0.333f, 0.333f, 0.333f, 0.0f);
inputOptions.setLinearTransform(1, 0.0f, 0.0f, 0.0f, 1.0f);
inputOptions.setLinearTransform(2, 0.0f, 0.0f, 0.0f, 0.0f);
inputOptions.setLinearTransform(3, 0.0f, 0.0f, 0.0f, 0.0f);


Original comment by [email protected] on 16 Nov 2007 at 11:58

from nvidia-texture-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024

Original comment by [email protected] on 28 Nov 2007 at 3:17

  • Added labels: Milestone-Release1.0

from nvidia-texture-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
postponed to 2.1

Original comment by [email protected] on 4 Feb 2008 at 11:23

  • Added labels: Milestone-Release2.1
  • Removed labels: Milestone-Release1.0

from nvidia-texture-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
Just copying a suggestion by Ignacio for how to perform swizzles:

inputOptions.setColorTransform(ColorTransform_Swizzle);
inputOptions.setSwizzleTransform(2, 1, 0, 3);   // .zyxw

Original comment by [email protected] on 14 Feb 2008 at 12:18

from nvidia-texture-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
Linear color transforms and swizzles are now supported in trunk! This feature 
will be
part of the next minor release (2.1.0).

Original comment by [email protected] on 6 May 2008 at 11:21

  • Changed state: Fixed

from nvidia-texture-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.