Results 1 to 14 of 14

Thread: Animating Gears Problem.

  1. #1
    Registered User
    Join Date
    Mar 2010
    Location
    Wrexham
    Posts
    152

    Animating Gears Problem.

    Hey is this possible to do with Dynamics? I'm doing a project for uni and can't really use Lightwave 11 Having to Use Lightwave 9.6

    Can someone take a look at the attached scene and possible tell me where i'm going wrong please?

    The first cog is spinning but its not really doing anything to the other cog when comes into contact with it, have no idea why.

    Maybe because I have the settings wrong on something more than likely.

    Thanks.
    Attached Files Attached Files

  2. #2
    Axes grinder- Dongle #99
    Join Date
    Jul 2003
    Location
    Seattle
    Posts
    14,726
    Didn't look but: in general dynamics for gears is a bad strategy, just too problematical.

    If at all possible (maybe your instructor insisted you use dynamics), expressions are going to be far more reliable.
    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.

  3. #3
    Registered User
    Join Date
    Mar 2010
    Location
    Wrexham
    Posts
    152
    We are allowed to use keyframe for some things so maybe I should use it for this lol.

    Thanks for the feedback mate much appreciated.

  4. #4
    LW vidz   DPont donate   LightWiki   RHiggit   IKBooster   My vidz

  5. #5
    Axes grinder- Dongle #99
    Join Date
    Jul 2003
    Location
    Seattle
    Posts
    14,726
    Expressions are pretty simple, especially once you start CUTTING AND PASTING them. That makes them tonnes easier.

    Then you only have to keyframe one item, and the rest of the 'mechanism' is driven thru expressions to comply.
    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
    Super Member XswampyX's Avatar
    Join Date
    Aug 2010
    Location
    Kernow
    Posts
    2,069
    You could just use the channel follower. Just link the gears rotation B to Gear:Layer1;Rotation B

    Then as you rotate the 1st gear the rest follow. I see you have moved your gears in modeler to make them line up.... This is a bad idea, the centre of rotation for each gear will be in a different position!

    I could post the scene, but I don't have to do homework any more.

    Good luck.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	3Gears.png 
Views:	118 
Size:	271.6 KB 
ID:	103936  

  7. #7
    Axes grinder- Dongle #99
    Join Date
    Jul 2003
    Location
    Seattle
    Posts
    14,726
    Quote Originally Posted by XswampyX View Post
    You could just use the channel follower. Just link the gears rotation B to Gear:Layer1;Rotation B
    ??? Gears rotate in alternating direction, #1 clockwise, #2 counter-clockwise, #3 clockwise again.

    A "-1" is going to have to sneak in there somewhere.

    Easy-peasy w/Expressions.

    EDIT: actually, channel follower would work if you flipped gear #2 180° on its Heading. Since we'd then be looking at its back, the clockwise rotation would be reversed.

    Of course, Expressions allow you to accurately have gears of different sizes being driven.

    http://www.youtube.com/watch?v=qLPasjBPUlM&feature=plcp
    Last edited by jeric_synergy; 04-29-2012 at 03:36 PM.
    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.

  8. #8
    Super Member XswampyX's Avatar
    Join Date
    Aug 2010
    Location
    Kernow
    Posts
    2,069
    Well spotted.

    It's -100% on gear number 2

  9. #9
    Super Member SplineGod's Avatar
    Join Date
    Feb 2003
    Location
    Hastings, New Zealand
    Posts
    7,731
    Heres your same scene,
    I added Relativity to the gear in layer 1
    so that it follows gear layer2s rotation.
    Relativity has a professor (like a wizard) that
    is specifically designed to help animate gears. Its
    called Dr Gear Grinder. In your case the gears are the same
    diameter so it was easier but its very helpful
    with gears of different diameters. Basically you
    input the gear diameters, which gear is the driving
    gear and Dr Geargrinder creates the expression for you.
    Attached Files Attached Files
    Last edited by SplineGod; 04-29-2012 at 05:10 PM.

  10. #10
    Scene Destroyer DrStrik9's Avatar
    Join Date
    May 2007
    Location
    Portland, Oregon
    Posts
    1,684
    Agreed. I always thought Relativity was made for the likes of gears. It doesn't get much attention these days, but it is one of the finest bits of code ever written for LW.

  11. #11
    Super Member SplineGod's Avatar
    Join Date
    Feb 2003
    Location
    Hastings, New Zealand
    Posts
    7,731
    The cool thing about relativity is that you end up with some kind of expression.
    It takes a lot of time to really learn the syntax and sometimes the math involved with
    more complex setups. Relativity has several professors that make the setup
    process go alot faster, creating an expression that at least you can
    go back and analyze later.

  12. #12
    Scene Destroyer DrStrik9's Avatar
    Join Date
    May 2007
    Location
    Portland, Oregon
    Posts
    1,684
    Yes. Even better were the days before Relativity was integrated into LW, you could email Prem and he would explain how to do strange and wonderful things, and give you the commands and syntax. The Rel docs are hilariously cool too.

  13. #13
    Super Member SplineGod's Avatar
    Join Date
    Feb 2003
    Location
    Hastings, New Zealand
    Posts
    7,731
    Relativity was the tool of choice before LW had native expressions. They are still better in a lot of ways and Im glad NT aquired it.

  14. #14
     
    uploaded a preview of the Relativity scenes here btw,...
    http://www.youtube.com/watch?v=3qXGPFf3mq4

    (gears can be seen 4:30 into the video...)
     
    Last edited by erikals; 04-30-2012 at 10:09 AM.
    LW vidz   DPont donate   LightWiki   RHiggit   IKBooster   My vidz

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
  •