Login | Register 
Products Applications Downloads Features Wiki forum Store
 

Blending Modes Component

Share your components here. First one to 100 wins!

Blending Modes Component

Postby jeffers » Mon Mar 09, 2009 7:34 pm

In celebration of being able to post on the boards I decided to make something :)

Its a component offering more blending modes. There is some overlap with the Composite TOP and other Touch Operators, tho there is new stuff too. Negate, Luma Mix and Subtractive (amongst others) are pretty nice!

Pick it apart, or if its any good maybe just roll the remaining ones with the Composite TOP. If thats possible.

Caveats
Some of the code seemed a bit suspicious, so I changed some things. I hope for the better, but I'm sure I wrangled something or maybe many things. 'Dodge' is for sure not working right.... I'll see if I can fix that. I 'corrected' some Modes by adjusting Alpha levels, so that might be a large mistake. Also need to double check the Modes I'm unfamiliar with, like Freeze and Heat. I think those are Adobe Fireworks/Flash Modes? need to see some examples to see if they are rendering correctly. They look pretty cool now, so maybe if they are wrong they can be something else.

TUIK is pretty sweet. Fast and simple, HUGE improvement. I did notice some inconsistencies in the behavior of the Horizontal Sliders. Sometimes I couldn't pick and move the slider, other times I couldn't click in the bar and get an updated value. At first I thought it was just because the playbar was stopped, but then later I had intermittent issues as well. Anyone else finding this?

Anyway, just a small project to help learn TUIK and figure out how to import and build GLSL TOPs.
jeffers
 
Posts: 78
Joined: Wed Nov 14, 2007 1:31 pm

Re: Blending Modes Component

Postby snaut » Tue Mar 10, 2009 5:50 pm

Very nice collection of Shaders.

Concerning the slider problem - yes - I have the same thing sometimes and found that these come from scripts apparently not cooking since just entering the network of the slider will make it work.

cheers
markus
User avatar
snaut
Staff
 
Posts: 325
Joined: Mon Nov 12, 2007 5:21 pm
Location: Toronto

Re: Blending Modes Component

Postby snaut » Wed May 20, 2009 1:02 pm

Fixed the TUIK related errors.

blendingmodes.jpg
blendingmodes.jpg (10.53 KiB) Viewed 3177 times
User avatar
snaut
Staff
 
Posts: 325
Joined: Mon Nov 12, 2007 5:21 pm
Location: Toronto

Re: Blending Modes Component

Postby jeffers » Tue Aug 25, 2009 1:49 am

Updated Blending Modes

All the blending modes now conform precisely to blending modes from Photoshop/After Effects/Fireworks.

I streamlined the interface a bit. There is only one Slider for the 'Amount' of the blend, 0=off and 1=on. Easy to add back individual color channel controls if you want.

I eliminated all the Alpha and Luma blends. Alpha is still supported for remaining modes.

Code is now a lot simpler, so poke around and change values to create new modes. The last two, Y Film and Z Film are two examples of tweaking/breaking the other modes.

Thx Markus for getting this set with new TUIK!

Jeffers
Attachments
blending_modes_new.tox
(22.01 KiB) Downloaded 240 times
jeffers
 
Posts: 78
Joined: Wed Nov 14, 2007 1:31 pm

Re: Blending Modes Component

Postby ben » Tue Aug 25, 2009 12:00 pm

This is great, thanks for posting!
User avatar
ben
Staff
 
Posts: 865
Joined: Thu Nov 08, 2007 5:55 pm
Location: Toronto

Re: Blending Modes Component

Postby greg » Tue Sep 08, 2009 1:26 pm

One question about Blending Modes in the Adobe tools. Where do the modes that use alpha come in, like over, inside, outside, ... seems like all these blending modes don't use alpha..
User avatar
greg
Staff
 
Posts: 291
Joined: Tue Nov 13, 2007 12:08 am

Re: Blending Modes Component

Postby jeffers » Tue Sep 08, 2009 7:02 pm

ahhh. Thanks Greg for pointing this out. I realized that I left the output comped over a solid, so any images with alpha were nullified. This is fixed in the version here.

Its strange because the only two Blending Modes left in AE/PS/FW that explicitly mention Alpha are After Effects Stencil Alpha and Silhouette Alpha. Neither Inside nor Outside modes exist in any of these products (Im using version CS4). It used to be different in previous versions, tho for some reason Adobe choose to remove many Blending Modes with Alpha.

Functionality-wise everything is set now. You can use any blending mode and alpha is passed along the chain.

Not sure how to show alpha in the Viewer Panel (always comped over a solid, is there a way to alter this?), tho the output looks fine.

Thanks again for mentioning this,

Jeffers
Attachments
blending_modes_with_alpha.tox
(22.12 KiB) Downloaded 220 times
jeffers
 
Posts: 78
Joined: Wed Nov 14, 2007 1:31 pm

Re: Blending Modes Component

Postby rs3dtouch » Mon Jul 05, 2010 6:04 am

Hey Jeffers,

seems the drop-down list is very pixellated in current Touch version,
do you experience the same?

Best, Rob
rs3dtouch
 
Posts: 13
Joined: Tue Mar 30, 2010 10:49 am

Re: Blending Modes Component

Postby ben » Mon Jul 05, 2010 7:58 pm

Which build are you using Rob?
User avatar
ben
Staff
 
Posts: 865
Joined: Thu Nov 08, 2007 5:55 pm
Location: Toronto

Re: Blending Modes Component

Postby rs3dtouch » Tue Jul 06, 2010 8:38 am

Current experimental build 6064... Thanks!
rs3dtouch
 
Posts: 13
Joined: Tue Mar 30, 2010 10:49 am

Next

Return to Shared .tox Components

Who is online

Users browsing this forum: No registered users and 0 guests

cron