Page 1 of 3 123 LastLast
Results 1 to 15 of 32

Thread: Animated/varying gradient keys: uses for? : Transition to Fall effect

  1. #1
    Axes grinder- Dongle #99
    Join Date
    Jul 2003
    Location
    Seattle
    Posts
    14,737

    Lightbulb Animated/varying gradient keys: uses for? : Transition to Fall effect

    TMK only once have I seen anybody have a use for ANIMATING the key positions in a Gradient. (I think it was bryphii77 and I don't remember why. Something about deformation....)

    So, 1) does anybody have a use for animating the position of Gradient keys?

    And, 2) I think I just saw a use for that.

    I was watching Deuce Bennett's (SIGGRAPH?) presentation on Instancing and he used INSTANCE ID to vary the color of a matrix of trees to a variety of "fall colors". That's nice, but static, and it occurred to me that if you could animate (which you can) the position of the Gradient keys, you could animate the entire grove of trees smoothly from vibrant Spring and Summer greens to a variety of Fall reds and oranges.
    They only call it 'class warfare' when we fight back.
    Praise to Buddha! #resist
    Chard's Credo-"Documentation is PART of the Interface"
    Film the cops. Always FILM THE COPS. Use this app.

  2. #2
    Vacant, pretty vacant pinkmouse's Avatar
    Join Date
    Aug 2003
    Location
    South Yorkshire
    Posts
    1,703
    Animating keys is great for nodal motion, (just make sure you're in linear colourspace).
    Al
    "I conceive of nothing, in religion, science or philosophy, that is more than the proper thing to wear, for a while." Charles Fort

    My Website
    My Lightwave Tutorials

  3. #3
    Axes grinder- Dongle #99
    Join Date
    Jul 2003
    Location
    Seattle
    Posts
    14,737
    Quote Originally Posted by pinkmouse View Post
    Animating keys is great for nodal motion, (just make sure you're in linear colourspace).
    1) How about some examples? Without a concrete principle I have trouble imagining it.

    2) !?!?..... oh, because the Gradient is color based? I guess you'd use Alphas (???) if you just wanted a ....scalerish value. Wait, are alphas immune to the changes of colorspace?
    They only call it 'class warfare' when we fight back.
    Praise to Buddha! #resist
    Chard's Credo-"Documentation is PART of the Interface"
    Film the cops. Always FILM THE COPS. Use this app.

  4. #4
    Eat your peas. Greenlaw's Avatar
    Join Date
    Jul 2003
    Location
    Los Angeles
    Posts
    7,192
    Quote Originally Posted by jeric_synergy View Post
    2) !?!?..... oh, because the Gradient is color based? I guess you'd use Alphas (???) if you just wanted a ....scalerish value. Wait, are alphas immune to the changes of colorspace?
    Not necessarily but good thought. Coincidentally, I just now put in a request for a CS switch for the Gradient node. I imagine there might be other nodes that could benefit from this switch but Gradient is the one that stands out for me.

    Alternatively, I understand that you can use a third party Change CS node to fix this. (I think you can download it free from DB&W). Either way, I feel controlling CS in the nodes editor should be a native feature since some studios may prefer to run 'vanilla only' Lightwave.

    G.

  5. #5
    Axes grinder- Dongle #99
    Join Date
    Jul 2003
    Location
    Seattle
    Posts
    14,737
    It's possible that the... Gradient Curves?... node is immune to CS issues.... possible...

    Still looking for examples of animating the keys' positions...
    They only call it 'class warfare' when we fight back.
    Praise to Buddha! #resist
    Chard's Credo-"Documentation is PART of the Interface"
    Film the cops. Always FILM THE COPS. Use this app.

  6. #6
    Vacant, pretty vacant pinkmouse's Avatar
    Join Date
    Aug 2003
    Location
    South Yorkshire
    Posts
    1,703
    To do stuff like this:



    All driven by nodal motion apart from the keyframed UFO.

    Can't show you the nodes yet as I promised the reveal to the London user group first.
    Al
    "I conceive of nothing, in religion, science or philosophy, that is more than the proper thing to wear, for a while." Charles Fort

    My Website
    My Lightwave Tutorials

  7. #7
    Vacant, pretty vacant pinkmouse's Avatar
    Join Date
    Aug 2003
    Location
    South Yorkshire
    Posts
    1,703
    Quote Originally Posted by Greenlaw View Post
    Coincidentally, I just now put in a request for a CS switch for the Gradient node.
    I did that about six months ago, haven't seen it yet.
    Al
    "I conceive of nothing, in religion, science or philosophy, that is more than the proper thing to wear, for a while." Charles Fort

    My Website
    My Lightwave Tutorials

  8. #8
    Axes grinder- Dongle #99
    Join Date
    Jul 2003
    Location
    Seattle
    Posts
    14,737
    Quote Originally Posted by pinkmouse View Post
    To do stuff like this:
    All driven by nodal motion apart from the keyframed UFO.
    Can't show you the nodes yet as I promised the reveal to the London user group first.
    Since you can't show me the network, perhaps you could describe situations/scenarios/principles wherein someone would animate the keys' positions.

    Thanks.
    They only call it 'class warfare' when we fight back.
    Praise to Buddha! #resist
    Chard's Credo-"Documentation is PART of the Interface"
    Film the cops. Always FILM THE COPS. Use this app.

  9. #9
    Eat your peas. Greenlaw's Avatar
    Join Date
    Jul 2003
    Location
    Los Angeles
    Posts
    7,192
    Quote Originally Posted by pinkmouse View Post
    Can't show you the nodes yet as I promised the reveal to the London user group first.
    That's pretty cool! I hope you will share the secret with the rest of the world after the presentation...very curious to see your setup.

    Quote Originally Posted by pinkmouse View Post
    I did that about six months ago, haven't seen it yet.
    Yeah, I imagine a lot of users have asked for this.

    G.

  10. #10
    Vacant, pretty vacant pinkmouse's Avatar
    Join Date
    Aug 2003
    Location
    South Yorkshire
    Posts
    1,703
    Quote Originally Posted by jeric_synergy View Post
    Since you can't show me the network, perhaps you could describe situations/scenarios/principles wherein someone would animate the keys' positions.

    Thanks.
    Okay, imagine the aim of the missile launcher. It has a fixed "standby" starting position, (one end of the gradient), and a variable "aim" position, (the other end), fed by frame number. Now add an animated key with the same settings as the standby position somewhere in the middle, and you can use something else, say the UFO speed, to trigger exactly when the launcher starts its aim routine. That way the tracking does nothing whilst the UFO dawdles around, but as soon as it starts moving quickly, it's located and tracked. Just like doppler radar.
    Al
    "I conceive of nothing, in religion, science or philosophy, that is more than the proper thing to wear, for a while." Charles Fort

    My Website
    My Lightwave Tutorials

  11. #11
    Axes grinder- Dongle #99
    Join Date
    Jul 2003
    Location
    Seattle
    Posts
    14,737
    !? "Trigger"? Well, I guess I'll have to wait 'til after your presentation.
    They only call it 'class warfare' when we fight back.
    Praise to Buddha! #resist
    Chard's Credo-"Documentation is PART of the Interface"
    Film the cops. Always FILM THE COPS. Use this app.

  12. #12

  13. #13
    Vacant, pretty vacant pinkmouse's Avatar
    Join Date
    Aug 2003
    Location
    South Yorkshire
    Posts
    1,703
    Okay, I'll simplify a little. Suppose you have an animation of a gun firing and recoiling. To do the recoil you might have the motions defined by three keyframes in an animation, 1)barrel forward, 2) barrel back, 3)barrel forward again. You set up the gradients to give you the required animation, say fast recoil then slower return to position. But you may not want to be constantly going in and changing keyframes every time the director wants the timing changed in the shot, so you set up a constant with the frame number you want the animation to start. Using this constant, you pump in the position of the first key to key one on the gradient, add say, five frames, and use this value to drive the position of the second keyframe, and ditto for the third. Thus the animation starts exactly when you want it, runs exactly the same each time, but can be changed by just altering one value.

    Does that make any more sense?
    Al
    "I conceive of nothing, in religion, science or philosophy, that is more than the proper thing to wear, for a while." Charles Fort

    My Website
    My Lightwave Tutorials

  14. #14
    Eat your peas. Greenlaw's Avatar
    Join Date
    Jul 2003
    Location
    Los Angeles
    Posts
    7,192
    Thanks for taking the time to explain. I think I understand--will have to play around with that tonight.

  15. #15
    Vacant, pretty vacant pinkmouse's Avatar
    Join Date
    Aug 2003
    Location
    South Yorkshire
    Posts
    1,703
    Just setting up a quick scene myself. It was that or playing with the jet engine/hypervoxels thing in another thread.
    Al
    "I conceive of nothing, in religion, science or philosophy, that is more than the proper thing to wear, for a while." Charles Fort

    My Website
    My Lightwave Tutorials

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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