[This post was originally posted on Half-Man Half-Bird's website and has been reposted here with permission so that my future posts on this topic are not out of context.] In our last post we outlined how we got on getting our footage for this rollercoaster project. I wanted to get started pretty quickly with this project and I'd actually already started modelling the rollercoaster before we had the footage, but seeing as it was the tracking that I thought would give the most problems I changed focus to trying to get Shot 2 in our sequence tracked. This would effectively work as our test shot; if we could get this shot done we could continue with the rest of the project, and if I decided it couldn't be done then we would move on to something else. I think I was right about this being the most difficult part (at least so far). I started by brushing up on my knowledge on the camera tracker in Blender 3D by watching an excellent tutorial by Sebastian Koenig. I wont quote directly what he said but it was roughly: "Blender doesn't currently support shots that have been tracked on a tripod, e.g. shots that just have rotation and no parallax motion. They're particularly difficult to track and if you were to do a shot like that you would want to add some extra camera motion either at the start or the end that has some perspective shift for the tracker to analyse." And Shot 2, the first shot I was tracking, the first real shot I had ever tracked, the first time I was using Blender's tracker? A shot that contains just rotation and is effectively a tripod shot. Great. I actually got a little worried at this point and thought we would have to re-film everything with added motion, but Sebastian also mentioned that the tracker should get tripod support in the future, and luckily, after a quick google, I found that it now did. So then began quite a lengthy process, which isn't over yet, of tracking the Shot 2 footage in the hope of getting a solved camera. The actual process is quite easy, but thanks to a hefty amount of motion blur due to our fast pan it's probably not as accurate as it could be, so I added a few manual keyframes to the camera to correct a few glitches in the motion. I don't think when it's all done that the camera tracking will be perfect, but I think it will be close enough. The other shots should be slightly easier as there's no major movement, just a bit of camera jiggle. Then comes the easy part in the project, you've got past the hard part, now onto the easy rewarding part. I've tracked the camera, so surely the proxy geometry that will have shadows cast onto it will simply pop into place, how hard can it be? Surprisingly (or not, if I'd remembered all the other projects that were more difficult than expected) things didn't turn out like that. For whatever reason, perhaps my inexperience, it was really difficult to get the geometry to line up with it's real world counterpart in the footage. The geometry on the left of the picture now thankfully matches the footage pretty well, but at the moment the geometry on the right, although vertically straight, as I think it should be, isn't lining up yet. I think it's because of the camera distortion as the geometry seems to be less accurate the closer to the camera it is. I'm just going to have to change the geometry to try and match the warping in the footage which feels like cheating, but then isn't all of CG cheating? I haven't yet spoken about the actual rollercoaster model that I mentioned at the beginning. And that's simply because it wasn't much of an issue, apart from a small problem that was fixed with a few constraints. Annoyingly it seems while the internet is full of pictures of cats there are very few blueprints or even up close pictures of rollercoasters, so much of the general design is my own creation from whatever information I could glean from wide shot photos. The wheels that clamp onto the track though seem to be standard among most rollercoasters, so I managed to find a few detailed pictures of them. I'm quite pleased with how the roller coaster model is set up. The whole thing is controlled by one central curve. The track will automatically extend when the curve is extruded and when the curve is deformed the hanging seats (which need a better name) will rotate to match the curvature. Everything can then be slid along the track with a single empty controlling everything.
So that's pretty much it. Tracking and modelling this week, probably more modelling next week with hopefully a few test renders. One thing I haven't yet investigated is whether we're going to be able to use motion blur in Cycles or do it as a post process.... Ray.
Comments
[This post was originally posted on Half-Man Half-Bird's website and has been reposted here with permission so that my future posts on this topic are not out of context. Unlike the other posts this was written by Matthew Griffin and not by me.] I'm delighted to be on your screen telling you what our new project is all about. Put simply, we're going to put a rollercoaster in a town centre. London was lucky enough to be graced with its one whole day of Spring on Tuesday, so we took our opportunity to go filming in the small town of Kingston in South West London to get our source footage. We shot with my EOS 7D and 18-135 EF-S, and we went hand-held. The traffic and pedestrians also proved a problem, as the street we to used is primarily a load of bus stops, and last time we checked, we couldn't get a rollercoaster through a double decker bus. Also for technical reasons, the fewer buses, cars and people, the less reflections and shadows have to be faked later on. Below is a frame from our footage - imagine the rollercoaster coming down from the distance and around towards the camera, before flying off to the left, where the camera pans to follow it. We shot two other shots as well, one slightly further up the street and one by the riverside all in 1080p, but we may just use 720p and use the extra pixel space for a bit of re-framing, but it's useful to have the higher res if we need it. We also need to make sure that any 3D we put in the footage, which is a lot (all of the windows need to be replicated in order to reflect the roller coaster, the buildings need to cast shadows etc.), can be lit realistically. For that we needed some environment photos. There isn't really an easy way to do this, and we didn't fancy standing in the middle of the street and taking an HDR image of a chrome ball (which we don't actually have). iPhone and Photosynth by Microsoft to the rescue! Photosynth is almost the perfect app for this, as it creates a 'photo sphere' which can then be exported as an equirectangular image (below). We don't get the same light range as an HDR image, but it should be good enough for what we want. We didn't use a full spherical panorama, we just took all we needed to without looking too suspicious, as the sky and the paving can be fixed later. The images have some slight oddities where the joins are, but only have to correct the major ones, (including the severed limbs that appear at some of the joins). The rest won't be noticeable, as this is only to cast reflections and accurate lighting on the model. See our photosphere below, for the shot in the image above. We're doing this project shot by shot, as we may not actually be able to pull it off how we imagine, and we're not going to release something that is sub-standard. We can always add more shots in later if these turn out alright. First, we have to test if we can actually track the shots, before we do anything else, as if we can't - we're pretty stuffed!
So that's what we're up to, and how far we've got so far. We don't have a clue how long it will take for us to finish this, but we will post a weekly update on this page, and also minor updates/information on the Twitter-sphere. Matt |