Some time ago I wrote a post describing a Java Multi-channel Asynchronous Throttler I had written. At the time, I stated it would preserve the order of calls, but as Asa commented on that blog post, this was not always the case. Here is a new version that does preserve order, and passes Asa's test. As part of this work I also extracted common code into new classes and created a ChannelThrottler interface. It works by placing incoming tasks on an internal queue. All the code detailed in this post (and the other throttler post) is available here.
June 2010 Archives
After creating and texturing a mech model, the next step towards animating it is rigging. This is the process of setting up bones in the model such that when the bone is moved, the mech mesh deforms in an expected manner. The final set of bones to animate a walk cycle is shown in the image below. Once this step is complete, the model will be ready to animate.
The continuation of this post is a set by step tutorial detailing my methodology.
Available at the course website.
Finding podcasts on ancient history which do not focus on Mediterranean civilisations is very hard. The only one I have found so far is UCLA's History 9A - History of India course. This is a recording of the lectures given as part of the university course by Vinay Lal at the end of 2009. However, the course encompasses far more than the ancient history for which I was searching. Starting with the first civilisations, it races through history to end with Indian Independence and Partition.
This course is not available on iTunes but there is a course website with the lectures in both MP3 audio-only and video in real player format. Unfortunately, two of the lectures were not recorded. The 27 recorded lectures are around 50 minutes in length and 24MB (for the MP3s, I didn't watch the videos). As is normal with recorded lectures there is some class discussion taking up the first few minutes of each podcast. The course reading is also available from the class website. Professor Lal occasionally mentions visual aids, but video is available. Production quality is otherwise fine and the material is presented in an interesting manner.
The podcasts start with the Indus Valley Civilisation (in what is modern Pakistan), one of the three early human civilisations along with Egypt and Mesopotamia). These people were replaced by the Aryans (no relation to the Nazi Aryans) in some disputed manner. From there the course quickly skips to Hindu religion and culture, telling Indian history through Hindu texts. I imagine a similar history of Europe could be told through early Christian texts, but it would miss much. In Europe, there were many non-religious texts; the lectures suggest that in comparison, Hindu texts are the main primary sources for ancient Indian history.
In any case the lectures on Hinduism are quite interesting if you don't already know much about the religion. The course covers the content of the main Hindu texts from the Vedas, Upanishads, the Bhagavad Gita, the Puranas and a little on the Bhakti poets. It is intriguing to see how some Hindu concepts such as Karma or Yoga have been transformed in western culture. Yoga is a much larger concept then physical exercise and describes many methods of achieving the goals of life. The Hindu gods also have many avatars - incarnations or personifications of aspects of the god. One of the avatars of the main god Vishnu is Buddha - this avatar appeared at a time when Buddhism was expanding in India. The lectures also detail the basic beliefs of Jainism, Sikhism and Buddhism (including a discussion on its disappearance from India) - all of which have their origins in India.
After the arrival of Islam towards the end of the first millennium AD, the course returns to a more traditional history format. As there is still a thousand years to the present day, the coverage of events can be succinct. Starting with the Delhi Sultanate, Muslim rule of India continued with the Mughal Empire, which succumbed to the East India Company. It seems strange to have a country ruled by a foreign company and Professor Lal spends some time detailing how this occurred. The subsequent rule (and sometimes, misrule) of the British Empire is covered, with the final lecture detailing Gandhi and his policy of nonviolent civil disobedience leading to independence.
Not knowing much about Indian history other than the basics, I can't say I learnt a huge amount more through this podcast, although there are occasional worthwhile tidbits. However, I did learn a huge amount about Hinduism. It covers all Indian history in an introductory sweep.
Possible Spoilers Below
Last night I watched Hurt Locker for the first time. I was looking forward to it. I had heard so many reviews and it had won 6 Oscars. However, to put it politely, I didn't like it. I consider it well below average. Both the major and minor characters are unbelievable and fit neatly into standard movie stereotypes ("he's a maverick, doing dangerous things - but he gets results!"). The scenarios in which the characters find themselves seem unlikely. One character carjacks a local and travels across Baghdad, then runs back to the base. At another point, 3 characters search for enemy bombers in the backstreets by themselves and unknown to their support. Coming to a three-way junction, they split up! The script is often heavy-handed, letting the audience know exactly what they are supposed to be thinking. For instance, when confronted with a possibly involuntary suicide bomber, the interpreter repeatedly reminds us "he's a good guy". Once is required, maybe twice to stress the point. However, the many repetitions beyond that are just clunky. At once crucial point we are told "he has 4 children". Are we perhaps supposed to empathise with him?
The plot is quite episodic. This got me thinking. It might be that the story's ambition was neutered by making it a movie in the first place. The story has potential and maybe many of its problems (heavy handedness, stock characters) could be solved by taking longer to tell it - much longer. It is very hard to fit a complete interesting story with detailed real characters into the 2 hour timeframe of a film. I doubt even extending the running length to 3 hours, the extreme end of theatrical releases, would give enough room to properly tell Hurt Locker's story. Perhaps it should be a TV series.
I remember a time not long ago when the 4 or 6 hours of a mini-series were the longest storylines around. Now there have been quite a few TV series with continuous storylines. Babylon 5 was the first I remember, but since then there have been the excellent The Wire and The Sopranos among many others. Generation Kill told a similar story to Hurt Locker more successfully over 7 hours. After watching these, other TV shows with their "everything resolved in 40 minutes" episodes seem inferior (Dr Who is suffering from this at the moment). I am not suggesting film is inferior in general, just that it has its limits and most of the best films don't try to do too much. For great characters and great stories the extra time afforded by TV pays great dividends.
Having crated a basic low-poly mecha model in a previous tutorial, it is now time to liven up the model by texturing it. The application of materials and textures is the hardest part of modelling for me, and I'm not entirely happy with the result. My artistic abilities need some work. However, the general technique is still worth noting. The tutorial will show how the mech model was made to look as below. Later tutorials will show how to rig the model and animate a walk cycle.
The continuation of this post is a set by step tutorial detailing my methodology.

