Page 15 of 64 FirstFirst ... 511121314151617181925 ... LastLast
Results 141 to 150 of 636

Thread: The LSX tutorials thread!

  1. #141
    Join Date
    May 2013
    Location
    Fort Mill, SC
    Posts
    556

    Default

    Excellent Thanks

  2. #142
    Join Date
    Sep 2007
    Location
    Essex, England
    Posts
    800

    Default

    Hi guys. Can someone do a mini tutorial on how to apply an effect to multiple targets please?

    E.g. I have about 7 things affecting one animation object.
    I want to temporarily use all the effects on two animation objects but don't want to duplicate them all and really messing up the layout.

    Thanks :-)
    Will share show once I've finished.
    Graham

  3. #143
    Join Date
    Jul 2008
    Location
    My momentum is too precisely determined :S
    Posts
    1,777

    Default

    You can right-click an event and select "Edit properties of this event", where you can select which tracks it needs to affect ("Influence output track"). I heard this feature is somewhat bugged, but I haven't investigated myself as I like to copy paste events under the source events instead of using this trick. Just experiment along and report anything that looks like it's off to drlava.
    Copy-pasting isn't that bad... just shift+drag to select the events, hold ctrl and drag the events to the new space. Unless you have severe OCD about how your timeline looks like :P

  4. #144
    swamidog's Avatar
    swamidog is offline Jr. Woodchuckington Janitor III, Esq.
    Join Date
    Nov 2006
    Location
    santa fe, nm
    Posts
    1,545,796

    Default

    even my most cluttered timelines aren't bad...

    Click image for larger version. 

Name:	pump-timeline.jpg 
Views:	43 
Size:	173.0 KB 
ID:	39533

    Quote Originally Posted by colouredmirrorball View Post
    Unless you have severe OCD about how your timeline looks like :P
    suppose you're thinkin' about a plate o' shrimp. Suddenly someone'll say, like, plate, or shrimp, or plate o' shrimp out of the blue, no explanation. No point in lookin' for one, either. It's all part of a cosmic unconciousness.

  5. #145
    Join Date
    Sep 2007
    Location
    Essex, England
    Posts
    800

    Default

    Thanks :-)
    I don't mind too much about copy and pasting. It's the select tool that doesn't work too well. The drag and select elements doesn't seem to work.

  6. #146
    swamidog's Avatar
    swamidog is offline Jr. Woodchuckington Janitor III, Esq.
    Join Date
    Nov 2006
    Location
    santa fe, nm
    Posts
    1,545,796

    Default

    if you have problems with the select tool, just zoom in a little.

    Quote Originally Posted by laserLips View Post
    Thanks :-)
    I don't mind too much about copy and pasting. It's the select tool that doesn't work too well. The drag and select elements doesn't seem to work.
    suppose you're thinkin' about a plate o' shrimp. Suddenly someone'll say, like, plate, or shrimp, or plate o' shrimp out of the blue, no explanation. No point in lookin' for one, either. It's all part of a cosmic unconciousness.

  7. #147
    Join Date
    May 2013
    Location
    Fort Mill, SC
    Posts
    556

    Default

    I would like to have the effect of a bouncing ball going across the screen that bounces less and less each time. I know that I can use an expression on the pre-move y to take the absolute value on a sin wave to create the bouncing effect. However I do not know how to add the exponential part of the effect to make it bounce less and less each time. Basically I am trying to figure out the syntax of how to combine a sin wave and exponential function in the same equation.

  8. #148
    Join Date
    Jul 2008
    Location
    My momentum is too precisely determined :S
    Posts
    1,777

    Default

    Just multiply them together: exp(-t)*|sin|.

    Example expression: exp(-etime*5)*abs(sin(phase*10)*0.5+0.5)

    You can alter the decay rate by changing the argument of the exp()-function: the larger, the faster it will decay. Notice that you need to put the rescaling constants of the sine wave inside the abs() function.
    Due to the way maths is set up in LSX, the ball will bounce at the "ceiling", so either swap the upper and lower limits, or change te expression to -exp(-etime*5)*abs(sin(phase*10)*0.5+0.5)+1 .

  9. #149
    Join Date
    Mar 2006
    Posts
    2,478

    Default

    If you know what base those EXP's are in, you could LOG those sines to same, then add instead of multiply, and do EXP after on the result. Fast. At least, it is if you can get all the log(sine)s you want into a lookup table first.

  10. #150
    Join Date
    Jul 2008
    Location
    My momentum is too precisely determined :S
    Posts
    1,777

    Default

    The base is just Euler's constant.

    I'm not entirely sure what you mean by fast... do you mean the processor calculates your way faster? There's not really a need in lsx to think about optimizing code, at least not with such simple expressions.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •