Stage3D blend equation

I see a way to set the blending mode like the glBlendFunc in OpenGL, but I don't see any way to set the equivelent of a glBlendFunction.  I wonder if this will ever be supported?  Would only require one more function, with some settings.  It would be helpful to create blend mode effects like subtractive blending.  Say if I wanted to subtract the source color from the destination color. 
Recently I have been learning about shaders, and didn't realize that they have no influence on the blending the source and destination colors part of the graphics pipeline, which means blending options are rather limmited. 
I wonder if there is a workaround, say like, using a texture as a frame buffer and using it as an input texture to a shader.

Hi,
There are some issue rendering on Intel Mobile Series GPU in the Incubator build.  It seems there is also some issues running with acceleration with other hardware too on Linux.  One user found that setting context3D.enableErrorChecking = true in his tests remedied the problem (http://forums.adobe.com/thread/797994?tstart=0).  If you happen to be writing any code for the MoleHill api, would you mind checking to see if this works?
If not then I will report back when we have fixed the issue and see if that allows you to run in hardware.
Thanks.

Similar Messages

  • Equation on a wave with photoshop cs6

    Hello,
    i have a little problem making an easy thing:
    I created a text which follow a wave (a sinusoïd) in an image.
    I would like to do the same with an equation.
    I tried it the following way:
    I edit my equation with latex and make a pdf.
    I import my pdf in cs6.
    I make a deformation of my pdf to follow the wave.
    The problem with this methos is all the char are deformed and the equation is no more readable.
    Any idea to solve this problem?

    sdp06 wrote:
    This is not really perfect yet but in the end i like the deformation.
    I will probably change it again as i m working on another part of my document at the moment, i will finish this part a bit later.
    As you can see there is high deformation at the begining and at the end.
    I used multiple times the "flag deformation" and adjut with a free transorm.
    I didn't pass too many time to reduce deformation, i thing a better result can be done if i spend some times but as i said i like the dynamic it gave, i will probably keep some, for the symbol, anyway.
    Don t pay attention to the equation it's just here to test the form.
    Thanks.
    Hmmm...  It looks great in the middle section, but that shear distortion at the ends is not so great.  It would be nice if everything could be kept perpendicular to the imaginary line of the sine wave, but I can't think of a neat and tidy solution.  What you could do is to break the equation into sections, and apply apropriate oposite shear distortion to the parts > join them up again, and then produse the flag distorion.  
    OK, here's another quick and dirty fix. 
    I took your bitmap image above, and FT'd it vertically to increas the waves amplitude.
    Copied the layer > offset it and changed blend mode to Darken to give two full cycles of the wave, but there was heaps of shear distortion as you'd expect.
    So I selected one slope of the waveform > copied it to a new layer > used FT holding down the Ctrl (Cmd key to reshape the contents and remove the shear distortion.
    Repeated the above for each arm, and each high and low peak of the wave form.
    Flaterned the layers, and used Levels or Curves to increase contrast.
    It would look much better with a short equation. which would have a lot more detail.

  • Luminosity/Color blend modes - what do they really do?

    I know what the documentation says that they do, but it doesn't appear to be the truth. For example, if I take my image and overlay it with a 50% gray layer set to Luminosity mode, I would expect to see the hue and saturation of my image, with the luminosity of every pixel set to 50%, but that isn't what actually happens.
    Have I misunderstood what these modes are supposed to do? Can anyone enlighten me?
    Thanks in advance,
    Aaron

    Aaron,
    The weighting factors for R G and B were determined long ago via subjective responses in tests on thousands of people. there have since been other recommended weights. No set of weights is valid over the whole range of color values. In an imperfect world you compromise. Nowhere is it explicitly stated, but Photoshop has stuck with the older weights. You can verify that for yourself using the Info palette. Other applications may use other luminosity definitions. Also in Photoshop, Brightness is taken to be the highest of the R G and B color values. I think you were equating brightness and luminosity. They are decidedly different parameters. Nor is Luminosity the same as the L parameter in LAB (most often called "Lightness" but often "Luminance"). You won't find that LAB Lightness is preserved by the Luminosity blend and certainly not Brightness. Using the Info palette, you can also see that the Luminosity blend mode retains the hue and saturation of the base while adopting the luminosity of the blend color.

  • Blends: Difference between open and closed paths modifying spine

    Okay, just had a discovery today about the blend tool.
    The difference between closed paths and open paths is critical when you want to modify a blend spine, such as make it curve. Between open paths, there is no spine shown when a blend is created. Ever notice this? Between closed paths, there is a spine, which can be modified, such as making it curved. Now, the trick is how to modify a spine with open paths when there is no spine shown. Found out today that starting with a closed path, segments can be deleted to make the path open, then the spine can be modified and the open path state maintained!
    This is a huge bug in Illustrator and makes no sense to me. Wanting Adobe to fix this in the next major release. Hope this helps anyone struggling with this issue.

    One thing you should be aware of concerning open ended splines:
    It makes an enormous difference as to how the blend behaves whether the endpoints have handles or not.
    Give them handles and you will find that you can alter the distribution of the blend objects just by adjusting the handles or by dragging on the spline itself.
    Give it a try.

  • Events are missing in the calendar in Month view in Blend

    Type :
    Bug
    Initial condition :
    The blend software is running. The calendar view is opened.
    Action :
    Select the month view.
    Expected result :
    All events are displayed for each day.
    Obtained result :
    The events of the previous month are missing.

    Having the same problems where the UI elements are missing in the layout screen.
    using the Show/Hide layout Preview Button  I get an Program cannot  display the web page.
    The server is on a different box . Tried running the sapgui  from a vista machine and a xp machine and they both have the same problem.
    If I run Sapgui on the server box the Show/Hide layout Preview Button  does show a subset on the ui elements but not all the examples described in the "ABAP Trial Version for Newbies: Part 18 - Starting with Web Dynpro for ABAP"
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414900)ID1299772950DB10354599868941910736End?blog=/pub/wlg/6973
    Thanks in advance.

  • My blends in Illustrator CS4 are not saving or printing correctly.  Why?

    Why are my blends in Illustrator CS4 not saving or printing correctly???
    SPECS:
    Adobe CS4
    MAC 10.5.8
    I got a outlined Text blend with a drop shadow.  And another text with a drop shadow on top.  Not too complex at all.
    Heres some screenshots of the problem.
    (1) Adobe Illustrator Screenshot
    (1) Screenshot of my saved TIff file.  I saved as a PDF as well and still no luck.
    Any suggestions?

    Mylenium,
    Thanks for you time and suggestions!  You helped alot!  My layers panel was crazy.  I re-arranged, re-organized and stacked according to the graphic.  Solved my problem first try.  Not used to making sure the order is right in illustrator, only in photoshop.
    Thanks again man!
    -NightRed

  • Photoshop gives, Program Error, when attempting to use blending options in RGB

    This problem started today when i tryed to throw a drop shadow on a layer. in RGB mode.  "Program Error," appeared and would not let me access any Blending options.  Although, in cmyk mode it works perfectly fine.  Was some hotkey hit on accident or has something gone wrong?  Help!
    Adam
    Adobe Photoshop CS6 Version: 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00) x64
    Operating System: Windows 7 64-bit

    Hmm.
    Can you tell us more about what you're doing and what sort of document(s) you are using?

  • Query help - Using Alias in column equation

    Hi All,
    I have selected some data as an alias and would like to refer to the alias in another equation column. I cannot figure out how to do this correctly.
    Here is my full query below, with a NULL called '3 Mnth Average' column because I am unsure how to reference the Alias and data type correctly for the required equation.
    For example, I want to return the '3 Mnth Average' result being the '3 Mnth Total' Alias divided by 3.  ('3 Mnth Total'  / 3).... Every time I try... i fail.
    Any help would be most appreciated.
    Best regards,
    John
    SELECT T0.ITEMCODE, T0.ITEMNAME,
    Cast((T0.ONHAND - T0.IsCommited) As INT) As 'Available',
    Cast(T0.ONHAND As INT) As 'In Stock', Cast(T0.IsCommited As INT) As 'Committed',
    Cast((SELECT SUM(T1.[Quantity]) FROM INV1 T1 WHERE T1.ITEMCODE = T0.ITEMCODE
    AND DATEPART(mm,T1.[DocDate])  >= DATEPART(mm,getdate())-3
    AND DATEPART(mm,T1.[DocDate]) <= DATEPART(mm,getdate())) As INT) As '3 Mnth Total',
    (NULL) As '3 Mnth Average',
    CAST ((SELECT SUM(T1.QUANTITY) FROM INV1 T1 with (NOLOCK)
    WHERE MONTH(T1.DOCDATE) = 1 AND T1.ITEMCODE =
    T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())) As INT) AS 'JAN QTY',
    (SELECT SUM(T1.QUANTITY) FROM INV1 T1 with (NOLOCK)
    WHERE MONTH(T1.DOCDATE) = 2 AND T1.ITEMCODE =
    T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())) AS 'FEB QTY',
    (SELECT SUM(T1.QUANTITY) FROM INV1 T1 with (NOLOCK)
    WHERE MONTH(T1.DOCDATE) = 3 AND T1.ITEMCODE =
    T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())) AS 'MAR QTY',
    (SELECT SUM(T1.QUANTITY) FROM INV1 T1 with (NOLOCK)
    WHERE MONTH(T1.DOCDATE) = 4 AND T1.ITEMCODE =
    T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())) AS 'APR QTY',
    (SELECT SUM(T1.QUANTITY) FROM INV1 T1 with (NOLOCK)
    WHERE MONTH(T1.DOCDATE) = 5 AND T1.ITEMCODE =
    T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())) AS 'MAY QTY',
    (SELECT SUM(T1.QUANTITY) FROM INV1 T1 with (NOLOCK)
    WHERE MONTH(T1.DOCDATE) = 6 AND T1.ITEMCODE =
    T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())) AS 'JUN QTY',
    CAST ((SELECT SUM(T1.QUANTITY) FROM INV1 T1 with (NOLOCK)
    WHERE MONTH(T1.DOCDATE) = 7 AND T1.ITEMCODE =
    T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())) As INT) AS 'JUL QTY',
    CAST ((SELECT SUM(T1.QUANTITY) FROM INV1 T1 with (NOLOCK)
    WHERE MONTH(T1.DOCDATE) = 8 AND T1.ITEMCODE =
    T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())) AS INT) AS 'AUG QTY',
    CAST ((SELECT SUM(T1.QUANTITY) FROM INV1 T1 with (NOLOCK)
    WHERE MONTH(T1.DOCDATE) = 9 AND T1.ITEMCODE =
    T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())) As INT) AS 'SEP QTY',
    (SELECT SUM(T1.QUANTITY) FROM INV1 T1 with (NOLOCK)
    WHERE MONTH(T1.DOCDATE) = 10 AND T1.ITEMCODE =
    T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())) AS 'OCT QTY',
    (SELECT SUM(T1.QUANTITY) FROM INV1 T1 with (NOLOCK)
    WHERE MONTH(T1.DOCDATE) = 11 AND T1.ITEMCODE =
    T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())) AS 'NOV QTY',
    (SELECT SUM(T1.QUANTITY) FROM INV1 T1 with (NOLOCK)
    WHERE MONTH(T1.DOCDATE) = 12 AND T1.ITEMCODE =
    T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())) AS 'DEC QTY'
    FROM dbo.OITM T0
    LEFT JOIN dbo.INV1 T1 ON T1.ItemCode = T0.ItemCode
    WHERE T0.SellItem = 'Y'
    GROUP BY T0.ItemCode, T0.ItemName, T0.OnHand, T0.IsCommited, YEAR(T1.DOCDATE)
    HAVING YEAR(T1.DOCDATE) = YEAR(GETDATE())
    ORDER BY T0. ITEMCODE

    Hi John,
    If you are not using temporary table, you have to rewrite complete formula to get 3 month average. There is no way to reference within the same query.
    Thanks,
    Gordon

  • Extracting math equation from applet.

    http://www.saltire.com/applets/advanced_geometry/area_theorem_executable/area_theorem.htm
    I need to find the equation they are using in that applet to find the area of PQR. I tried downloading the class file and opening it up in JCreator, but it's all messed up.
    Any help?
    -sachit

    MLRon, I used Heron's formula to get the area of the triangle connecting the centers of the circles. But now I have to find the area of the triangle connecting points of tangency.
    http://mathworld.wolfram.com/t1img218.gif
    Using the left diagram in the picture as a reference... I need to find a way of solving the area of triangle CaCbCc, if given the radius of the three tangent circles.
    Using Heron's formula, I can solve area of ABC, but my goal is to prove the ratio of the two triangles to be
    2pqr/(p+q)(p+r)(r+q) , when r,q,p are CaCbCc

  • I'm having a problem with fractions and Mathematical Equations

    Hi I'm to write fractions in pages like I can write ¾ as a single caracter but if i need franction over ⅞ I can just write them like 1/9 I can just write as 1 divided by 9 and not as a signle character. And i would like to write fractions like 1/36 o 1/72 as a single caracter.
    second problem is that i know that I can insert Mathematical Equations doing Insert>Mathematical Equations but under Inster I don't have any Mathmetical Equations..... Any suggestions?
    Thanks, luca

    Hi Luca,
    You can write fractions as single characters only using those single character fractions available in the character set you are using. For the 'standard' unicode set, the available "vulgar fractions" include the denominators from 2 to 8, with all numerators necessary to write fractions from 1/8 to 7/8, reduced to the lowest denominated equivalent.
    The three missing fractions, 1/2, 1/4 and 3/4 are in row 00B0 of the table, where they were (and are) part of the earlier, smaller ASCII set.
    Other common fractions ('vulgar' if you prefer the Latin name) can be written using the solidus, a zero-width character (shift-option-1 from the keyboard): 13⁄17
    In the example, all five characters are set to the same height,
    13 is set to Format > Font > Baseline > Superscript
    17 is set to Format > Font > Baseline > Subscript
    If you have many of these to enter, it may be worth your while to create a separate document containing a large selection which you can copy and paste into your documents
    Regards,
    Barry
    EDIT: Formatting of the 13/17 example above appears to be badly interpreted by the forum software. Try it in pages for a better idea of how it should look.
    Message was edited by: Barry

  • Custom Keyboard Shortcuts Not Working In Layer Style / Blending Options Dialogue Box (Mac OS 10.6.8)

    In the Layer Style / Blending Options dialogue box, my custom Keyboard Shortcuts to zoom in and out of the image is no longer working. Cmd+opt+shift+1 acts as cmd+1 (jumps to Drop Shadow), and cmd+opt+shift+0 acts as cmd+0 (jumps to Stroke). Outside of this box the commands seem to be working fine.
    Example 1: Create a new RGB document, cmd+j the background layer, double-click this layer to open the Layer Style / Blending Options dialogue box, mash Cmd+opt+shift+1.
    Result 1: The dialogue box shift focus to the Drop Shadow Options instead of the image zooming in to 100%.
    Expected Result 1: The image should zoom to 100%.
    Example 2: Create a new RGB document, cmd+j the background layer, double-click this layer to open the Layer Style / Blending Options dialogue box, mash Cmd+opt+shift+0.
    Result 2: The dialogue box shift focus to the Stroke Options instead of the image zooming to “Fit on Screen”.
    Expected Result 2: The image should zoom to “Fit on Screen”.
    This same thing happened in the CS5 Beta, and it was quickly fixed, so I hope this is not a complicated issue.
    Thanks, and keep up the wonderful work!
    Jacob
    Mac OS X 10.6.8 on a 3.33, 6-Core MacPro5,1 with 16GB RAM w/ separate Scratch Disks & ATI Radeon HD 5870

    Hi,
    If you are experiencing issues with Software Update you could try the Combo Update:
    http://support.apple.com/kb/DL1399
    Cheers,

  • Show blending path even for two open shape blends

    With the Blend/Gradient Shape tool (W) i can turn a orange square into a green circle or a horizontal line into a vertical line. Beautifull, lots of available effects.
    One nice thing is that you can edit and bend the path between the shapes to give them the direction you want, or a smoother movement.
    Except if you only traced two open paths. In that case, illustrator assumes you want to build a straight gradient, and shows you no path between.
    The only way i've found to actually display that path was to build a 3 strokes gradient, and remove the third stroke.
    Is there an option to display that blending path ?
    Can we have one by default on any blending, even open path ?

    Try to reset your iPad then force close the mail app
    Reset
    Hold down the sleep and home keys for about 20 seconds. When you see the silver apple, let go and let it reboot. No data will be lost.
    Force close an app
    Double tap the home button. When you see the app previews on the screen scroll sideways if needed to get the preview in question on the screen. Flick that preview up and off the screen to close the app. Single tap the home button or home screen preview to exit the mode.
    If neither of those work you may want to go into the settings, mail, contacts and calendars, delete your mail account (it only deletes it off your iPad, doesn't delete it from existing), then exit out, go back in and re-add the info. See if that helps to clear things up.

  • Having problem with blending arcs together

    Hi Jochen!
      I'm developing a 3-axis plasma cutter software. It's uses g-codes for calculating the path of motions and using blend function for continous moves. Everything works fine including continously blending short straight line moves, but sometimes blending arcs resulting high following error. Mainly when i try to blend little arc segment with a big one. This problem doesn't occur when i set blend factor to 0. I tried many different trajectory and arc parameters with the "Sequence of Blended Lines and Arcs.vi" example, but it resulted the same effect. With some trajectory parameters i can blend the short arc segment with the big one without following errors, but i still don't know what causes this problem. This situation is same on two different cnc machine. One of them is using 1 servo and 2 stepper axis in closed loop with different encoder resolutions. The other one is using 3 stepper axis with different step/rev in open loop. The effect is the same. Blending little arc with a big one (approximately r1:r2=1:8), resulting following error and the motors jumps a little.
    - PCI-7340, umi-7774
    - LabView 8.5, Motion 7.6
    Waiting for hints! Thank you!

    Nandi,
    sorry for the late response, but I have had to gather some equipment first to reproduce this behavior. I have setup a very similar system with a servo and a closed loop stepper and I have used your code for a test.
    The bad news is, that I couldn't reproduce the problem. First I have worked with two servos but I couldn't see a significant following error with those, but in fact I wouldn't have expected a sustaining following error with a servo at all, as servos can compensate following errors during the moves.
    In a next step I have used a servo and a closed loop stepper but I have seen the same result. No significant following error during the move. I have also switched the X and Y axes, but there was no change. I have also played around with the other move parameters but again, no significant following error.
    With this said, I don't think that we are facing a general issue here that is related to 73xx motion control boards.
    To me this looks more like an issue that is related to problems with load inertia and high acceleration values. In fact if you reduce the radius of an arc but keep the vector speed, the forces become higher and in your case they seem to become too high for the stepper motors. A stepper motor can't compensate step loss during the move. That's why you see this constant following error.
    I hope this analysis hits the bull's eye.
    Kind regards,
    Jochen

  • Pause in blend motion routine

    I am using a blend motion routine (derived from the example that ships with the board) to blend 3 sets of x-y points on two axes on a PCI-7344. The rountine works great except when I ask for movement in only the x direction or only the y direction. In both cases there can be pauses of 3 seconds or more between blend moves. If I have movement in the x and y direction, then there is never a pause. Why would this occur? For example if I am at 0,0 and the next set of points to belnd through is 100,0, then I will get a pause. However, if I the next point is 100,100, then there will be no pause. The stepper motors are being run closed loop at 10,000 steps/rev with 10,000 counts/rev on the encoders.

    With blend factor 0 the axes decelerate to a stop and start the next move immediately after that. With blend factor -1 the acceleration phase of the next move starts as soon as the deceleration phase of the first move begins. In this case the axes don't stop between each move which is the main reason why blending is used. The disadvantage of this method is the fact that corners in the move profiles get rounded. The degree of this rounding depends on the acceleration/deceleration values.
    Here is one possible scenario why the wait occurrs:
    A short move is executed and during this move you load new trajectory parameters but this process isn't finished by the time you send the new blend command. In this case the move decelerates to a stop. In thi
    s case the 7344 tries to reach exactly the target position you have specified for the move. As the resolution of your encoder is very high there is a good chance that the target position isn't reached exactly. Thus the board starts some pull-in moves until the position is reached (by default after three pull-in moves the board gives up). If your program would have been able to send the next blend command fast enough this sequence would have been skipped.
    The pull-in moves are only executed when there is a difference between the encoder position and the calculated position. Thus they are only executed in closed loop systems.
    Possible solutions:
    1. Configure the "Move Complete Criteria" in the axes' trajectory settings in MAX to accept some displacement (deadband parameter)
    2. Reduce the velocity for short moves or don't use very short travel ranges at all (this might not be possible).
    3. If nothing of this helps or don't use blending at all. Use buffered contouring
    instead (please refer to the shipping examples).
    Best regards.
    Jochen
    NI-Germany

  • How to change Opacity Blending on multiple clips...??

    First the problem:
    Whenever I open a Premiere v6.5 project, CS4 does a "conversion."
    Maddeningly, during this process, it changes the Opacity\Blending Mode of every single clip in the project to "Color" instead of leaving it at "Normal."
    Since I am working with Stereo (3D) footage with a different camera on V2 & V1, I always have at least two, and often many more, video tracks (for titles, etc).
    This means I have to go through every single clip on every single video track and reset it to Normal before I can proceed with the project! This can be upwards of 500 clips.
    PITA!!
    1) Does anyone have any idea why this is happening & how to prevent it?
    or,
    2) Is there a way to change this setting in all the clips at the same time?
    Whenever I select multiple clips, no Effect Settings (or whatever Shift 5 is called) appear. Only there for single clips.
    TIA,:-)

    Do one clip, copy (rightclick) the clip, select all the others and paste attributes.

Maybe you are looking for

  • Office 365 customization

    Hello Guys Has anyone able to customize Office 365 Proplus to exclude Lync Feature during installation. I have tried following scenarios: a) I have made changes in config.xml as  <ExcludeApp ID="Lync 2013" />  b) No UI of application is displayed of

  • CALL FUNCTION RSAQ_QUERY_CALL

    Can anybody tell me how to use this function "RSAQ_QUERY_CALL", sample code or something, so i can get an idea of how to implemented. Thank you in advanced.

  • How to import external resources into JDeveloper?

    Hi! Please forgive me for what is probably a very easy question. I have some images that I need to import into my Struts project. How do I do so? I have tried dragging and dropping them onto the project, but nothing happens. Thank you in advance for

  • I Lost my iphone- how safe is my data?

    I recently lost my iphone and reported it so, had it blocked etc. However, even though I had the ecurity lock on, how easy it is for the new recipient to crack the phone and thus my data? I'm obviously particularly concerned about emails, contact and

  • Will lion run on Intel Core Duo?

    Will Lion OS run on a 2GHz Intel Core Duo?