Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Осветление цвета
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Vietnam  
View profile   Translate to Translated (View Original)
 More options Nov 10, 10:48 am
From: Vietnam <yerzhan.tle...@gmail.com>
Date: Tue, 10 Nov 2009 07:48:55 -0800 (PST)
Local: Tues, Nov 10 2009 10:48 am
Subject: Осветление цвета
есть массив цветов - нужно из них получить цвета немного светлее то
есть добавить белого.
вроде бы это легко, но чтото я не особо разбираюсь в матрицах
трансформирования :)

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alexander Sergeyev  
View profile   Translate to Translated (View Original)
 More options Nov 10, 12:09 pm
From: Alexander Sergeyev <a.serge...@gmail.com>
Date: Tue, 10 Nov 2009 09:09:52 -0800 (PST)
Local: Tues, Nov 10 2009 12:09 pm
Subject: Re: Осветление цвета
В матрице трансформаций колортрансформа задать коэффициенты на
диагонали чуть больше единицы, либо оставить их единичными, и чуть
добавить в последнем столбце. Первый способ сохранит, извиняюсь за
выражение, hue, а второй добавит белого.

On 10 ноя, 19:48, Vietnam <yerzhan.tle...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
foreground  
View profile   Translate to Translated (View Original)
 More options Nov 10, 12:13 pm
From: foreground <foreground....@gmail.com>
Date: Tue, 10 Nov 2009 22:13:04 +0500
Local: Tues, Nov 10 2009 12:13 pm
Subject: Re: [ruFlash] Re: Осветление цвета
В флексе есть утилитный класс который ето делает. Да и в гугле есть инфа

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniil Tutubalin  
View profile   Translate to Translated (View Original)
 More options Nov 11, 1:14 am
From: Daniil Tutubalin <tutuba...@gmail.com>
Date: Wed, 11 Nov 2009 12:14:20 +0600
Local: Wed, Nov 11 2009 1:14 am
Subject: Re: [ruFlash] Re: Осветление цвета
Чтобы именно добавить 20% белого, можно воспользоваться таким трансформом:
new ColorTransform(0.8, 0.8, 0.8, 1, 51, 51, 51, 0);

Вообще, чтобы сделать tint до цвета, имеющего компопненты r, g и b, с
силой q (от 0 до 1), нужно использовать такой трансформ:

new ColorTransform(1-q, 1-q, 1-q, 1, r*q, g*q, b*q, 0);


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google