Monday 11 June 2012

Cab view

Just a quick post to say I have been busy these last few weeks, just haven't updated the blog.

Have been working on a cab view for the Cauliflower and here's a view of the work so far.


The modelling and animation is finished but there are one or two scripting issues that need resolving. Pete(karma99) is helping out on the lua front and we hope to have the glitches fixed soon.

Monday 30 April 2012

Joy Valve Gear

While looking for something else entirely, I chanced across a drawing of the inside Joy Valve Gear for a Webb 18" 0-6-0 loco, also nicknamed "Cauliflower".

Could not resist the temptation to retro fit my Cauliflower model, so, with the help of Mike Adams tutorial on creating valve gear using 3ds max bones,(UKTS File ID 26781) I got to it.

Three days and considerable hair loss later, I'm proud to display the results of my endeavours.




Mike's tutorial doesn't cover the Joy Valve Gear, but without the hints and tips I got from his work I don't think I'd have cracked this one. So, thanks Mike.

Friday 20 April 2012

Going to Church

A UKTS forum member pointed out there was a considerable shortage of churches in RailWorks, so I got carried away and built a few.

Saturday 17 March 2012

Coal crane

Some time ago I had a problem with the animation of the coalcrane for Pilton yard on the L&B. At the end of its animation it would suddenly jump to the out position.



Geoff Potter had a similar problem with his water column and has managed to resolve the issue. Essentially, you need two animations, one with an IA file ending in _activate and one ending in _deactivate and in the blueprint you need two animation fields, one with an ID of activate and one with an ID of deactivate.

I applied this to my model and hey presto, it works. Many thanks to Geoff.

Tuesday 6 March 2012

Container Transfer Point

The RMG (rail mounted gantry) is finished, after resolving the problems mentioned in my previous post.


In addition to the static version I also created an animated one, plus two transfer point versions.



I would like to take this opportunity of thanking Dick Ham. whose help was important in realising the release of the transfer variants.

Transfer Point Problems

I have struggled for several days with a problem transfer point container crane and have just resolved the issue and want to record the details for the benefit of others.

When I ran the animation to unload a container from a wagon the system would crash with a SBHH (something bad has happened) report. I eventually realised that my animation was finishing before the container disappeared and wondered if this was an issue.

I lenghtened the animation time by a couple of seconds and this allowed the container to disappear first and the SBHH no longer occurred. Problem solved and another lesson learned.

Sunday 26 February 2012

Container Cranes

Carrying on the container theme I fulfilled a request for some of these...



I have now received a further request for one of these.



Decided to give it a go because its a crane, which I can't resist, but also, it gives me the opportunity to try and make it a transfer point object and animate it to actually load the train. Should be interesting. :)

Friday 17 February 2012

Problems with oil drums

Jim Nobbs contacted me to say there was a problem with the oil drum clutter items I had made fior Railworks, since the upgrade to TS2012 and he sent me this video to illustrate the issue.



At first I thought the problem must be with the stencil shadow, but amendments to that made no difference. Then I remembered that these were the 2nd models I had made in 3ds max, when I was struggling with the concept of kuju shaders (still struggling). When I checked, I had used TrainBumpSpec.fx which doesn't appear to be supported by TS2012, so I replaced the shader with TrainBasicObjectDiffuse.fx and that resolved the issue.

A fix has been posted on UKTS.

Container Stacker

Continuing the container port theme I have modelled a container stacker.


Two of the models are static but I decided to animate the third one. This created a number of learning curves for myself.

Obviously, the various parts had to be linked together, so they moved as a unit. Having linked everything it was necessary to assign controllers to each link. It is possible to define what attributes an object will inherit from its parent. So, for instance, the lifthead is set to inherit movement from the extender, but not rotation. Consequently when the arm is raised the lifthead stays parallel to the ground because it doesn't inherit the rotation.

Having linked the relevant parts, their pivot points had to be moved to reflect the animation I would be applying. So, for instance the main arm is pivoted at its attachment point to the body.


The problems started with the cylinder and piston. They need to move and rotate, but they don't rotate by as many degrees as the arm. This is resolved by the magic animation command the look at constraint. I have added one to the cylinders which means they always point towards the pivot point of the pistons. It was necessary to have the opposite situation, where the piston look at the cylinder pivot point, but this is illogical in computer terms, however, I got round it by placing a dummy at the cylinder pivot point and getting the pistons to look at the dummy.

So now, when the arm is rotated, the cylinders and pistons remain in line with each other, as shown below. [The thin blue lines are the look at constraints]


Having got the moving parts linked and constrained, it was time to animate which was comparatively straight forward, until I ran the resulting video. Nothing seemed to work properly and it took me a couple of days to realise my errors. Firstly, how did I get the container to follow the lifthead for some of the time and not at others? This is resolved by yet another constraint called, not unsurprisingly, the link constraint which allows you to specify what an object is linked to and for how many frames of animation. So, in the case of the container it is linked to the lifthead between frames 85 and 166.

Secodnly, when you move something in 3ds max animation autokey mode it assumes that the movement should be extrapolated back to the previous key for that object, not, as I thought, to the previous key for any object! For instance, if I move the body then rotate the arm, the body ignores the key set for the arm movement and behaves as if that key didn't exist. The issue was resolved by changing to set key mode where I can set an animation key exactly when and where I want to.

The resulting animation looked like this...



...or, to be precise, it looked like the first half of the video. I then decided it would be best if the video looped round, so after a bit of a web search I came across the 3ds max dope sheet. This allowed me to copy the animation, reverse it, then add it back to the end of the original. So now I had a complete looping video.

In the end it took longer to battle my way through the intricacies of linking/constraints/animation than it did to build the model, but I have added to my knowledge base and, hopefully, passed some of it on through this blog.

Saturday 11 February 2012

Straddle Carrier

Those of you who follow my blog will know I can't resist a crane and I was recently tempted by a form of mobile crane - the straddle carrier.

As some interest was shown on UKTS for such a model I went ahead and created the following. The set is comprised of an empty carrier and 4 others carrying 20ft or 40ft containers in a choice of positions (low or high)


They generally appear in high viz yellow. but red and blue variants are also common, so I made the base texture a simple one colour diffuse, so users can quickly change the model to their colour of choice.

Wednesday 1 February 2012

Mosedale

One more signalbox for the Shap route, this is Mosedale Hall Crossing.

Tuesday 31 January 2012

Lambrigg

Another signalbox for the Shap route.

Lambrigg Crossing.

Sunday 29 January 2012

Hay Fell

Following on from the Scout Green Signalbox, the model has been modified to provide another box on the Shap route at Hay Fell Crossing.

Wednesday 25 January 2012

Points Clip Box

Spotted this box next to the Lambrigg signalbox and wondered what it was. Zooming in showed the words Points Clips written on the box.

Lambrigg Crossing Frame

The following definition of point clip is from wikipedia.

"To clip and scotch a set of railway points uses two pieces of equipment to temporarily lock a set of points into a particular position. The point clip clamps the end of a moving rail of a set of points to its associated stock rail, and the scotch is a timber wedge used to ensure that the other moving rail is kept away from its associated stock rail. In this way the points are fixed in either the 'straight through' or 'divert' positions and cannot be moved by the usual setting mechanisms. For infrequently used points, this guards against mechanical failure of the points leaving them in a condition to derail trains. The 'clip and scotch' method can also be used to positively deny access to the turnout or mainline."

Couldn't resist the temptation, so a wet Monday afternoon produced the following.

Monday 23 January 2012

Scout Green

Scout Green was a crossing with purpose built Saxby Farmer signalbox on the WCML and was a famous spot for photo shoots. Not only was it unique construction but it was particularly noteworthy for the wonky chimney stack.


This is my impression of the box for the route over Shap.


Saturday 21 January 2012

Over Shap

I've been asked to contribute a couple of items to a new route under construction and these are the first.


Also, gives me a chance to try the new light sources for TS2012. Took a little time to get to grips with them, hope I've got them properly sorted?