5월 16일 SOKOBAN

챕터 4의 내용을 토대로 입력 기반을 cin 에서,
실시간 입력으로 바꾸었다.

칸단위에서 도트단위로 이동하는 방법을 생각 중.

5월 14일 - 소프트웨어 알파 블랜딩 및 add 공식 적용. blend fomulas SOKOBAN

오늘은 소프트웨어 알파 블랜딩과 add 효과를 완료 했다.

예전에 포토샵의 레이어를 이용한 스크린 효과 공식을 본게 있었는데, 그게 이거 였구나...

Blend modeCommutativityFormulaAddtl .info
DarkencommutativeR = min(Target,Blend)
MultiplycommutativeR = Target x Blend
Color Burnnon-commutativeR = 1 - (1-Target) / Blend
Linear BurncommutativeR = Target + Blend - 1
LightencommutativeR = max(Target,Blend)
ScreencommutativeR = 1 - (1-Target) x (1-Blend)
Color Dodgenon-commutativeR = Target / (1-Blend)
Linear DodgecommutativeR = Target + Blend
Overlaynon-commutativeif (Target > ½) R = 1 - (1-2x(Target-½)) x (1-Blend)
if (Target <= ½) R = (2xTarget) x Blend
A combination of multiply and screen.Also the same as Hard Light commuted
Soft Lightnon-commutativeif (Blend > ½) R = 1 - (1-Target) x (1-(Blend-½))
if (Blend <= ½) R = Target x (Blend+½)
A combination of multiply and screen(The formula is only approximate)
Hard Lightnon-commutativeif (Blend > ½) R = 1 - (1-Target) x (1-2x(Blend-½))
if (Blend <= ½) R = Target x (2xBlend)
A combination of multiply and screen. Also the same as Overlay commuted
Vivid Lightnon-commutativeif (Blend > ½) R = 1 - (1-Target) / (2x(Blend-½))
if (Blend <= ½) R = Target / (1-2xBlend)
A combination of color burn and color dodge
Linear Lightnon-commutativeif (Blend > ½) R = Target + 2x(Blend-½)
if (Blend <= ½) R = Target + 2xBlend - 1
A combination of linear burn and linear dodge
Pin Lightnon-commutativeif (Blend > ½) R = max(Target,2x(Blend-½))
if (Blend <= ½) R = min(Target,2xBlend))
A combination of darken and lighten
DifferencecommutativeR = | Target - Blend |
ExclusioncommutativeR = ½ - 2x(Target-½)x(Blend-½)


5월 13일 - 이미지 처리, 파일 처리 클래스

이미지 처리를 위한 클래스와
파일 처리를 위한 클래스를 만들었다.

소프트웨어 블렌딩과 알파채널 적용을 내일 하도록한다.

ps. 이건 니일이다. 라는 식으로 이야기를 들으면 참 빡친다...토론토리안 왜이러니....

1 2 3 4 5 6 7 8 9 10 다음