How to do cheap rendering while user modifies parameters?

Dear all,
I am playing around with my first AE plugin. At the moment (and for the foreseeable future) each frame takes some time to render. Enough to make the modification of parameters through sliders really uncomfortable, since at each value through which the slider is dragged a rendering event is fired. There is even one fired by just clicking on the slider without dragging.
I would like to delay rendering then until the user is done playing around with the slider and has settled on a particular value for a reasonable time (let's say half a second for example). I looked around, saw the Parameter Supervision section of the documentation and did something nasty: whenever I get a PF_Cmd_USER_CHANGED_PARAM I register a timestamp and I only render when the current time is over 0.5 seconds after the last parameter change event.
Upon trying this it was clearly not the way to go: the composition onto which my effect is applied is not rendered while the parameters are being changed, and when I stop the sliding the last render command is issued too shortly after the last parameter change as to be considered. This has the effect of turning the view in the composition window completely black. In order to get the picture back I have to force the rendering by other means such as previewing the composition.
So (sorry for the long introduction) my question is finally, what would be the correct approach to do what I want to do? Is there a good way to tell when  the user has 'settled' on a value? As opposed to firing parameter change and rendering events like crazy I mean.
Thank you all for your attention.
Best.

i looked and looked and couldn't find a way to toggle the 'Live Update' comp switch at will.
that would have been awesome.
the only addition to the solution you have already devised would be to use PF_OutFlag_FORCE_RERENDER,
to could help you solve the "left blank until updated" problem you're having.
OH!
i have another solution but it's kind of sneaky...
during interactions you could render nothing and report PF_Interrupt_CANCEL.
that would tell AE not to use you're plug-ins output, and hopefully (i never tried this), will invalidate the update of the whole frame.
hhhmmm....
that's crazy enough to work.
you could play nicer and just use PF_ABORT and PF_PROGRESS.
if you check them frequently enough, then maybe AE will tell you the user is still changing the param before the experience gets sluggish.
yup.
i'm pretty happy with that last one.
hopefully AE will give you hints about the user still making changes.
i never tried that, so please post back your findings, as i might implement that s well. (sorry for using you as a guinea pig...)

Similar Messages

  • How to disable chanllenging questions while user log in for first time

    Hi All,
    How to disable challenging questions while user log in for first time in OIM 10g and OIM 11g
    also i need to know how to change the Oracle logo with custom logo in both versions

    In 11G:
    To disable challenge questions at start up: http://download.oracle.com/docs/cd/E17904_01/doc.1111/e14308/system_props.htm#BABBDCJH (System Property Named: "Force to set question at start up)
    To change logo: http://download.oracle.com/docs/cd/E14571_01/doc.1111/e14309/uicust.htm#CHDIFJEJ
    In 10G:
    Dig the documentation.
    A suggestion, please go through the documents first as they have quite a bit of information.
    HTH,
    BB

  • How to start synchronization autometically while user login

    Hi,
        How can I set the mobile client so that while user log in, it will start synchronization automatically?
    Thanks & Regards,
    Subhayu

    Hi,
    for example you can start the SyncService automatically while the user accesses your applicaiton.
    Furthermore there are autoSync available - check the doku for exact parameters.
    But I think, sync while accessing the application would be the best solution for your behaviour.
    Regards,
    Oliver

  • How to generate username automatically while user creation in OIM.

    Hi all,
    Could you please send me steps for how to generate user name automatically by using adapter while creating the user in OIM.

    Follow this link:
    [http://download.oracle.com/docs/cd/B32479_01/doc.903/b32457/creadp.htm|http://download.oracle.com/docs/cd/B32479_01/doc.903/b32457/creadp.htm]
    It will help you to make each adapter which you want but for this you'll have to create entity adapter.

  • How do i set the proxy user in FF 3.6.13, this entry was existing earlier its gone now. using IE with entries in user account pwds works while FF doesn't.

    How do i set the proxy user in FF 3.6.13.
    previous versions had an entry for proxy user.
    its gone now.
    using IE with entries in user account pwds works while FF doesn't.
    too bad have to change back to IE :-(

    You can find the connection settings in Tools > Options > Advanced : Network : Connection
    See "Firefox connection settings":
    *[[Firefox cannot load websites but other programs can]]

  • My new nano keeps going into sleep mode every copy of minutes while music is playing.  I can't figure out how to stop this.  The user guide isn't too helpful.  Any ideas?

    My new nano keeps going into sleep mode every copy of minutes while music is playing.  I can't figure out how to stop this.  The user guide isn't too helpful.  Any ideas?

    This is usually a sign that your iPod's headphones are not plugged in all the way.  Make sure that you cannot see any of the silver still showing from the headphone's plug.  You should hear a sort of popping/clicking noise when inserting the headphones letting you know that they have been fully seated.
    B-rock

  • I was able copy the hardrive of my old macbook from "My Passport" onto the desktop on an older iMac. but i dont know how to make my hardrive and user name be the main one since someone had used it in the past and had their info on the comp. please help!

    I recently broke my 2008 macbook. i was able to use an external hardrive to back up my data onto My Passport. I was going to buy a new computer but a friend told me sher had an older version of the iMac. (not sure how old but it doesnt have a camera if that helps) i was able to hook it up and turn it on but i ran into a few problems. 1) the "authentic" user or whatever it says is someone who previously used the computer. i added me as a user but im not sure how to make me the main user. 2) after hooking up My Passport, i was able to drag my files and copy them to the desktop.(i think i did it correctly) now, i dont know how to make my hard drive and applications and iformation the "main " info. The current apps on the iMac are super old versions of iTunes and iPhoto and such. 3) while trying to open the apps from my macbook on the iMac, it said it didnt have the right software to open these apps.
    I am so computer illiterate so someone please help!!! Also, i do not have internet in my new apartment yet so if there is a way to make this happen without using the internet that would be preferred. sorry for the horrible spelling and poorly written paragraph.
    THANK YOU!!

    You are not going to be able to run your old system from the backup on this old computer as the hardware is incompatible.
    You need to get a new computer or a refurbished one.

  • How can I retain hyperlinks while saving a webpage as PDF via Print?

    How can I retain hyperlinks while saving a webpage as PDF via Print?
    This is the title of an apple forum question, and it is a bug in both Safari 5.1.3 and under, and I find it to also occur in Firefox browser (at least 9.* 10.*, 11.0), running on Lion OS (10.7.2, 10.7.3). See:
    https://discussions.apple.com/thread/3212301?start=0&tstart=0
    Under the newer Mac OS mentioned, and Firefox 10.2, 11.0, 9.*, if I select:
    File -> Print -> PDF -> Open PDF in Preview"
    (and view / save the PDF in Preview, you will see none of the links in the original web page are active
    or using
    File -> Print -> PDF -> Save as PDF...
    same problem. Try this using any Wikipedia page, for example.
    When this problem was posed in Apple forums, by a user of the Safari browser, it was found to be a bug (since Aug 2011) fixed in a Safari browser build 5.1.4 circa Jan 2012. I tried the newer Safari browser and sure enough the problem went away (except that links embedded in the PDF no longer appeared as blue text - ARGH - but "hover over" with the cursor showed the link and clicking the link in Preview viewer activated the link in a browser window).
    So I post this to the Mozilla community, please fix this 'cause I don't want to have to switch over to Safari browser every time I want to archive a PDF with active links!!!!
    P.S. I did a spot-check and with the newer add-on Enjoy Reading 1.0.1 and FF11.0. When the Enjoy reading formatted version appears in the browser window, all URLs/links are preserved and highlighted in blue, but when I print that browser window as PDF, the links are dead (don't work) even though they appear in blue in the PDF.
    So, what's going on, can the Safari fix be researched and applied to FF?
    Also, on some forums, people are responding, Well, try installing Acrobat reader. Well, I don't want to, Preview reader has worked fine for me for years.

    Thanks jscher2000.
    RE: -- '''Generally speaking, PDF converters that work by intercepting a print job do not have access to the URLs behind links in the page.''' --
    I cannot say I agree. I could email you a PDF clipping or two (generated from Safari on Mac OS, in its native capability with no add-ons) that shows you otherwise. When I used PC platforms I did have to install PDF converters (tried both free and expensive ones) that did what I describe.
    I cannot try the add-on you mention, '''Print Pages to Pdf.''' in Firefox. It shows in my browser and Mac OS platform "Not available for your platform." So I am guessing it was written for the PC version of Firefox.
    The Mac OS has had a native PDF-creation functionality for as many years as I have been using it; I used PC prior to that, Win3.1 through XP and NT. And on my PC, I bought (and at work, my employer bought $$$, I had to justify three levels up to management the ability to create PDFs on my work PC) some Adobe functionality to CREATE pdf's (readin's free and easy, makin' em's costly on the PC).
    I've gone and dug through some of my (Mac) doc and clipping archives, and I find that stuff I created after about Dec 2008 or so seems to eliminate all link functionality. When viewed in the Apple native "Preview" application (sort of Apple's equivalent to Adobe Acrobat reader, ships with the OS): link tags are highlighted/tinted, clicking a link opens a (default) browser and takes you there; hover-over the tag text shows the actual link. (Of course, not all old links are still VALID or point to the desired source.)
    I could, in Safari or FF browser window and with no add-ons or Adobe paid products whatsoever, use the native OS method to create PDF's from any application (word processor, spreadsheet, browser, etc) via the menu File -> Print -> Save as PDF menu and create a PDF that had active hyperlinks. In Apple OS Lion 10.7.3, I still can't when it uses this broken WebKit interface, links are "dead" as a doornail until a fix is distributed in WebKit for a future Lion release. It seems this functionality died at least as far back as Leopard OS 10.6.8, but don't quote me on that. Also, my version of Pages 2009 version 4.1(923) (sorta like Word) STILL creates a PDF document that preserves (1) text hyper-links within the document, and (2) web links (in the PDF) that open the browser. I just made a test document.
    When all you can see in the PDF is the tag text, there is nothing to copy-paste to follow any link. Also, hypertext links are often used by authors to create links to other points in a document: now even *that* is broken in the PDF version of the documents I retrieve from the web and print from FireFox (Broken in Safari 5.1.3 and earlier but fixed in 5.1.4).
    Try this on the PC, in your browser and print a news clipping as PDF, do the links in the PDF work? What products do this, and what don't? I would bet the machine with a full Adobe suite this will work flawlessly. (Why should a PC user have to pay hundreds of $ to create this functionality in what I thought was an open standard (PDF)? But that's talkin' religion, let's not start that.)
    Some folks might say,
    go online and find the original source doc in your browser. Or,
    go and add those links manually using the Preview edit add-link capability (hunh? no thanks) , or
    save each item worth saving as an HTML archive instead of a PDF (argh, creating a whole directory in the process, I might add, including ads). Or,
    who needs PDFs, everything is online.
    Or, buy some Adobe product.
    I think they miss my point. This is a real strange dumbing-down of archival PDF documents, or at least a destruction of the ability to use PDF as an archive that retains its links and references.
    C.F. the guy who has archives of scientific papers, and the old material all cross-references nicely but after date X there are no working links.

  • How do I delete my old user completely?

    It's more complicated than just deleting a user.
    I've just upgraded my Mac to Yose mite and deleted my old User and created a new user.
    I went to preferences and Users & Groups and I've checked it, i only see my new user as Admin.
    Though when I shut down and turn my mac back on the first thing it opens is my old "deleted" user type in its password and wait a while for it to load then it goes to my new user and i have to log in with that to get to my Desktop Screen.
    I've even tried this website (http://support.apple.com /kb/TS3981) and went to where to told me and find my old user but it's not there. I've even went into my User folder and my old user isn't there.
    How do I delete my old User so when i turn on my mac and it goes straight to my new user and then i would type in the new users password etc and go into it skipping my old user?
    Please help! Thanks.

    Open the Sharing pane of System Preferences and change the computer's name.
    (23562)

  • How many thousands of Apple TV users have to scream their complaints before Apple will respond to the fury over the impossibly slow download speeds of movies bought through iTunes??????

    How many thousands of Apple TV users have to scream their complaints before Apple will respond to the fury over the impossibly slow download speeds of movies bought through iTunes?

    As jules says, your rate (currently at least) may be slow.
    If it used to be good I wonder is your ISP is slowing ('throttling') your speed after you've used so many GB of a quota each day or month - check what they think you should be getting as a download speed.
    While Apple's servers do occasionally play up, it's generally the ISP being slow not Apple.
    If you're using Google's DNS servers that has caused issues for some.
    Recommended speeds for near instant playback:
    SD         2.5Mbps
    720p      6 Mbps
    1080p    8 Mbps
    Is your speed test from somewhere like speedtest.net?
    It might be helpful to post Mbps to ensure we/you are not confusing speeds by using different units to those measured.
    AC

  • How to Lock particular template for user editing.

    Hi Gurus,
    we have some templates created on top of infoset querrys to display the output in specific format. I want to lock particular templates for user modification. That means when the user is trying to change the template layout and try to save with the same name it should not allow to do that. if the user wants in another name then it must allow the user to do that.
    How can i achieve that.
    Thanks in Advance.
    Appreciate your help.

    Use a naming convention on templates with a particular prefix, ie ZCORP***.  Then create an authorization object that specifies that templates with the prefix ZCORP cannot be changed or deleted.  The user will be able to changed and save under a different name, but not the same one.
    Thanks for any points assigned.
    Regards -
    Ron Silberstein
    SAP

  • How do you Enable/Disable a user's ScreenSaver and set it's time

    How do you Enable/Disable a user's ScreenSaver and set it's "Start Screen Saver" time.
    I am writting an application in java which uses JNI and a screen saver to lock users out of the computer unless they enter the correct username and password.
    If they enter the correct password I need to Enable the ScreenSaver at a specific about of time (time can be changed remotely) so I can "log out" the user.
    I need to disable the screen saver after the screen saver runs so that it doesn't run while the java login program is running.
    I have this working already on Windows XP but can't find any way to program this on Mac OS X.
    Thank you for any help!

    http://forums.macosxhints.com/showthread.php?t=61525
    Disable
    defaults -currentHost write com.apple.screensaver idleTime 0
    Enable for 180 seconds
    defaults -currentHost write com.apple.screensaver idleTime 180

  • How can I share bookmarks with users

    How can bookmarks be shared with users.
    Ideally I would like the users to see or have acces to a folder or link to 'other bookmarks' when they login.
    Any suggestions?
    Thank you

    I puzzled this out a while back. Lets see if i can at least point you in the right direction.
    From the Admin account open System Prefrences>Sharing
    on the left there is a check box for "file Sharing" check this box.
    to the right you can add folders, add "iTunes Media"
    then you can add Users. add the users that can share that folder.
    then open the other account that wants to share that folder.
    open their iTunes>Prefrences>Advanced. Uncheck the box that says "Copy files to iTunes Media folder when adding to library"
    then open Finder and the shared iTunes Media folder should be on the left... (fingers crossed)
    the only problem is that any time you add media to the admin account, you have to go into the other account and add it to that itunes.
    hassle, but it's what i do.
    Good Luck

  • How do I convert a standard user to an administrator if i have no other admins on the computer, re-bootimg NOT an option,  please help!!!!!!

    how do I convert a standard user to an administrator if i have no other admins on the computer, re-bootimg NOT an option,  please help!!!!!! 

    Please take these steps to restore administrator privileges to your account. This somewhat tedious procedure is only necessary if you've confirmed that no adminstrator account exists on the system.
    If you don't already have a current backup of all your data, you must back up before taking any of the steps below. Ask if you need guidance. You won't need the backup unless something goes wrong—which is always a possibility.
    Step 1
    Start up in Recovery mode. The OS X Utilities screen will appear.
    Step 2
    Take this step only if you use FileVault 2. Launch Disk Utility, then select the icon of the FileVault startup volume ("Macintosh HD," unless you gave it a different name.) It will be nested below another icon with the same name. Click the  Unlock button in the toolbar and enter your login password when prompted. Then quit Disk Utility to be returned to the main screen.
    Step 3
    Select
    Utilities ▹ Terminal
    from the menu bar. In the window that opens, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window opens. Select your startup volume if not already selected. Pull down the menu labeled
    Select the user account
    and select
    System Administrator (root)
    Follow the prompts to set a password. It's safest to choose a password that includes only the characters a-z, A-Z, and 0-9. I suggest you write down the password. If you don't write it down and forget it, you'll have to start over from Step 1.
    Select
     ▹ Restart
    from the menu bar.
    Step 4
    This step, like Step 2, applies only if you use FileVault. Log in as usual, then select
     ▹ Log Out...
    from the menu bar, or press the key combination shift-command-Q. Don't restart. You'll be returned to the login screen.
    Step 5
    At the login screen, click Other... Enter "root" (without the quotes) in the Name field, and enter the password you set in Step 3 in the Password field. You should now be logged in as root. This is a potentially dangerous condition. Do nothing while logged in as root except as indicated below. You'll be fine as long as you don't deviate from the plan.
    Open the Users & Groups preference pane. Select your usual administrator account in the list of users and check the box marked
    Allow user to administer this computer
    You'll be prompted to restart. Do that and log in as yourself—not as root. Your administrator status should now be restored.
    Step 6 (optional, but recommended)
    Follow the instructions in this support article under the heading "Disable the root user." You must authenticate in Directory Utility as "root" with the password you set in Step 3. Authenticating as another administrator won't work.
    Credit for this idea to ASC member wessongroup.

  • How to find the number of users  connected to database from OS level(Linux)

    Hi All,
    Could anyone know , how to find the number of users connected to database without connecting with sql*plus
    is there any command to find it?
    example we have 10 databases in one server, how to find the number of users connected to particular database without connecting to database(v$session)?
    oracle version:- 10g,11g
    Operating System:- OEL4/OEL5/AIX/Solaris
    any help will be appreciated.
    Thanks in advance.
    Thank you.
    Regards,
    Rajesh.

    Excellent.
    Tested, works as long as you set the ORACLE_SID first ( to change databases )
    ps -ef | grep $ORACLE_SID | grep "LOCAL=NO" | awk '{print $2}' | wc -l
    Thanks!
    select OSUSER
        from V$SESSION
    where AUDSID = SYS_CONTEXT('userenv','sessionid')
        and rownum=1;Best Regards
    mseberg

Maybe you are looking for

  • Regular expressions with boolean connectives (AND, OR, NOT) in Java?

    I'd like to use regular expression patterns that are made up of simple regex patterns connected via AND, OR, or NOT operators, in order to do some keyword-style pattern matching. A pattern could look like this: (.*Is there.*) && (.*library.*) && !((.

  • Email Vendor Remittance Advice

    Hi, We have a requirement of emailing vendor remittance, I have activate the BTE 2040 and it is working fine for me. Now my question is I need your help in two areas 1) Changing the file name, currently it is generating payment advice note dated XXXX

  • Pages recovery and trouble ****

    Okay people I am dying here. Im chocked. im piffed. My little nephew got on my work computer. BAM he deleted almost everything, including my Book i've been writing for the past 4 years... yes yes... data recovery 3? I think so. BUT..... i got one fre

  • Edge animate - drag on touch devices

    Hi there, I hope someone maybe able to help with some issues I have with my experiments with 'Drag and Drop' on touch devices. I am using Edge Animate CC 2014.1 (Not sure if this is part of the problem) Using 'Touch Punch' I am able to drag and drop

  • Recommendation for FHA mortgage lender in Michigan?

    Hey folks! I'm gearing up for my 2016 home ownership quest and am in search of a good mortgage lender/broker in Michigan. I am a first time home buyer who is confused as heck and knows next to nothing about the process except that I need at least a 6