Results 1 to 2 of 2

Thread: Opacity animation for VGImage

  1. #1
    Junior Member
    Join Date
    Nov 2010

    Opacity animation for VGImage

    Hi All,

    I am trying to animate the opacity of VGImage using VG_COLOR_TRANSFORM. However, I have read on a Qt/Trolltech blog that opacity animation for a VGImage can be achieved via vgColorMatrix(). But that approach has severe performance implications. The blog is: ... enVG/df9sz

    My question is: out of the following two approaches, which one is the recommended one to get the desired result?

    1 - using vgColorMatrix
    2 - using VG_COLOR_TRANSFORM



  2. #2
    Junior Member
    Join Date
    Oct 2009
    United Kingdom

    Re: Opacity animation for VGImage

    VG_COLOR_TRANSFORM is probably the quickest, vgColorMatrix is a richer operation in terms of its capabilities, but involves an implicit image copy operation.

    vgColourMatrix might still be worth considering if you are applying the colour transformation once to an image at the start of your application, but I wouldn't recommend it for runtime use.


    Alex Walters, OpenVG Design Engineer, Imagination Technologies |

Similar Threads

  1. Replies: 1
    Last Post: 09-17-2008, 10:50 AM
  2. Animation Compiling
    By Anim8ir in forum OpenGL ES
    Replies: 0
    Last Post: 04-13-2004, 05:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean