Page 1 of 2
FLOW transition bug with alpha channel
Posted: Sun Mar 15, 2020 1:38 pm
by lazi
My daughter started to learn Hollywood, and found a bug
DisplayBrushFX with #FLOWBOTTOM displays garbage when the brush has an alpha channel transparency and bigger than the display size.
All the flow transition types are affected.
She found it on windows, but the same happens on OS4 too.
Re: FLOW transition bug with alpha channel
Posted: Mon Mar 16, 2020 9:53 am
by Juan Carlos
WoW the new Amiga generation start strong. Well and congratulations for your daughter.
Re: FLOW transition bug with alpha channel
Posted: Mon Mar 16, 2020 7:54 pm
by lazi
Thanks! She is my third attempt

The first and second are wintel users, but respects Amiga!
Re: FLOW transition bug with alpha channel
Posted: Tue Mar 17, 2020 12:30 am
by airsoftsoftwair
@lazi: I'm lazy, do you have a script?

Re: FLOW transition bug with alpha channel
Posted: Tue Mar 17, 2020 12:05 pm
by lazi
As you wish!
Code: Select all
@DISPLAY 1,{fillstyle=#FILLGRADIENT,gradientstyle=#LINEAR,gradientstartcolor=#RED,gradientendcolor=#YELLOW}
TextOut(#RIGHT,10,"Ok lazy boy!\nHere is the flow with a 640x480 brush")
CreateTextObject(1,"Amiga")
ConvertToBrush(#TEXTOBJECT,1,1)
ScaleBrush(1,640,480,True)
DisplayBrushFX(1,#CENTER,#CENTER,{type=#HFLOWTOP,speed=3})
TextOut(#RIGHT,50,"Now press LMB!")
WaitLeftMouse
Cls
ConvertToBrush(#TEXTOBJECT,1,1)
ScaleBrush(1,650,490,True)
DisplayBrushFX(1,#CENTER,#CENTER,{type=#HFLOWTOP,speed=3})
TextOut(#RIGHT,10,"Can you see the problem?")
Repeat
WaitEvent
Forever
Re: FLOW transition bug with alpha channel
Posted: Wed Mar 18, 2020 12:19 am
by airsoftsoftwair
Ok, I can see this. Was this written by your daughter?

Re: FLOW transition bug with alpha channel
Posted: Wed Mar 18, 2020 5:51 pm
by lazi
She just have tasted what does it mean programming (12 years old), but we discussed it throughfully.

Re: FLOW transition bug with alpha channel
Posted: Sat Mar 21, 2020 12:36 pm
by airsoftsoftwair
So when this is fixed I'll credit her by adding "reported by lazi's daughter" in the Hollywood history

Re: FLOW transition bug with alpha channel
Posted: Sat Mar 21, 2020 11:44 pm
by lazi
She will be glad for this!

Re: FLOW transition bug with alpha channel
Posted: Sun Aug 23, 2020 11:47 am
by airsoftsoftwair
Code: Select all
- Fix: #HFLOWXXX and #VFLOWXXX effects caused pixel trash when used with graphics that required clipping
and layers were turned off (reported by lazi's 12 year old daughter)