JavaFx Lighting Effects : When to Use which ???

Hi,
I know that this question in more design oriented than technical,
but still i'm posting this question in this forum .
I wanted to start off with javaFx lighting effects and i have found very good examples online .
I have seen the implementation of lighting effects at:
[http://code-better.com/javafx/lighting|http://code-better.com/javafx/lighting]
and [http://jfxstudio.wordpress.com/2009/03/18/javafx-light-effect/|http://jfxstudio.wordpress.com/2009/03/18/javafx-light-effect/]
These applications just gave us the ability to configure the lighting options .
I also have found a file effects.fx online and in that i see that
effect: Lighting{
light: DistantLight{azimuth: 90}
} // to be used to make a button look pressed
and
effect: Lighting{
light: DistantLight{azimuth: 270}
} // to be used to make a button look upbeat .
But this hasn't worked for me in few scenarios .
For example i have tried to apply these 90 and 270 distant light effects
to buttons made of various gradients and for some it seemed to have worked and
for some it doesn't seem to have worked .
I think we will have to change the color of distant light for that .
Could any one point me to a guide or online site or some tips
that will help be in understanding which effect to use when and which color
should i use for the lighting effect and other stuff .
It would be of great help for me .
Thanks a lot .
bye

Hi JavaFx Duo,
Thanks for your reply .
Actually I wanted to find out info like how to make an image ( or button of any gradient )
look gone inside or look up ( in a measurable way, i mean depth or height below/over the surface )
using lighting effects . And how does the azimuthal angle
and the color of the light source have an effect on it .
Earlier i have posted a forum in which Phi Lho has answered me
on how to make the button text look gone down and i can try to achieve
that by trying similar here .
[http://forums.sun.com/thread.jspa?messageID=10844582&#10844582|http://forums.sun.com/thread.jspa?messageID=10844582&#10844582]
But i thought of making use of the lighting effects and i want to know if any guide or tutorial
is available which describes the lighting effect with various Colors
and angles and when to use distant light/point light and spot light effects .
I would also like to know a few practical implementations
of these effects in javaFx ( i.e as i have posted earlier 90-for making it look deep and 270 for looking elevated
and such stuff ............................. ) by varying the angle and Color ,
So that i can use them in my applications rather than trying various combination
each time .
Thanks

Similar Messages

  • When to use which scope

    Hi,
    I have a CRUD application.. Where in the data is fetched, displayed n edited n stored back to db. Also there is a sequential access between pages & the information entered on the first page is needed on the second page & so forth. What would be the best scope & why ?
    When to use which scope? What is the life-cycle of each scope.
    Also, I couldn't find any good tutorial on scopes. If you are aware of the same, please guide.
    Its urgent.
    Thanks in advance.

    921331 wrote:
    Hi,
    I have a CRUD application.. Where in the data is fetched, displayed n edited n stored back to db. Also there is a sequential access between pages & the information entered on the first page is needed on the second page & so forth. What would be the best scope & why ?
    When to use which scope? What is the life-cycle of each scope.
    Also, I couldn't find any good tutorial on scopes. If you are aware of the same, please guide.
    Its urgent.
    Thanks in advance.You could use ViewScope and parameters to the next view or if using CDI have a look at conversation scope. You should read about them in detail yourself because even if someone chooses one for you it's still you who has to go on to use it correctly.

  • What is ESB and OSB? why OSB when ESB avail? when to use which of these?

    Hi,
    What is ESB and OSB? why OSB when ESB avail? when to use which of these? Which is recommendabale?

    ESB (Enterprise Serice Bus) is backbone of SOA. OSB (Oracle Service Bus) is an ESB product. Before the acquisition of BEA, Oracle was using OESB (Oracle Enterprise Service Bus) as a service bus but after that Oracle renamed ALSB (Aqualogic Service Bus) to OSB. Below SOD should help you out in understanding -
    http://www.oracle.com/technology/products/integration/service-bus/docs/Oracle-Service-Bus-SOD.pdf
    Regards,
    Anuj

  • Checked and unchecked exceptions - when to use which ?

    Hi,
    Example:
    public void go(String[] args) {
       if(args.length==0)
          throw new //   <= what type of an exception should come here ?
    }Is there a good explanation when to use which one ? I know that generally
    unchecked exception are the exceptions associated with errors in the logic
    of your applications and checked are those which you can not determine
    (like files, networks problems ....).
    Thanks,
    Adrian

    There is no, "I think it is better to us a type-XXX exception here because of conditions 1, 2, and 3" scenario.
    Checked exceptions are of type java.lang.Exception and must be handled in one of two ways- try/catch constructs or having the method state it throws the checked exception.
    Unchecked exceptions are of type java.lang.Error or java.lang.RuntimeException. If the problem is an Error, something very bad has occurred like running out of memory. If it is a RuntimeError, then it probably came from a program bug. In both cases, there is no way for you to know when they will arise. Therefore the compiler does not force you to handle these unusual circumstances.
    If you think of piece of code may throw an error like an I/O operation, and you do not have code to handle that possibility, the compiler will let you know. After you have been programming long enough, you'll begin to know when you need try/catch constructs without Mr. Compiler yelling at you. ;-)
    Edited by: filestream on Sep 14, 2007 5:37 PM

  • Difference between EAI and SOA? when to use which one?

    Hi,
    Please share this information, What IS EAI and What is SOA? why they came and what its use, and when we have to use which of these?
    Thanks.

    EAI is the mother of all the integrations. EAI acts as a connector and can integrate at large scale however SOA is another integration technique which is used for small scale integration. SOA is an approach to have software resources in an enterprise available and discoverable on network as well defined services. Each service would achieve a predefined business objective and perform discrete units of work. The services are independent and do not depend on the context or state of the other services. They work within distributed systems architecture.
    Regards,
    Anuj

  • When to use which mapping in Scenario

    Hi,
           When to use
    1. ABAP MAPPING
    2. JAVA MAPPING
    3. XSLT MAPPING
    4. GRAPHICAL MAPPING
    When to use these mapping at what type of interfaces we should use them.
    Regards,
    Nissi

    Hi,
    Hope the following link gives you an idea of use case of different mapping techniques
    [Mapping Technique|http://wiki.sdn.sap.com/wiki/display/XI/Mapping+Techniques]
    [ABAP mapping implementation|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/a15a5f77-0c01-0010-cfa1-94ca75306537]
    [XSLT mapping implementation|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/0654b462-0c01-0010-4d9d-d2d5a7fee0d6]
    [Java mapping implementation|http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm]
    To give an example, Usually file content conversion feature of file communication channel does not support the content conversion of structures with deep hierarchy then in that case we can go for XSLT mapping as with graphical mapping we cannot create text file for structure with deep hierarchy.
    You get more understanding on the use case when you develop different scenarios there are too many to list.
    Hope this helps !!!
    Regards,
    Amit

  • How do i control my object effects when i use a button?

    I want to use a button so when I click on it a square rises up from the bottom of my slide.  What I'm finding is by the time I click the button to make the square visible its effect has already loaded with the slide so you don't get to see the squares effect working, how do i pause the effect of the square until I have pressed the button?  Should I just make the button jump to a duplicate slide so the effect hasn't loaded if so this will be a pain when I have several buttons on the slide that I want to make objects move when i click them?

    Hello,
    Nothing to do with button becoming inactive, really, but with the way the Effects are scripted. Will try to answer your question about the buttons however.
    I'll try to explain the functionality of a button.  A button typically has a pausing point that is visible on the timeline, right? The portion before the pausing point is the 'active' portion, which will mean that the user can click on the button and this will have results. When you click on a button, the action attached as Success action is triggered, in this example the Text Caption is set to visible. But at the same time the playhead is released and moves beyond the pausing point into the Inactive portion, which means that it cannot be clicked again.
    Two possible solutions:
    use a rollover caption instead of your click/text captions work flow.
    Create a small advanced action BtShow1 and BtShow2 for each of the buttons, again I have screenshots ready but they are not accepted, bummer.... Will try to write the statements:
    Show Text_1      for the first button, shows the correct Caption
    Hide Text_2       hides the other caption that could have been shown by the other button
    Assign rdcmndGotoFrame with rdinfoCurrentFrame            this expression puts back the playhead directly before the pausing point so that button remains active
    You can duplicate this action to create Btn2, and you only have to reverse the ID's of the Text Captions
    When you attach those actions to the buttons, you can click as many times as you want. You tell that you have searched the forums? Bit strange because I have been explaining this so many times, and blogged about this kind of micro-navigation (frame by frame):
    Micro-navigation in Adobe Captivate
    Lilybiri
    PS: when updating, I can insert one image, will try to add the other one, in a second update perhaps

  • In After Effects when I use the Color Finesse 3, A grid appears in the display window. How do I turn that off?

    When I click on Affects, then Synthetic Aperture, then SA Color Finesse 3 in the Creative Cloud a grid appears over the video in the display window, and I am un sure how to take that off?

    Color Finesse 3 LE is included with After Effects and is installed automatically when After Effects is installed. The only reason to upgrade to the paid version is if you want to use Color Finesse in Premiere Pro as well as in After Effects.
    Since it's a college computer, do you have the ability to install/uninstall software? Many colleges lock down the computers to limit such access. You'll need full access, including an admin password, to use the following steps. If you're not allowed the necessary access, you can pass the following along to whoever does computer administration.
    To remove the trial version, delete the entire "Synthetic Aperture" folder found in:
    /Library/Application Support/Adobe/Common/Plug-ins/7.0/MediaCore
    (Note that this is the Library folder at the base of your boot drive, not the one in your home folder.)
    Next, re-enable the bundled version of Color Finesse by going to the following folder:
    /Applications/Adobe/Adobe After Effects CC/Support Files/Plug-ins/Effects/Synthetic Aperture
    Now, within that "Synthetic Aperture" folder you'll find a plug-in with parentheses around the name:
    (SA Color Finesse 3 AE64)
    Remove the parentheses from the filename so AE will see it. Do NOT remove the parentheses from the "(CF3 Support)" folder or AE will launch very, very slowly, and Color Finesse won't work right.
    Finally, within the "(CF3 Support)" folder, locate the "(SA Color Finesse 3 UI)" application and remove the parentheses.
    Launch AE, apply Color Finesse to a layer, enter a name, and you should be good to go with no grid lines.
    Bob Currier
    Synthetic Aperture

  • JSP and Servlets - when to use which?

    Greetings,
    I am a software developer with a very good understanding of Java. I build web applications, console applications, server/client apps, gui apps, what have you.. Web development with Java seems so dynamic now, that I can't seem to keep up with it. I have a simple style of developing web apps with java. Basically I create Java DTO(Data Transfer Object) classes that will perform in the backend and talk to a database using JDBC, or write to file, or read from file, what have you. I develop JSP pages that produce the proper HTML based on what a user wants to see. I may create some functionality in the DTOs that will pass along certain data. Sometimes the JSP can get a little sloppy due to the nature of the app. I create forms that collect information using JSP/HTML and I create JSP pages that will extract the form data from the form page and then send that data to the DTOs for further processing. I am not creating any classes that implement or extend HttpServlet and this is starting to bother me. Is this more the accepted way of developing Java Web Apps? What could you consider these DTOs I am creating? Can these be considered servlets? I compile the classes and use them as if they were a servlet, but they really aren't right? I am not sure and I need to catch up with what's going on in the real world. This is the unfortunate part of never having anyone to mentor you. I feel like I am falling behind. What about the newer technologies emerging - Struts, Tiles, JSF, what have you.. Could these possibly be replacing the functionality of Servlets? Thanks for listening...
    takizzle

    There's no reason to slam anyone that's asking advice on a HELP FORUM.
    anyway, that aside-
    I usually use JSPs for presentation and show database views with them. take for example a shopping basket application, you would have a custom tag that would loop through the contents of the customer's shopping cart and display them.
    however when the customer was filling out thier information the form would point at a servlet that would handle the logic and processing.
    that's the diff- user servlets to handle logic and JSPs to handle presentation.
    cheers, and good luck :)

  • Garageband versus Audacity - when to use which?

    I've had iLife for a number of years now but I've generally found Audacity has met all my recording needs - mostly recording and editing stuff off the radio, or recording my own amateurish music-making live, i.e. without using tracks. Lately, however, I've been moving into the multitrack world and thus resorting to Garageband a lot more (yes, I know Audacity does tracks too). Much as I appreciate (without being fully conversant with) all the features in Garageband, I still find Audacity more intuitive in some ways. For example, if I want to edit a waveform or adjust EQ, I will sometimes just export a Garageband track to AIFF and then bring it into Audacity for some more tweaking.
    So, what I'd like to hear is how everyone else takes advantage of these two apps. When it comes to tasks that both programs can handle, are there some that you feel are much easier to do in one app than the other, and what are they? Can both apps complement each other as part of an audio workflow? What are the most outstanding/useful little tricks that each app can do?
    Thanks.
    Richard
    Message was edited by: RichardLim

    Audacity (and other audio editors) are better suited for simple audio recoding and editing - they're much leaner and more reliant. I would never trust GB for a task like recording a long speech or concert.
    I also prefer an audio editor to edit recorded speech - you can edit with much more detail, and by default the stuff you delete doesn't leave a gap (I know GB can do that too).
    So basically, I use GB for anything that has to do with music or at least multi-track recording, the rest I do in an audio editor.
    As for using both apps together: I've experimented with using both in parallel in the past – like taking a recording with a low level and normalize it in Audacity while the GB file is open. Nothing for the faint-hearted, since this is not something you're supposed to do - but as long as you don't change the length of a recording, GB was quite tolerant towards that procedure.

  • When to use which adapter?

    Hi Experts,
    I have an query regarding use and advantages of adapter!
    I want to know in what preference should the adpaters be used IDOC,RFC,PROXIES. what should we consider to use first and what are the advanatages of one over the other.
    Regards .
    Saras Jain

    Hi Saras Jain  ,
    These r the details regarding Adapters:
    Adapter framework
    What are XI Adapters?
    Adapters enable communication between the XI integration engine and an application system. This leads to the compatibility between heterogeneous systems.Adapters convert the XI protocol (SOAP with attachments over HTTP) to the protocol spoken by the application system and vice-versa.The key purpose of XI is to integrate heterogeneous systems and adapters are the key enabler to achieving this goal
    Adapter Categories
    Application adapters provided by SAP (IDoc and RFC) and 3rd party vendors (Seeburger, Siebel, Oracle, ...)
    Technical adapters relate to specific protocols
    File systems (FTP / File)
    RDBMS systems (JDBC)
    Messaging systems (JMS)
    Web services (SOAP)
    Mail servers (SMTP)
    SAP Business Connector
    Marketplaces
    Industry standard adapters
    RosettaNet
    CIDX
    The Adapter Engine
    The XI Adapter engine is the home of the majority of the XI adapters. Only the IDoc adapter and the plain HTTP adapter do not reside on the adapter engine. They reside on the Integration Server.
    It is fully integrated in to the XI landscape with tools provided for configuration, logistics and monitoring. It's Adapter Framework is based on the JCA.
    SAP XI requires an adapter framework to communicate outside of the SAP system. These adapters translate code from external applications to an XML message for NetWeaver processes using the Java Connector Architecture.It is a part of the Adapter Engine, which provides interfaces for configuring, managing, and monitoring adapters.
    Structure of the Adapter Framework
    http://help.sap.com/saphelp_nw04/helpdata/en/fd/16e140a786702ae10000000a155106/content.htm
    Adapter for SAP XI environment
    http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=/com.ibm.wbia_adapters.doc/doc/sap_xi/sapximst11.htm
    List of all adapters compatible with XI 3.0
    http://searchsap.techtarget.com/expert/KnowledgebaseAnswer/0,289625,sid21_gci1229988_tax304527,00.html
    Adapter and Module Development
    http://help.sap.com/saphelp_nw04/helpdata/en/8b/895e407aa4c44ce10000000a1550b0/content.htm
    Legacy Integration with the SAP XI Adapter
    http://www.makdata.de/www_makdata/sites/www.makdata.de/en/solutions/solutions02/downloads/SAP_XI_Adapter_mak_data_news_23_en.pdf
    Installing the SAP XI Integration Components of the XI Adapter
    http://documentation.softwareag.com/crossvision/xio311/install/sapXiInstall.htm
    cheers!
    gyanaraj
    ***Pls reward points if u find this informative

  • Whats the diffrence between these two JKM's and when to use which one.

    Please tell the diffrence between these two.
    JKM Oracle Consistent o JKM Oracle Consistent (Update Date)

    Basic difference is in the requirement .
    JKM Oracle Consistent (Update Date) wants a DATE/TIMESTAMP column in the source tables(s) which will get inserted/update by the source application . ODI will capture the changed data based on this column value . Only the DELETE portion requires a trigger to keep track of deletion happening at source table(s).
    Where as JKM Oracle Consistent does not require any DATE/TIMESTAMP column in the source tables(s) . It uses triggers for keeping track of INSERT/UPDATE/DELETE happening in source .
    In terms of performance JKM Oracle Consistent (Update Date) is better as it will create littel over head on to your source system . SO if you have a DATE/TIMESTAMP column in the source tables(s) which gets inserted/update by the source application, then go for JKM Oracle Consistent (Update Date) .
    Else look for JKM Oracle Consistent .
    Thanks,
    Sutirtha

  • Windows vs Textured Windows, when to use which

    I'm new to OS X and software development in general, so I apologize if this is extremely obvious to most. However, while messing around in Interface Builder I noticed I could create Windows, Panel, Textured Window, HUD Window, and a Window with a Drawer. While I have been able to find examples, I'm unsure when a Textured Window vs a "normal" Window should be used. I was hoping the Human Interface Guidelines would tell me, but I could not find a clear answer in there either. Any information will be appreciated.
    Thanks in advance,
    Jeremy

    Hi Eric,
    STP was designed for the video world but, sadly, not built to industrial strength. I've never had FCP crash on me but STP crashes at least once every session. When do I use it? Only when working with videographers/directors/editors since they understand it. Noise reduction is fine and that's helpful but I prefer to use Logic for all my video work, not least since it has instruments as well as audio.
    STP 2.02 seems a little more stable but I can't risk it.
    There is an STP video tutorial being developed by MacProVideo.com and the first two parts are available. Check out the demos, if you want to find out about it:
    http://www.macprovideo.com/tutorial/soundtrackPro2
    Pete

  • How to Turn Camera, Including the Green Light, Off When Finished Using It?

    Just used the integrated camera to take a picture, but can't figure out how to make the green light go off.

    I purchased rechargeable batteries - they are more to begin with, but over time, they are a much better and less expensive choice. This from Apple:
    If you won’t be using your Bluetooth device for an extended period, turn it off to maximize battery life. To turn it off, use the on/off switch.

  • Cap loc doesn´t work or light up and when I use shift for cap, it sounds like a typewriter typing

    I have a 2011 model and am running Lion.  My cap lock does not work or light.  When I use he shift to cap a letter, it makes a sound like a typewriter, wierd.  Also when I depress the shift, the symbols on top of the numbers are not as designated.  In order the get the @ sign, I have to depress the option key for it to appear.  The other symbols do not appear correct when I am typing when I depress the shift.  I have to hunt for what key will give me the correct symbol  Very Aggraviating.  I hope I have made myself clear.  I am 70 and not to literate on comps and then an APPLE.  That was my dream and I got but now am having this problem.....  Could anyone please help me.  If you need more info, please let me know as I don´t always make myself clear, so says my husband.

    Go to System Preferences > Keyboard > Modifier Keys. It should look like this:
    If not, press :Restore Defaults".
    With regards to the sound of typewriter, if it's not an actual mechanical sound, by which I mean it's a computer generated sound, you might have installed some application like Typewriter Sound:
    http://www.macupdate.com/app/mac/12077/typewriter-keyboard
    Is that the case? Removing it should solve the problem.

Maybe you are looking for

  • Line itemwise report for operational WCD

    Hi, We are using the Mechanical and process isolations in the operational WCD. one WCD for Mechanical isolation and another one for process isoaltion. There are multiple Isolation points used for process isolation. Example: 20 process isolation point

  • How to reverse service order which is in released state

    Hi, Please guide me how can we reverse a service order which is in released state. Is it possible to reverse a service order with released state? Please guide it is very urgent. Thanks and Regards Edited by: MPVash Vash on Dec 5, 2008 10:04 AM Edited

  • File name length causing problems

    I want to use my iPod suffle as a data transfer device as well as a MP3 player and am havign real problems copying folders onto it from my iBook or my desktop G4. Is it the file name lengths that are the pprblem (that's certainly the error message I

  • Can't open outlook addressbook.wab file on imac

    I am new to apple and have backup files from windows xp. Can't open outlook addressbook.wab file on Imac. Also need to find software to open works.wps files. Wont open in Office Mac 2011

  • How to cancel my product?

    I have ordered the Photoshop with 12 monthes plan, I would like to cancel it, but its expeiry day is November of 2015, so how can I do?