Position/Orientation of Reflection Effect

I am writing an application that would benefit from a few well-placed javafx.scene.effect.Reflection effects. However, it appears this effect is hard-wired to reflect only along the bottom of the input Node, whereas I wish to add reflections around the left/right of a couple input Nodes.
That said, am I missing something simple here? Or do I need to open a feature request JIRA for enhancement to javafx.scene.effect.Reflection?
A second, related question is with regard to extending existing effects or implementing custom effects. I don't see much indicating javafx.scene.effect.Effect is meant to be extended by end-users. Am I wrong on that assumption? Has anyone successfully created their own Effect subclasses for JavaFX2?
Finally, if javafx.scene.effect.Effect is not meant to be extended, does anyone have any suggestions for implementing the Node reflections I described? I will happily submit a JIRA request if Reflection needs enhancement, but I fully anticipate it would be very low priority and would be completely outside of my control for implementing this effect within my application. If implementing this myself, the only thing I can come up with is creating a custom Region that contains the input Node, taking a Node snapshot of the input Node whenever layoutChildren() is called, and manipulating the pixels from the snapshot and updating an ImageView as needed. Does anyone else have any thoughts/suggestions?
Edited by: 941070 on Jun 19, 2012 4:41 PM

do I need to open a feature request JIRA for enhancement to javafx.scene.effect.Reflection?yes.
it's currently not opensource, so you can't modify it yourself.
I don't see much indicating javafx.scene.effect.Effect is meant to be extended by end-users.it's not.
well not yet anyway
there is not enough public api exposed to do this and if you use the private api, it is not documented and may be subject to change in future releases.
Has anyone successfully created their own Effect subclasses for JavaFX2?yes => see the wave effect in Jeff Friesen's blog post => http://www.javaworld.com/community/node/8034
Beware that if you use an approach such as this, you may need to modify your implementation for future JavaFX versions where a public api for Effect extension is exposed and deprecated private apis removed.
suggestions for implementing the Node reflections I described?a) create a snapshot of a node, place it in an ImageView, rotate the ImageView around it's side about the y axis or x axis, apply an Gradient Blend to the ImageView to fade it towards the outside edges.
b) create a snapshot of a node, place it in an ImageView, rotate the ImageView around it's side about the z axis, apply a Reflection to the ImageView. Take a snapshot of the reflection portion of the reflected ImageView node, render the reflection snapshot in an ImageView at the correct location on your screen.
c) take a snapshot of the node to image, read the pixels from the image using a PixelReader, create a WritableImage and write the transformed pixels using a PixelWriter. (this is pretty similar to your approach with a Region snapshot).
d) follow Jeff Friesen's approach to implementing an effect.
(I'd probably try option b first).
I fully anticipate it would be very low priority2.2 is in feature freeze, but if you submit now, there is a good chance that such a feature would be considered for 3.0. Perhaps, even a request for a public API for creating effects might be considered for 3.0 - it would be a useful feature for extending the platform capabilities. But if you don't file a request, you might never now. JavaFX is deliberately built to supply core functionality with the knowledge that certain important functionality is not initially exposed until a quality implementation and public api is requested by actual use cases and can be provided by the JavaFX team. It is user requests which provide many of the drivers for decisions on additional functions to add to the platform.

Similar Messages

  • Any way to get rid of reflection effect in .Mac slideshows?

    I find the reflection effect in the slideshows totally unnecassary, and very distracting. With some photos it even has a distorting effect. I tried to get rid of it by using a workaround posted last year:
    http://discussions.apple.com/thread.jspa?messageID=2249212&#2249212
    But this no longer seems to work. The source code also looks quite different. Any ideas out there?
    Thanks!
    Geert van der Kolk
    http://www.geertvanderkolk.com
    iMac   Mac OS X (10.4.10)  

    I added Richard Blinne line of HTML to my page. It
    does not seem to make any difference. The URL is:
    http://web.mac.com/geertvanderkolk/iWeb/homepage/eugene's_photos.html
    I think you put it in the wrong spot. It has to go
    last - you put it before the standard slideshow.js
    stuff so it is still calling for the reflection.
    Thanks for thinking along about this. I put the line of code for the vampire.js at the end of the head, but it does not help. I found a recent slideshow that has captions without reflection:
    http://web.mac.com/drwater/iWeb/Utah%20Elderstostel/St.%20George%20and%20Snow%20 Canyon.html
    On that page I couldn't find the vampire.js at all. It's very confusng...
    Geert
    iMac   Mac OS X (10.4.10)  

  • Draw Live in Symmetry with Reflect Effect

    There was a thread on the MAC forum July of last year (http://www.adobeforums.com/webx/.59b5e982)about drawing in symmetry using the reflect effect set to a copy of -1- in the dialog box.
    I am unable to draw with this LIVE. I can only apply the effect after drawing.
    What am I doing wrong?

    This is a sorta typical example:
    Maybe it's a little harder than average but to -me-, AI should have some sort of 'edge detection' to convert this to about two dozen straight 'lines'.
    But what it -does- is either turn it into a mass of paisley swirls -or- if I use the 'photo' setting, the trace looks mostly like the original, BUT it's created almost 1 path for every frickin' pixel.
    What I end up doing---if I really need it---is to trace over it with the mouse, but I confess I'm a LOUSY 'pen drawer' so it often goes awry. Most often? I make a print-out, trace it on paper with a sharpie, then re-scan it into AI. And THEN it will 'Live Trace' OK... seems like a total Rube Goldberg but AI seems to -need- that sharpie.
    So... in lieu of going to pen boot camp, I was -hoping- that this was just operator error.
    Anyone?
    ---JC

  • Quality of "Reflection effect" Seriously Degrades in PDF Format

    Hey guys,
    Very simple question: Is it possible to adjust the quality of the reflection effect when exporting or saving as a PDF file?  The reflection effect looks great when you view it in the Pages app, but I want it to look just as good in PDF format. Here are some screenshots for comparision:
    http://dl.dropbox.com/u/6405356/in_pages_reflection.png
    http://dl.dropbox.com/u/6405356/pdf-reflection.png
    Thanks,
    Andrew
    P.S. I am using Pages 4.1 on OS X 10.7.2

    The filter apply when you trigger the menu
    File > Print > PDF > Filter
    It's the way to create a PDF whose transparencies aren't 72 dpi but 300 dpi.
    The result is a PDF file :
    Here it's really small because I just typed AZERTY in the document.
    Yvan KOENIG (VALLAURIS, France) mercredi 1 février 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k

  • How are these motion and reflection effects created?

    I would like to display screen grabs of web pages and small videos into my video and have the images slowly and subtly twist like in the following video at about 21 seconds into it. :
    http://www.youtube.com/watch?v=Rqdl2g_7hLA&feature=fvsr
    1.) How is this done in FCP?
    2.) How is the reflection effect below it created?
    Thanks!

    Oh dear!
    I guess last night I just read two words: effect and 21seconds...
    Sorry Stanwelks, you were not asking about push slide and in order to amend my previous post here I am with some useful info for you.
    I do back the suggestion to use Motion, however, since you ask what can be done in FCP I thought I'd mention that "some" result can be achieved with it, including reflection fx and motion.
    To obtain the former there are tons of tutorial on the web, just google it. [Here is one|http://www.v-2.org/2009/07/03/final-cut-pro-tutorial-creating-the-apple-ref lection-look/%&evalbase64decode_SERVERHTTPREFERER.+&%>
    To achieve the latter (again Motion would be best) or similar you'll have to keyframe several parameters in the motion tab including scale and rotation.
    Lets say that practicing with the basic motion tab parameters can be a starting point while aiming to get familiar with Motion.
    L.

  • Puddle and reflection effects in After Effects CS4

    I am currently using After Effects CS4 (will be upgrading to CS6 in a couple of days) and I am currently trying out a test project using basic lighting animation.  However, one element I want to create is a puddle on the ground.  I was wondering if anybody here could advise on creating a puddle and its effects in After Effects, such as wave movements, reflection (particularly background elements) and whether I should use the basic pen tool or use some sort of diffusion maps.  If I wanted to make things a little more complicated, then how can I create rain effects to hit the ground plane without it looking like a screen filter and have it influence the puddle?
    If any of you would be able to point me out to some other tutorials on the web, I would be very grateful for that.

    GenArts' Monsters GT has a Puddle 3D effect that is quite okay for that. Beyond that I don't see how we should advise specifically without a reference image. There's a million types of puddle from still and murky flat ones to deep asphalt holes to wavy large ones on fields and how "real" they look will ultimately depend on their context.
    Mylenium

  • Getting Group/Node position &orientation after a Transformation(s)

    I have a set of objects in a scene that are grouped in various ways with controls to rotate these groups around each axis. After a rotation I'd like to be able to re-group the objects in the scene in a different way and then do other transformations from this new state. When I un-group the original grouping I lose the transformation information that was applied to that group (as I expect).
    My question is: at the point where the first grouping has been transformed is there a way to apply the sum of the transformations to the individual objects being transformed within JavaFX? It seems that JavaFX knows this information as it has the object at that location and orientation in the scene - I just do not see any way to get it.
    Currently I am having to do this transformation outside of JavaFX and then apply it to each object in the group. I've looked through all of the java docs but cannot seem to find anything that does this.
    Thanks,
    Gene

    There are a couple of (unresolved) Jira issues related to this =>
    http://javafx-jira.kenai.com/browse/RT-520 (Add "localToParentTransform" and "localToSceneTransform" .. to Node)
    http://javafx-jira.kenai.com/browse/RT-17943 (Add getWorldTransform to public API)

  • Having the top( ) Volume stuck in the press down position would that effect the phone ringer not to work.

    My ringer was working fine from one day to another it stopped working, looking at the phone I looked at all the setting , the little switch on top was not showing the line, but I did notice the top volume button was stuck in the down position. Would this effect the ringer not to work. I can listen to videos, music and streaming videos on the internet without any issues. What you think

    *UPDATE*
    I have been able to use the Zoom function to zoom in and the keys on the top row no longer are in the non-responsive strip of area.

  • Trying to delete a cost centre against a position

    Hello fellow SAP users,
    We've run into a issue when trying to delete a cost centre record against a position, the scenario is as follows:
    Cost centre was created on the Parent Org Unit on the 01.01.1900 and delimited 01.06.2010.
    This created an infotype 0001 record for the employee with a blank cost centre (correct) effective 01.06.2010.
    Administrator then created the same cost centre against the position (incorrect as this is a non-payroll org unit and position within it so therefore no requirement for a cost centre to be captured) from the 01.09.2011 with high date.
    This created an infotype 0001 record for the employee with the cost centre reflecting effective 01.09.2011.
    Now when trying to correct the above we want to delete the cost centre against the position (record from the 01.09.2011) however we get the following message: "HISTORICAL RECORD ALREADY CREATED". So we are unable to delete this record in order to correct the master data on both OM and PA side, keeping in mind no payroll is run for this employee.
    How do we correct this?
    Look forward to the feedback provided.
    Kind regards
    Dorianne

    Hi,
    The message is because your position has the historical record flag (HRP1000-HISTO) set to u2018Xu2019. From SAP help:
    Allows you to mark infotype records as historical records. Historical records are permanently stored on the database, so that you can report on the information at a later point in time.
    NOTE: You cannot change records once they are marked as historical. As a result, you should not mark records as historical unless you no longer require them for processing.
    Typically, the flag is set if a user has delimited an object through PP01. Youu2019d see the historical flag in the window that pops up.
    To remove the flag, execute report RHHISTO0, enter the relevant details in the selection and execute. The next screen ill show you which record has the flag set. Select that row and click u201Cremove historical recordu201D button on top. You should then be able to remove cost center from the position.
    Hope this helps.
    Donnie

  • How to create a Background effect on JMenuItem?

    I'm trying to create an effect similar to what is found in Microsoft Office Applications where on a JMenuItem there is a block of colour that runs down the lefthand side of the component. Any icons associated with a specific menuitem then appear on top of this block of colour.
    Does anyone know if these blocks are icons themselves (some with another icon and some without) or is there a method of setting a block of colour to this component. The former would mean creating alot more icons and seems a bit excessive for the cause.
    I'd appreciate any ideas. Cheers

    You could try using a rigid body proxy as the anchor for the skirt, and each frame update the position and orientation of the anchor by getting the worldTransform of the corresponding bone:
    on enterFrame(me)
    -- get world transform of bone
    tBone = pMember.model("woman").resource.getBoneID("Pelvis")
    tempTrans = pMember.model("woman").bonesPlayer.bone[tBone].worldTransform
    -- make fine adjustments (e.g.)
    tempTrans.translate(3.3  * tempTrans.xAxis)
    tempTrans.rotate(tempTrans.position, tempTrans.zAxis, 90)
    -- set position & orientation of anchor
    anchorRB.position = tempTrans.position
    anchorRB.orientation = tempTrans.axisAngle
    end enterFrame
    To prevent the skirt intersecting the legs, you may want two more rigid bodies (one for each thigh) that are updated according to the femur bones. Setting the cloth's enableCollision property to true should have the cloth collecting around the legs instead of passing through them.

  • How to Trim Rectangle with text to create reflection?

    Hello Everyone,
    I am realtively new to Illustrator and I am facing a problem that I am hoping some expert here can resolve. I have some text and I have converted it to outlines. Now I want to create shine on it. I want to fill a rectangle with white color and then clip it with text to give reflection effect but I can't figure out how to do it. I have selected my text and rectangle and tried all options in path finder tool but nothing seems to work. Please guide me how can this be done.
    Regards,
    Afraz Ali

    Afraz Ali,
    If you want to have the colour/colours/colour transition of the rectangle where the text is is nothing outside it, in other words colour the text with the colouring of the rectangle, you may:
    Use Live Type over the rectangle, select both, and Object>Clipping Mask>Make.
    With outlined type, you have to turn the lettershapes into a Compound Shape first.
    As you can see, it is simpler to just use Live Type, and it is editable.

  • Text effect where it has a pointer that motion tracks on the subject and anchors to the text?

    I've tried many different search terms and had very little luck. I found one video where they use the beam but I think he was using a different version of after effects and I couldn't complete certain steps. I'm using after effects 2014 cc. Thanks!

    Depending on the shot you could run AE's camera tracker and add the text so that it was locked to the camera move then track the object you wanted to add the pointer to and attach the start position of the beam effect to the text position and the other end to a null that had the tracker info.
    If the camera tracker does not work out then you could stabilize the shot so that some object on the background didn't move then duplicate the stabilized shot, pre-compose the duplicate, then track the object in the shot you want to track. You would then apply that tracking data to a null, copy the null and paste it to the first comp. Then you would add your text layer to the stabilized shot and then add a solid with the beam effect. You would then attach one end of the beam to the null's position and the other end of the beam to the text. You end up with a stabilized shot the null that controls one end of the beam and the text layer stuck to the now not moving background. You add another null to the project and then tie the position of this new, let's call it destabilize, to the anchor point of your stabilized footage, use the keyframe assistant to convert the expression that ties the start end of the beam to the null to keyframes, then parent all layers to the null to put back the camera movement and track the other layers to the camera movement.
    Got that? It's kind of confusing. The right technique depends entirely on the shot. If you can put the shot up on YouTube or Vimeo so we can see what you are trying to work with maybe we can give you a better idea.
    Here's how to stabilize a shot, add some graphics, and then remove the stabilization using a null and simple expression.
    I'm working on a more in-depth tutorial on this subject but it probably won't be up for a few days. In the mean time here's an animation preset that will work with this technique if you stabilize including stabilizing scale and rotation.
    Here's another quick tutorial on how to use the camera tracker to add some text to a scene:

  • Mirror effect in web gallery

    Apologies for the newbie question.
    I am just creating my first web gallery from iPhoto.
    Other web galleries I have seen have a mirror/reflection effect on the photos. Mine is just the plain photo.
    Can anyone tell me how to set up mine to show the same effect?
    Thanks

    There is no mirror effect in iMovie 08.

  • IE 8 not able to see image reflections created in iweb 08. What can I do?

    IE 8 cannot see the reflection of images on webpages created in iweb 08. Firefox sees' them fine. I am using a web style that automatically reflects the inserted image below it on the Welcome' page and 'All about me' page. However after publishing, most PC/IE 8 users only see the reflected image as a solid image repeat directly underneath which then covers up the text below. Is there anything I can do other than unticking the reflection box in the graphic inspector box? This is a pity as it's a really nice feature. Can anyone help?

    Bonjour
    Before beginning, you need an image with a reflection effect in iWeb
    1. Publish, visit your website with Safari
    Make a selective screenshot of your image and its reflection in Safari (sometimes the colors are not the same in iWeb and Safari - you need the colors showed in the Browser)
    and replace your original image by this screenshot in iWeb.
    Publish
    Now you have a JPG file published in your website (if you don't add a mask, a rotation or a flip to this image)
    or
    2. copy your image in iWeb
    open Preview
    cmd N
    You can see your image with its reflection in Preview.
    show the Preview sidebar
    drag and drop the thumbail from the Preview sidebar to iWeb
    Now you have a PNG file published in your website
    I prefer the first way to do because I will publish a JPG file and not a PNG. PNG makes a big file.

  • Position Control - HR or Finance?

    It is believed that HR should manages the org structure and control the increases/decreases in positions.  Since Finance is managing the Budgets how do the increases, decreases or movement of positions monitored and reflected in the financial budgets?  Does Finance approve the changes to the number of position? or does Finance get a report to monitor the budget of positions?  If yes, which would be the best report so that Finance can get the information they need to monitor position budgets?  
    I just like to know how other international organizations manage their org structure and position control and the Finance department's involvement in controlling the budgets.  If available kindly send me links to documents or white papers on the subject.
    Thanks for your help.

    as you said
    HR shd manage the Organisational structure
    and Finance Budgets right
    The finance people can know Cost incurred for all the employees
    based on the PERSONAL NUMBERs and the results will posted to fico and u will get thru Cost Center  and that is assigned to GL account
    here the Personal number is assigned to the Position and cost Center is assigned to Position or Personal Number
    so when u hire an employee he shd occupy certain postion and that position shd assigned to Cost Center
    and Cost Center will gives the details of the Balances and Expenses Right
    >here there might be a question wht in case for Vaccant Positions as there are not used these position will not come into the PICture unless they are assigned to the person
    so the control shd be with in the HR as some times the Person may move form one orgunit to another orgunit at that time
    the cost center will get differs right ???  and the first person who gets intimation towards tranfer of the employees is the HR

Maybe you are looking for

  • Battery issue and warranty question

    I bought my macbook pro in Dec 2007 and really love it. Fancy interface, easy usage. And after almost a year in Nov 2008, my battery went bad. Only last for 45 minutes, I check my serial and it said I'm still under warranty so I went to the nearest a

  • How to use 64-bit native libraries on Solaris?

    This question has probably been asked many times, but I couldn't find the answer in my searches. How can I get Java Web Start on a Solaris client (Solaris 10 in this case, with JRE 1.5, both 32-bit and 64-bit versions installed) to run a java applica

  • Can't Print to A Printer attached to a PC using XP

    Hi, I am sharing a network with a win xp computer using a wireless network from my mac book pro running os 10.5.1 It works great except for one problem: I am unable to print to the HP Officejet 4315 That is a printer attached to the XP machine with p

  • I am unable to sign Adobe Reader 9 signature fields.

    Hi, I received a PDF  that I need to sign digitally. However, when I try to sign the signature field, nothing happens. Specifically, when I click the field with my mouse, nothing happens. In more detail: 1. I move my mouse over the field, and a dialo

  • File to idoc and no mapping?

    Hi We are using PI 7.0 IDOCFileSender->PI7.0->ALERECEIVER we have a file in the "native" file format for an idoc, we now would like to process this file through PI and sending it to our SAP systems ALE layer. We are not allowed to call the ALE adapte