PDA

View Full Version : Train Rig


Julez4001
07-28-2011, 04:22 PM
Has anyone came up with a rig for a train system that allows for individual cars of the train to be adjusted but still flow the path of a track.

I've seen William Vaughn 24 hr "roller coaster" tutorial but it seems locked to the morphing.

Cageman
08-02-2011, 09:49 PM
This doesn't help much right now, but I can think of a couple of ways to achive what you want. It would require some technical rigging and preparations with carefull measurements etc.

It is a good and fun challenge to come up with a solid solution. I'll see what I can do, but don't sit and wait for me (or someone else) to come up with a solution for you.

:)

Cageman
08-06-2011, 06:56 PM
I finaly got to sit down and do some testing...

http://hangar18.gotdns.org/~cageman/trainRig/trainRig_clothDynamics.m4v

Individual control of the carts (as in, you can add a bone and have each cart have different "dynamics" to them) as well as wheels.

Oh well... I will tinker some more on this and make some suggestions to NT as well for future versions of LW.

:)

Julez4001
08-07-2011, 05:13 AM
Okay I am intrigued.
How did you set it up?

proton
08-07-2011, 04:39 PM
The way I would set up a fully controllable rig for a train would be to start with the morphing technique I use in that video to get the first pass of motion. Then I would use the make path option so that I could get individual nulls with the proper motion for each section of the train. Then you can setup a hierarchy for the different components that can all be hand keyed to your liking.

This would give you an easy way to setup the motion to follow the tracks while still giving you the freedom of secondary motion on the individual components.

Cageman
08-07-2011, 09:03 PM
The way I would set up a fully controllable rig for a train would be to start with the morphing technique I use in that video to get the first pass of motion. Then I would use the make path option so that I could get individual nulls with the proper motion for each section of the train. Then you can setup a hierarchy for the different components that can all be hand keyed to your liking.

This would give you an easy way to setup the motion to follow the tracks while still giving you the freedom of secondary motion on the individual components.

True... however, each step you perform requires a "freezing" process, meaning that as soon as you need to change the curve, you are back at square one.

The technique I use with node item motion makes the whole rig much more adaptable to changes without the need to bake anything. In the case of the demo I made, I used clothFX, but if you use particles, you don't need to calculate, which means that you can dynamicly change the path and everything will respect the changes. :)

Cageman
08-07-2011, 09:27 PM
Particles controlls the various parts of the train as far as steering goes, while the particles motion is controlled by wind animation path.

No baking nor calculation needed... the only issue I have with this solution is that, for some reason, the initial "gap" between the carts are not keept througout the animation. That is why I think the clothFX method is better and while not as flexible (as in needing a recalc when changing the path), the clothFX method is also free from the need of baking, and thus, is much more flexible in the long run, I think.

Here is a short demo showing why Particles + Wind animation path is so extremely flexible. :D

http://hangar18.gotdns.org/~cageman/trainRig/particlebased_rig.mp4

:)

earwax69
08-08-2011, 01:09 AM
Good job mister Cageman!!

proton
08-08-2011, 04:22 PM
much more elegant.... but elegance was never my technique :P

I'll have to give your setup a go when I can... sounds like a smart pipeline.

True... however, each step you perform requires a "freezing" process, meaning that as soon as you need to change the curve, you are back at square one.

The technique I use with node item motion makes the whole rig much more adaptable to changes without the need to bake anything. In the case of the demo I made, I used clothFX, but if you use particles, you don't need to calculate, which means that you can dynamicly change the path and everything will respect the changes. :)

earwax69
08-08-2011, 11:43 PM
Hey Cageman, dont hesitate to make a tutorial out of it, even without sound. Just redo the scene from scratch while recording it with a screen capture app and upload to youtube of vimeo!!

I would really like to see that

softdistortion
08-09-2011, 12:52 PM
Cageman- I realize it's not the main point, but I really liked the camera movement you setup in the cloth version. :thumbsup:

Would also appreciate some details on your setup. :)

Cageman
08-16-2011, 11:44 PM
Hi guys,

I just wanted to let you guys know that I am looking into a third solution that might work out even better without the use of dynamics (as in no calculations) but still with the same flexibility as what you guys saw with the particle solution. I'm not sure this solution will work out just yet though.

And, yes... all of this will of course become a neat and dandy videotutorial, free of charge, and hopefully also with the content provided.

I hope to be able to showcase all three methods, which all actually needs the same type of preparations in Modeler, and are based on the same principle; animate/simulate a 2-point polychain, and the rig, once setup, will do all the work for you.

:)

Oh, and yes... I will not forget to mention how the camera is done. :D

softdistortion
08-17-2011, 12:09 AM
What a sweet surprise...looking forward to it very much!

Julez4001
08-17-2011, 02:09 AM
GO Cageman!

lardbros
08-18-2011, 10:02 PM
Cool... thanks for this Cageman! Looking forward to another superb tutorial vid. Where do you find the time? :D

TheRazorsEdge
08-19-2011, 11:33 AM
... And, yes... all of this will of course become a neat and dandy videotutorial, free of charge, and hopefully also with the content provided.
......

Sounds great! Looking forward to it.

Cheers!

PeteS
08-23-2011, 09:38 PM
That is looking pretty damn sweet. Love the camera work too there buddy.

Cageman
08-24-2011, 10:01 PM
That is looking pretty damn sweet. Love the camera work too there buddy.

Thanks! :)

Things are progressing regarding methology to make things work on my end as well... I think, within a couple of days I can start recording a tutorial. It depens though, how I spend the rest of my vaccation. ;) I've gotten into a quite nice metal-music writing mood at this point as well, so... I have to hammer on the drums and bother the strings on my guitar.

:D

Cageman
08-31-2011, 08:19 PM
Yes! Bryphi again.. He will most likely beat me to it. :) And his approach made me go like...wtf, can LW do that? Really, really cool. :)

He has taken care of the tracks/railroad in the first video. The second (which has not been released yet) will deal with getting the train on there.

Check it out!

http://www.youtube.com/watch?v=48WyVJP_8sI&feature=digest_wed

softdistortion
09-02-2011, 12:17 AM
Nice, thanks for the link. ;)

Julez4001
09-02-2011, 03:09 AM
Yep I requested him to do this for me a few weeks before I started this thread
He was a little busy but the man delivers... off to paypal.

SLiTHER
09-02-2011, 06:38 AM
Thats pretty nice indeed, well done Cageman and Bryphi!!

TheRazorsEdge
09-02-2011, 11:06 AM
Thanks a lot for the link! Looking forward to part 2. :)

Cheers!

Cageman
09-03-2011, 01:25 AM
I will still do my tutorial as well, since it is doing things differently. While I think Bryphis approach to this is far, far more efficient (both in time as well as memory consumption because of clever use of DPInstance), my method will lend itself better in situations where you actually have to take the assets outside of LW.

:)

TheRazorsEdge
09-03-2011, 10:54 AM
Sounds great, so I'm looking forward to your tut just as much. :)

Cheers!

softdistortion
09-18-2011, 07:34 PM
**bump** **bump** **bump**

Cageman
09-18-2011, 07:59 PM
Haha. :)

I understand that you guys are eager to get this stuff, and trust me... I would want this tutorial done and posted allready. :) Trouble for me is time, right now I have far more important stuff to do, and, sadly, I have to change priority and a tutorial that will cost $0 is way down on the list. Hope you guys understand that... :)

I know how frustrating it is to see a teaser and then no delivery, but safe to say is that I havn't forgotten about this at all.

Patience... there WILL be a tutorial, but at the moment, I can't say when I will have it finished.

:)

Julez4001
02-09-2012, 06:15 AM
Just bumping up my thread for fresh eyes.

bearfoot
02-13-2012, 10:12 AM
great work.. i really love the camera work.. any tips on how you achieved that ?

once again - excellent stuff.

Joker II
02-19-2012, 06:56 PM
That is/was impressive !

CGTalk Moderation
02-19-2012, 06:56 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.