Mirror effect with Brush

Find quick help here to get you started with Hollywood
Post Reply
User avatar
Juan Carlos
Posts: 933
Joined: Mon Sep 06, 2010 1:02 pm

Mirror effect with Brush

Post by Juan Carlos »

Hi, I'm working in a single program to handle pictures and I'm working with the mirror effect with the pictures with brushes, I work with the instruction TransformBrush(id, sx, rx, ry, sy, smooth) and well, I tested to the sx, rx, ry, sy only work fine with math instructions cos and sin, and I only got with TransformBrush(1, -Cos(360), Sin(360), Sin(360), -Cos(360), smooth) did to altmos the mirror effect, with other variants to angles and + or - the cos and sin give other rotations but not mirrors, and with the options to rx and ry to 0 the brush only makes the mirror to 180º and with poor quality, how correct this effect?
jalih
Posts: 281
Joined: Fri Jun 18, 2010 8:08 pm
Location: Finland

Re: Mirror effect with Brush

Post by jalih »

How about using FlipBrush() function for mirroring?
User avatar
Juan Carlos
Posts: 933
Joined: Mon Sep 06, 2010 1:02 pm

Re: Mirror effect with Brush

Post by Juan Carlos »

Uffss, jalih, it entered inside my mind the TrasformBrush to do the rotate that I forget other ways, thank you jalih for the help.
User avatar
Juan Carlos
Posts: 933
Joined: Mon Sep 06, 2010 1:02 pm

Re: Mirror effect with Brush

Post by Juan Carlos »

Thank you jalih with FlipBrush I did it, my few free time and programming to fast in this little time have this problems.
Post Reply