Registriert seit: 3. Mär 2006
Ort: Waldbronn
4.303 Beiträge
Delphi 2009 Professional
|
AW: Vignette effect
19. Sep 2010, 11:48
Moin,
hast du sein Bugfix eingebaut:
Ok, working, but not exactly as should - darker should be near edges, not center as is now 
Hmm ,there is a little bug:
Delphi-Quellcode:
else if distance <= outer_radius then
// decreasing Brightness from 100% downto 0%
// result := (distance - inner_radius) / (outer_radius - inner_radius) // wrong
result := (outer_radius - distance) / (outer_radius - inner_radius)
MfG
Fabian
Fabian Eigentlich hat MS Windows ab Vista den Hang zur Selbstzerstörung abgewöhnt – mkinzler
|