Follow the reluctant adventures in the life of a Welsh astrophysicist sent around the world for some reason, wherein I photograph potatoes and destroy galaxies in the name of science. And don't forget about my website, www.rhysy.net



Saturday, 1 September 2012

Why Star Trek Is Clearly Better Than Battlestar Galactica

I've just finished re-watching Battlestar Galactica for the second time, and Star Trek : The Next Generation for the ten millionth time. They're both very, very good shows and I've no doubt I'll watch them both again. And again. And again and again, eventually. Now it must be said that while BSG is far superior in terms of special effects, plot, dialogue, acting, storytelling, character development, political intrigue, costume design, sound quality, lighting, props, sets, hairdressing, and cinematography, TNG will always be the better show.

To be more specific, in terms of political drama BSG kicks donkeys. That's because it is a political drama. One that just happens to involve mystical forces in space with explosions and killer robots, which are pretty much guaranteed to improve anything.



Trek never tried or even considered being a commentary on contemporary American politics. Where it exceeds BSG is as a science fiction show. That's because it's got actual fictional science in it. Like phasers and photon torpedoes and warp drives and holodecks.

Spaceships not good enough eh ? Fine, add dinosaurs.
Neither show would benefit by gaining what the other lacks. Suppose Saul Tigh decided one day that instead of drinking to solve his problems, he'd go for a chat with Councillor Troy. Or that Gauis "Frakking" Baltar just got on with quietly scanning nebula all day like a good little scientist. Or that Captain Picard, instead of throwing the aliens a buffet reception, decided to shoot them all. Or that Dr Crusher found that treating patients was a waste of time and that she'd rather go and have sex with a nymphomaniac ghost.

I figured people would rather see this than Dr Crusher having sex with a ghost.
Err, well, ok, forget the last two - TNG actually featured both of these. But my point still stands. BSG is no more a science-fiction show than Star Trek is a political drama. In fact, comparing the two on equal terms is a complete waste of time, because it's impossible.

HOWEVER, the underlying psychology of the shows does not escape so lightly.  In fact that's where it gets interesting. While BSG is not really about cool tech in the way that Trek is, technology in the show is conspicuous by its absence. About the only ways in which the human civilisation in BSG is more advanced than our own is the use of FTL and cybernetics (although, importantly, Caprica did remind us that the Colonials were rather further ahead than this before the holocaust).

It also reminded us to beware of killer emo teenage robots. Very few shows do that.
The story of a great civilisation brought low by its own hubris and arrogant technological prowess is one of the oldest stories of all time. While the Colonials may have once prospered thanks to their advanced tech, ultimately their abuse of that technology becomes self-destructive. In the form of a bunch of angry robots, who were probably sick of having to spend every evening being miserable and alone in their black-painted bedrooms, in accordance with their emo progenitors.

There's nothing wrong with warning about the dangers of abusing technology. But Star Trek showed us what happens if we use it properly. Sure, it didn't come with anything quite as out-and-out cool as a lightsabre, but it did have holodecks, replicators, transporters, force fields and... iPads (they even called them pads, and this was 1993 for heaven's sake). It was also undoubtedly the inspiration for Google's decision to call their phone-based operating system "Android".

Star Trek was so utopian that even iPads and Androids could coexist.
While the Enterprise is basically a techie's flying holiday resort, you'd have to be stark raving mad to want to live on the Battlestar Galactica. Terrible food, squalid conditions, highly aggressive (though sexually insatiable) crewmates, and the prospect of a horrible death by killer robots / irate crew members / terrorists / the ship falling apart / summary justice / Adama's steely gaze each and every day. Worst of all, unlike Star Trek, I've never seen a single damn one of them drink any tea*. Actually, that probably explains why they're all so very, very angry. That and the genocide, of course.

* Caprica Six claims she does, once, but I don't trust her, on account of being a psychopathic anorexic killer robot.

What worries me is that Star Trek, by its very nature with a happy-clappy, "YAY TRIBBLES !" attitude, is a proven source of inspiration for legions of today's scientists and engineers. Battlestar Galactica isn't going to inspire anyone, because it doesn't contain a single piece of technology anyone either doesn't already have, or would want to invent. Unless you count - like many strange people - Caprica Six, but if anorexic genocidal robots are your thing then you can keep them to yourself, thanks.

"LOOK ! The monitor is too small. We need a viewscreen !"
In fact, I'm not so worried about BSG itself any more than I would worry that Yes Minister didn't feature enough zombie dinosaurs with lasers for eyes. What concerns me is the total lack of inspirational sci-fi shows around at the moment. Even Stargate made an attempt to jump on the "oh let's all be incredibly ANGSTY !" bandwagon, which it did with all the masterful control of a sheep trying to herd a bunch of rabid cats.

Perhaps we don't really need science fiction for inspiration, and this meandering rant hasn't achieved anything. All I know is that Star Trek is one of the two reasons I chose my career (the other is that nebula are goddamn pretty), and this is true for a lot of other people as well. Scientists are by no means Trekkies by definition, and vice-versa. And no doubt some scientists became Trek fans after discovering science, rather than the other way around. Just don't come running to me in twenty years when today's young BSG fans grow up and the hordes of angst-ridden robots start nuking the place.

Tuesday, 21 August 2012

Website update !

Since a whole bunch of different people view my website, blog, YouTube channel and Google+ page (I could draw a Venn diagram, but I won't), here's a post to inform that particular subset who only read the blog that I've updated my website. And my YouTube channel. And my G+ page as well. Hmm. This is remarkably inefficient. Pretty soon it'll become an infinite loop of messages that I've updated the other places to tell you about the update messages...

A momentary pause leads to believe I may have unwittingly become a social networking whore, but since this has at no point involved Facebook in any way whatsoever, that's probably OK.

Anyway, this particular update mainly concerns the completion of an on-off project I've been working on for about a year - turning Blender into a FITS viewer. For the last few weeks I've decided that Paper II can gather dust while I indulge myself into making something that other people might, just possibly, actually want to use. Well, you never know.

The advantage of using Blender as a FITS viewer is that it can display full 3D-data in realtime. Having (with much help) perfected the technique of importing images mapped onto planes, and having found acceptable workarounds for all of Blender's weird, subtle nuances, I developed the script into something that may even be user-friendly. Every step* of the process can now be done within Blender via GUIs.


* Alright, ALMOST every step. If you want/need to view a subset of the data, for now you'll have to split the file with another program.

Since I already wrote about this extensively on my website (I even wrote a user guide - go, read it !) there's no point writing about it again. But by way of compensation for that subset of people who have read about this for the umpteenth time, here's another shiny video. Hopefully I'll have another 3D-data project of a tangential nature completed very soon...



The nice thing about being able to freely rotate around a cube is that no other software lets you do that, as far as I'm aware. The X-ray program dates from a time when digital watches still seemed like a pretty neat idea. It does a good job but has a hugely awkward interface, and forces you to press a "recalculate" button every time you change the view.  Which is not much fun.

The latest version of ds9 is nice (in fact it's far more advanced than my code), but doesn't use the GPU, so it has to re-render every time. It does this with impressive speed, but it's nowhere near realtime. And besides, mine has a way cooler name (thanks, Gwen !).

Sunday, 19 August 2012

Deep Space Force

Some years ago I made a Project Orion video which is doing rather well on YouTube, and everywhere else on the internet come to that. Not so long after, I started one of several hopelessly ambitious projects, which is an absolutely normal thing for any CGI hobbyist to do. In this case the idea was to render an enormous battle between fleets of Orion-drive spaceships.


One of the original propositions of the Orion project was to use it as a warship - presumably it would initially have floated around in Earth orbit, ready to rain death upon those pesky Soviets if they started looking restless. It became known that the Russians did in fact have their own Orion program. It's just about conceivable that this could have led to giant American and Russian battleships prowling the solar system, looking for trouble. In the 1980s.

Well, it didn't, which is a very good thing. But it certainly was a fun concept to explore. In my scenario, the Cold War continues until the mid-21st century, long enough for each to develop some fancy kit, like Excalibur X-ray lasers, although sadly I never got so far as to actually render any of those, and rather more physically viable ordinary optical lasers.


In George Dyson's book (the title of the project comes from a chapter in the book), he mentions a Orion battleship model that was shown to President Kennedy, who hated the idea like any sensible human being. Having delved into the more obscure and dodgy parts of the net in the course of researching this, I found there was some doubt as to whether this really happened. In any case no images of the model exist, so I improvised my own designs.

I did some reasonably detailed calculations for this, mostly thanks to the stupendous Atomic Rockets website. Sadly I've long since lost all my notes. I worked out things like how thick the hull would have to be to withstand laser fire at different ranges, how massive the ships would need to be, and how fast they could rotate to provide gravity without making the crew get dizzy. I even worked out how much excess heat the American ship would dissipate to power its laser turrets.

I envisaged the ships being constructed in space, possibly utilising asteroid mining, so size and mass could be unlimited. Let's start with the American warship. I followed the general stereotype that the Americans would have the more advanced technology, so their primary armaments are laser cannons. Although some would have it that two would be sufficient - one at the front and one at the back - I'm not a fan of this idea. It seems better to me to employ as much redundancy as possible, so I gave it 32 laser turrets.


The way I see it, there are several advantages here. To deliver the same total power, each individual turret need only deal with a much smaller amount of energy than if only one or two were used, which I think is a sensible way to ensure greater reliability. It also means that up to 32 targets can be engaged at once, which, if the enemy is shooting a whole load of missiles at you, seems like a major win instead of having just two turrets.

The spherical shape of the American hull wasn't for any particular reason that I can remember, though it might be so that the laser turret's lines of sight are obstructed as little as possible. Following the more advanced (but possibly less reliable) American stereotype, gravity is provided to the crew by two centrifuges, counter-rotating to eliminate any gyroscopic effects. Oddly, these aren't enclosed within the main hull, making them rather vulnerable and giving it a hamburger shape.

The massive cooling fins enable a huge amount of excess energy to be dissipated, which with all those lasers is going to be necessary. These are retractable, allowing them to present a smaller target to the enemy during battle. Open-cycle cooling vents are available for emergencies if the fins are damaged.

It seems to me that while such ships could easily carry enough firepower to completely obliterate the other, this might not always be necessary. A ship with all its weapons disabled could be forced to surrender instead. So the ship is also equipped with smaller, conventional guns. These could also be used as a last-ditch defence against incoming missiles if all the laser turrets were disabled or destroyed.


Moving on, the Soviet ship has quite a different design. The pointed shape helps spread out laser-beam fire at long range, preventing the Americans from doing much damage until they're closer in. The ship has no centrifuge - gravity is provided by rotating the whole ship. This is also another way to prevent laser fire from doing much damage, if the ship is inclined toward the enemy. Since it's rather smaller than the American ship, the crew can't experience full Earth gravity, and if it's necessary to stop the rotation then they could get rather ill. However, these are trained military Cosmonauts, so I'm sure they'd cope.

The Soviet ship's weapons are mainly projectile-type. The Gauss cannons accelerate projectiles to high speed using electromagnetic coils. The other missile turrets fire conventional rocket-propelled missiles. The X-ray laser missiles are envisioned as Excalibur-style devices (even though this project probably wouldn't have worked in reality, it sounded like something fun to depict). The casaba-howitzers launch nuclear devices which explode in a tightly collimated beam.

Both of the ships can deploy armour to protect the vulnerable drive section. Of course, this won't help a jot in the event of a ship-killing weapon strike, but it ought to at least protect against debris and prevent (relatively) small arms fire from being able to cripple the ship.

A gallery of images can be found here. Below, you can watch the full 4min 45s video. But be warned. To say it hasn't aged well is being kind - but then, it wasn't finished. It ends right when the battle begins in earnest. It has a lot of problems with Blender's starfields, rudimentary animation and terrible lighting (which was partly due to technological limitations at the time). It's also far, far too long.



For the enthusiasts - and I know there are some - he's a breakdown of events as they happen. Originally there was a plan to add voice-overs, but this never happened, making things perhaps hard to interpret.

0:00 : We begin with some shots of the American fleet, en-route to the Jovian system. Perhaps the Soviets have a base there, who knows.

0:30 : The ships prepare for battle by retracting their cooling fins, causing them to heat up to maintain their energy output.

0:42 : The ships rotate and engage their Orion drives, in order to separate the fleet for battle. They travel in close formation to easily establish to the viewer that there are multiple ships.

0:55 : We see the Soviet fleet in normal cruising mode, rotating to provide internal gravity.

1:06 : The Soviet ships fire rockets to reduce their spin, preparing to use their Orion drives.

1:15 : The Soviet ships retract their cooling fins.

1:23 : A rather lengthy sequence shows the Soviet ships firing their Orion drives to separate.

2:08 : The Soviet ships are now shown to be more widely separated (though still not very far away, for narrative reasons).

2:18 : The Soviets prepare for battle by aiming their missile turrets and deploying their drive armour.

2:32 : For some reason we now see the American fleet through a telescope on a Soviet ship. I guess this is to inform the viewers that they're planning to fire on the enemy.

2:40 : The Soviets fire projectiles from their Gauss cannons.

2:55 : The projectiles splinter into thousands of metal shards.

3:02 : Establishing shot of the American fleet. We see the shards from their perspective, via another cheesy telescope view.

3:14 : With thousands of high-speed metal fragments heading towards them, the Americans are forced to spend time destroying them while the Soviet fleet closes. Yes, you can see the laser beams, even though they're in a vacuum. No, this isn't something that bothers me.

3:40 : As the Americans run out of targets, the Soviets prepare to endure their laser fire. They spin-up and orient themselves at an angle to the oncoming fleet.

3:59 : The Americans now target the Soviet ships and succeed in destroying several weapon systems.

4:30 : The Soviets respond by firing a bunch of missiles. Then it ends, probably because I started my PhD and ran out of free time.


That's all folks. Although I wanted some level of realism, I wasn't concerned about getting things 100% true to life (which seems an unachievable goal for this project in any case). Sadly I'll never be able to finish this. Which means the enthusiasts will never find out who wins, and the non-enthusiasts have just wasted at least five minutes of their lives.

Thursday, 9 August 2012

Red Cliff


Seriously. It's an awesome movie and you should watch it at once. And with one-liners like "I never expected I would be defeated by a cup of tea" I'm at a loss to explain the complete absence of internet memes. Sure, it's 5 hours long and subtitled, but so what ? It's 5 hours of AWESOME. After watching the blu-ray, I have no problem with labelling this as one of the most spectacular films of all time, right up there with Waterloo. So go out and buy it right now. That is all I have to say.