Java2D advanced blending mode (multiply, overlay, divide, ...)

Hi everyone,
on a RFE I voted for, I read that new blending mode such as multiply, overlay, divide, lighten, etc will be optimized with Dolphin.
I am developing a full-screen java game and the AlphaComposite is sometime not sufficient to make the effects I need. I have been implementing the blending modes I need manually but this seriously decrease my frame rate. I would love seeing these "standard Photoshop/GImp" blending modes added to the optimization pipeline.
The proposal was to make use of pixel shaders leverage to achieve this in DOlphin.
Any news that could make me happy ?
Vince.

Noone has any info on the implementation of the advanced blending mode in Dolphin ?
For those who are interested in this topic, have a look at Romain Guy's Weblog, http://www.jroller.com/page/gfx?entry=new_blendings_modes_for_java2d
My concern is that this wonderful implementation by Romain Guy is not going to wor for me since my game fps would be seriously decrease if I break the hardware optimization pipelines. The openGL and DirectDraw pipelines are working really well and new optimized blending modes would definitely be valuable.
Vince.

Similar Messages

  • HELP:  Script to find: blending mode: Multiply

    Hi all,
    Trying to find of write a script that searches an Indesign CS4 document for anything set to blending mode multiply.
    Cant find anything on google..... Please help
    Thank you in advance
    Shot8

    Hi.
    try code below.
    I think it is unnecessary to select the objects
    var graphics = app.activeWindow.activePage.allGraphics;
    app.select(graphics); //=>  undefined. because select method return undefined
    // apply filter to each graphic
    var i = graphics.length;
    while (i--) {
      graphics[i].transparencySettings.blendingSettings.blendMode = BlendMode.MULTIPLY;
    thank you
    mg.

  • [svn:fx-4.0.0] 13428: Add mask and advanced blend mode support to SpriteVisualElement

    Revision: 13428
    Revision: 13428
    Author:   [email protected]
    Date:     2010-01-11 15:16:16 -0800 (Mon, 11 Jan 2010)
    Log Message:
    Add mask and advanced blend mode support to SpriteVisualElement
    SDK-24949 - Can't apply hue blend mode to FXG instance
    Copied blendMode and mask logic from GroupBase.
    QE notes: Add tests to SVE
    Doc notes: Update docs to mention mask and blendMode support
    Bugs: SDK-24949
    Reviewer: Pete, Ryan
    Tests run: checkintests, FXG
    Is noteworthy for integration: Yes
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24949
        http://bugs.adobe.com/jira/browse/SDK-24949
    Modified Paths:
        flex/sdk/branches/4.0.0/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as

    Hi Mathais,
    I assume you have installed the OPC enum services in the same machine where xMII UDS is running.
    Also make sure that the browsing mode is set to true in the OPC Server.
    We had the same issue...and were receiving the same error...but once we changed teh Browing mode at teh OPC server to true, tag quesries started working....
    Hope it helps...
    Pramod

  • Blending Mode (Multiply) Not Working

    Hello, I am working with CS6. I am attempting to add shadow to my text, which is a simple enough process. However, it doesn't appear as though my blending modes are working. Putting it on as a Multiply doesn't do anything to the solid shadow catcher. I have seen in the forum that some have had luck by changing the solid color, but this does not work for me. Any help would be greatly appreciated. Thanks!

    Sorry if I am not clear.
    It is in classic 3D. The solid plane has Material Options as such: Casts Shadows>off, Accepts Shadows>On, Accepts Lights>Off (and On, no difference). My text is set to cast shadows, Accept Lights>Off.
    As far as layers, I have only my Shadow Catch plane, the text, my clip, one camera. Ordered from top: Light, Shadow Catcher, Text, Clip.
    I am new to the forum, so if I can provide any more information that would be helpful to you, please let me know.

  • Blending Modes in Photoshop CS2

    I have 3 images all associated with each other. Image 'A' is made from images 'B' and 'C'. The three images were actually rendered in 3DS MAX as elements.
    So in photoshop image 'B' multiply(blend mode) image 'C' = image 'A' then
    image 'A' divide(blend mode) image 'B' = image 'C'.
    Is blend mode 'multiply' actually multiply? Which blend mode represents dividie?
    Thanks in advance.

    Maybe overlay or screen would be closer to what you want.
    If you would like to see how the blend modes work. Create a layer with black, 50% grey, and white on it. Duplicate the layer and invert it. This will flip the colors the opposite direction. Now with the top layer selected try the multiple, overlay and screen modes. While your at it go through the rest. On a PC when one blend mode has been selected you can use the up and down arrow keys to scroll through the modes.

  • Blending mode not looking correct

    Hey all. I'm using Photoshop CS6 on a Mac (OS X 10.8.2), and I've run into a wierd problem I've never seen before. I'm creating a seperate layer over a photo, and filling that layer with 50% gray. I then set that layer's blending mode to Overlay. When things are working correctly (and they always have in the past) setting the 50% gray layer to Overlay should render that layer invisible, and it should have no visual effect on the photo underneath. Suddenly this is not the case, and it looks like the grayscale in the photo beneath the gray layer is much brighter. What's really weird is that I tried to recreate this problem on a couple of other pic files, and the Overlay blending mode works fine there! So the problem seems to be only with this one file. Changing the file from CMYK to RGB seems to lessen the effect, but it's still present. I'm sure I'm missing something, but I'm totally stumped. Any help or ideas would be most appreciated. Thanks in advance!

    Well, here's a screenshot of my layers pallette, if that's any help. I'd be glad up upload any other setting shot that would help. Thank you.

  • How work this Blend Mode Mathematically ?

    hi,
    i need to know how work this Blend Mode :
    Layer, Overlay, Hard light, Add, Subtract, Difference,
    Invert, Alpha & Erase . Mathematically ?
    Regards
    Crimson

    AlMostabed wrote:
    > this like help u :
    >
    http://dunnbypaul.net/blends
    >
    > one more question mid-grey in RGB is (128 , 128 , 128 ).
    how i know
    > if the base color less or greater than mid-grey ??
    >
    > i know DARKER than mid grey will be less than 128 &
    LIGHTER than mid
    > grey will be higher than 128 but in each channels or
    what ?
    >
    > ok, ( 129 , 239 , 129 ) is lighter than mid grey and (
    127 , 101 ,
    > 123 ) is darker than med grey . right ? and ( 235 , 128
    , 107 ) is
    > darker or lighter then mid gray ??
    You need the L component of the HSL representation of your
    colour.
    http://en.wikipedia.org/wiki/HSL_color_space
    L=0.5*(Math.min(Math.min(r, g), b)+Math.max(Math.max(r, g),
    b))
    where r, g, and b are the components of the colour.
    Andrew

  • Strange multiply blend mode behavior.

    Hi,
    i am working on a project and i am surprised to find a strange multiply blend mode behavior.
    When i open a new blank document to try again the multiply behavior, all seems to work well.
    Is it possible that the document i am working on became corrupted ?
    I work on a 2012 Macbook Pro Retina 15", Mac OS X 10.8.5 and Photoshop CC 14.1.2.
    This is what i see :
    - Normal blen mode.
    - Multiply blend mode.
    Thank you for the help
    Regards.

    Ok, i found the solution by chance but it raises new questions.
    I stayed on the same document (because i thought that it could be corrupted) but made all the layers invisibles.
    I created a first Color Fill layer filled with 50% grey (as background) and just above an other Color Fill layer filled with white (as white paint).
    So i masked all the white color fill layer and just made 2 stokes.
    In normal mode, i got this which is normal.
    So, i chose the multiply blend mode and got this (which is again normal).
    P.S. : i am writing the end of the post in a second post because i am having problem to post screenshot...

  • Is there a way to get the result of using multiple blending modes in one object?

    Hello,
    I wonder if there's a way to merge multiple objects with blending modes to one object. Here is the example:
    On the left rhere are three objects with the same appearence but different blending modes(color dodge, normal, overlay), on the right they are overlapped, which are still three object. I'm looking for the way to have the same result as the right overlapped one, but as one object. Having the same multiple objects only for the result of color blending mode uses too much memory for my computer.
    Thank you for your help in advance.

    create one object: then in your appearance panel, duplicate the fill twice. Select the top fill and expand the sub menu, click on opacity, choose blending mode. repeat.
    G

  • CS4 bringing photoshop layered files into illustrator - blending modes

    Hello.
    I have a layered photoshop file that is being brought into illustrator. One layer is a drop shadow and is set to multiply within photoshop. The drop shadow is NOT an effect. It's just a plain layer of a drop shadow. When I bring it into illustrator it doesn't act as if it is set to multiply when placed over my illustrator object. I know it's easy enough to make the shadow within illustrator and set the blending mode there but I would like to know why this is not working.
    Thanks in advance for the help.
    -PB

    Illustrator's blending math is not the same as Photoshop's -- there will be differences if you import/export layered data between the apps.

  • How to Apply adjustment layers to multiple layers that have different blending modes ...

    How to Apply adjustment layers to multiple layers that have different blending modes  and keep the colours the same as the adjusment done?
    I work in Animation painting Backgrounds.  My files are sometimes upwards to 200+ layers.
    I will use adjustment layers to quickly balance colours and constrast on top of those many many layers.
    The only way that I know of how to apply adjustment layers it to every single layer  ( by applying I mean I need to get rid of the adjustment layers because we cant use them in production but i need the new colours be applied to all layers underneath ) in a psd is to manually do it By duplicating the adjusment layer 200+ times and  then merging each layer to one of those adjustment layers so that that layer can take the adjustment layers effect permanently.
    The issue is that Within Those 200 layers I have some layers set to Multiply or OVERLAY.    IT obviously wont apply the adjustment layer properly to those layers because those layer blend mode affect the layers under them. The colour wont be the same anymore in the spots that had the multiply blended mode.
    HEres an example of a simple File.  to show what i mean.
    https://dl.dropboxusercontent.com/u/3408266/ball%20layers.jpg
    https://dl.dropboxusercontent.com/u/3408266/ball.psd
    I have 2 adjustment layers up top.  I need to get rid of them by applying them to each layer! I cannot merge any of the layers. We need all those layers for production.
    I can apply the adjustment layers manually and this works GREAT for all Layers set to normal.  THey take on the colour change just FINE.
    However, The issue is that layer 6 and layer 4 are both set to mutiply and this screws up the colour once i apply the adjustment layers to each layer manually...
    How can i apply my adjustment layers to a file like this with some layers being set to multiply while keeping the layers exactly the same configuration  and The new colour taking efffect exactly how i looks before i apply the adjustment layers?
    Now the simple solution is to merge the multiply layers to the layer that it affects HOWEVER I NEED those multiply layers to be seperate! 
    I'm assuming what I want to do is impossible? Hope this isnt confusing.  As far as i know its impossible to do what I want it to do.  but just wanted to ask and see.
    I would REALLY REALLY love to talk to a adobe programmer/ technician/pro working at adobe about this.  Theres just no way to get in touch with anyone... =(
    any thoughts ?

    Sure... if you want to put it that way. Either way its not the desirable outcome. 
    its just frustrating that theres no way to apply adjustment layers to hundreds of layers while keeping them in the same configuration ( blendmodes,  layer order ,  without merging)  while keeping the same end result.
    works great if all your layers are set to normal though..    But I really need to keep shadow layers seperately and be able to adjust on the fly aswell as apply those adjusment to all my layers.
    I suppose that just isnt possible.   I understand the math required for this would be tremendous/ complicated if something like this would ever be implemented.  Would be nice if adobe could come up with some solution to this.  Its really a huge issue in my work flow and theres no alternatives.    How else can I adjust colours to 100+ layers  with a few clicks that lets me play around the the adjustment until im happy with the outcome.    Really wish i could adjust and the quickly apply that adjustment to all my layers regardless of blend mode.   LIke If the Layers with blendmode could somehow take the properties of the adjustment layer and keep adjusting those layers undereathe on top of that blended mode that its doing...   

  • Are FW blending modes preserved

    I have a colored gradient bitmap image in "heat" mode over a
    neutral black/gray image with white highlights, the latter of which
    I want to stand out. In FW it looks great... Can I export these to
    FL and expect the blending modes to remain intact?

    Paevo Kelley wrote:
    > I have a colored gradient bitmap image in "heat" mode
    over a neutral
    > black/gray image with white highlights, the latter of
    which I want to stand
    > out. In FW it looks great... Can I export these to FL
    and expect the blending
    > modes to remain intact?
    >
    I'm not sure about CS3, but as of Flash 8, these FW blend
    modes were
    supported:
    Darken
    Multiply
    Lighten
    Screen
    Overlay
    Hard light
    Add
    Subtract
    Difference
    Invert
    Erase
    I didn't hear much about the blend modes when CS3 came out,
    so chances
    are they are still the same. You can quickly check by Opening
    Flash and
    seeing if the mode you want is there. Generally, if the blend
    modes
    exists, it should work. Another option is to create a
    flattened copy of
    the blended image.
    Jim Babbage - .:Community MX:. & .:Adobe Community
    Expert:.
    http://www.communityMX.com/
    CommunityMX - Free Resources:
    http://www.communitymx.com/free.cfm
    .:Adobe Community Expert for Fireworks:.
    Adobe Community Expert
    http://tinyurl.com/2a7dyp
    See my work on Flickr
    http://www.flickr.com/photos/jim_babbage/

  • Blending Modes ("vivid light") in After Effects?

    I discovered that in After Effects CS6 (Win7) some blending modes seem to not work as expected.
    I have a bitmap with transparencies above another bitmap and want to blend it with "vivid light" - but the result is the same as if i had no blending mode selected at all. The same is for "hard light", "linear light" or "hard mix".
    Other blending modes like "multiply", "soft light" and "overlay" work just fine.
    Does anyone have an idea what is wrong with my After Effects?

    I'm sorry for not being as specific as requested in the faq. I thought it might be more helpful to reduce the problem description to the most relevant facts first, and see if it can be solved in a simple way.
    My former experiences with providing all existing information in the first post is usually met with no answers at all, because people think: WOAH! Too much information. ;-)
    Okay, I designed my video design in Photoshop CS6 first. This is how the design was supposed to look like - as it was composed in Photoshop.
    There are two layers:
    1. a pattern of semi-transparent patches on top and
    2. a blue gradient background
    the pattern (1) is composited with blending mode "vivid light" on the background (2).
    After I exported both layers as pngs (24bit alpha) and imported them in After Effects and used the same settings as in photoshop, I got the following:
    As you can see, I used "vivid light" as blending mode, but it looks exactly as if blending mode "normal" was used.
    The render quality is set to final quality.
    The same happens with blending modes "hard light", "linear light" or "hard mix" (i guess, you don't need screenshots, because they all look the same)
    But other blending modes like "multiply", "soft light" and "overlay" work fine (in this case I used "overlay"):
    So, the problem is: Why do some blending modes not work, while others work?
    BTW: I also tried to import the PSD directly into After Effects with all layers retained, in case something was wrong with the pngs, that I exported - but the imported PSD produced exactly the same error. So, no difference there.
    Now for all the questions from the faq.  - i think most of them will not help to identify the issue, but i will try and answer all of them:
    What version of After Effects? Include the minor version number (e.g., After Effects CS5.5 with the 10.5.1 update).
    CS6 (11.0.2)
    Have you installed the recent updates? (If not, you should. They fix a lot of problems.)
    yes, I have
    What operating system? This should include specific minor version numbers, like "Mac OSX v10.6.8"---not just "Mac".
    Windows 7, 64bit latest version, all updates installed
    What kind(s) of source footage? When telling about your source footage, tell us about the codecs, not just the container types. For example, "H.264 in a .mov container", not just "QuickTime".
    any footage. it's regardless of what footage I use. in this special case it was 2 pngs (24bit alpha) - see above.
    If you are getting error message(s), what is the full text of the error message(s)?
    there is no error message
    What were you doing when the problem occurred?
    see above
    Has this ever worked before? If this worked before by doesn't work now, what has changed on your computer in the intervening time?
    it's the first time I tried
    What other software are you running?
    mainly software like Google Chrome or Microsoft Office - I'm not sure they have anything to do with the problem
    Do you have any third-party effects or codecs installed?
    I have Magic bullet looks installed, but since I don't use it in this project, I don't think it's got anything to do with the problem
    Tell us about your computer hardware. Include CPU type and number of processor cores, amount of RAM installed, GPU, number of disk drives, and how any external drives are connected.
    Intel something, 6 cores, 12GB RAM, and NVIDIA GTX 590 graphics card, (driver 306.97)
    Do you have any third-party I/O hardware (e.g., AJA, Matrox, Blackmagic, MOTU)?
    no
    Are you using OpenGL features in After Effects?
    I don't know.. I thought OpenGL in CS6 is all automatically and can not be turned off or on?
    but i switched quality to "final render".
    Does the problem only happen with your final output, RAM preview, or both?
    everywhere
    Are you using Render Multiple Frames Simultaneously multiprocessing?
    yes. but if I turn it off, nothings changes
    What is the exact sequence of steps that you are taking?
    see above
    hope this helps

  • "Normal" blend mode for layering in multi-input PB kernel

    Hello all-
    I'm sure there's a dead simple solution to this problem.  I've been trying to build a simple composite node for a PB Graph that takes three inputs, maintains transparent areas in the "top-most" layer (Layer 1), 50% opacity overall for the middle layer (Layer 2) and 100% opacity for the bottom layer (Layer 3) without applying mathematical blending (like multiply or linear dodge blend modes).
    If someone could point me in the right direction with regards to "Normal" blend mode (as in Photoshop), I would be much obliged...
    Thanks in advance!
    Regards,
    Henry

    The PDF Reference Manual gives the formulas for many of Adobe's blendmodes so start there:
    http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/pdf_referenc e_1-7.pdf.
    Of course it never hurts to go back to Porter-Duff:
    Compositing Digital Images.

  • Blending Mode issue

    Hello All,
    I recently had to reinstall my CS4 suite.  Now 3 of the Blending modes do not behave as they have in the past.
    Now Classic Color Burn, Classic Color Dodge and Soft Light each change the appearance of the clip (see attachment) even though its the only layer.
    However, when there is another layer underneath, the Classic Color Burn looks like Color Burn and Classic Color Dodge looks like Color Dodge, and Soft Ligth is a little different than Overlay, just as they were working in the past.
    Its my understanding that if you apply a blending mode to a layer and there is no other layer beneathe it, there should be no change in the appearance of that layer.  Except the application of Stencil/Silhouette Alpha or Luma will make the layer dissappear if there is nothing on beneath it..
    I just need to know that my software was installed properly, and everything is as its supposed to be or do I need to re-install.
    Thanks in advance
    CS4 (AE 9.0.3) on a Mac OS 10.6.8 

    OOPS..... here's the attachments
    The Image
    With Classic color Burn applied
    with Class color Dodge applied
    with Soft light applied

Maybe you are looking for

  • What Quicken programs will work with OS 10.8?

    Just downloaded the new Mountain Lion 10>8 and find i cannot use my Quicken for MAC 2005. Any fix?  I know that MAC essentials is not work the a plugged nickel.  It is extremely basic.  i hve over 15 years of investment data on my Quicken files so am

  • Powerline/Homeplug Issues with Homehub 5

    Hello all, Having an intensely annoying intermittent issue with Powerline adapters & HH5. Set up is: BT Broadband Extender flex connected to HH5 upstairs with a BT Wifi Home Hotspot downstairs (just to increase wifi coverage) TP Link TL-PA211 Powerli

  • Extending LOV that is used in multiple places

    Hi, I am planning to extend organization VO in iRecruitment (vacancy creation) to restrict the LOV based on organization type. This LOV is very common and is using in multiple places in he application. I am new to this and i need to know that by exte

  • How do I get rid of tags blue.kai

    Playing words with friends and screen flips to safari blank screen with tags blue.kai n address bar. How do I address this

  • Firefox suddenly has a new "yahoo" tab that I do not want.

    I just installed Firefox 8 over 7.0.1, and there is suddenly a new tab, apparently for searching, marked "Yahoo." How do I get rid of it?