Sunday 30 December 2012

Tetropters V: a livelier animation

Regular readers may know that I return to the subject of tetropters from time to time, in a slow and fragmented effort to produce a documentary video showing the little beasties hovering through the air as if they were real, perhaps with an appropriate narrator (as I wrote earlier, David Attenborough would be perfect).

New readers may however respond by saying "What on Earth is a tetropter!?". Part of the answer lies in rephrasing that as "What on Furaha is a tetropter!?" Well, tetropters are small exoskeletal insectoids with a radial base-four Bauplan using a double clap-and-fling wing movement. That is about as short a description as can be given, I think. Those who wish to read more can find the latest instalment ('Tetropters IV') right here, with links to the previous three chapters.

'Tetropters IV' had reached the stage where I could simulate tetropter wing movement, resulting in animations showing a completely immobile body in a completely immobile environment and a fixed camera position. To get there had required a lot of work, but so much more was needed: the animals' bodies should be detailed -and should probably have internal movement as well-; there should be a larger variety of wing shapes; the animal should tilt a bit in the direction of movement, and larger tetropters with slow wing beats should bob up and down in flight, like a butterfly does when flying. And to mimic the effect of a macro lens the scene the depth of field should be narrow, with blurring of nearby and far objects.

 Copyright Gert van Dijk

I used some time in the holiday season to work on the animation, pushing against the limitations of time and capability. The first result of that push stage is shown above, and had the animal moving about freely in three dimensions. To do so I wrote a program in Matlab to define a 3D path in x, y and z-coordinates. The movement is based on the number of frames per second and the numbers of seconds the film should last for. To keep the wings moving there is the number of frames per cycle to consider. I added a little tremor to the vertical component of the movement, so the animal bobs up and down a bit, in phase with its wing beats. All this resulted is a text file with a lot of numbers stipulating where the animal is and at which phase its wings are. The more difficult part was convincing the rendering program 'Vue Infinite' to accept all these numbers and produce a nice image per frame. I had to work on a program in the language 'Python', which I am hardly familiar with, but which can be used to control almost any function in Vue Infinite. I got over that and made the animation above. Not too bad, is it? In an earlier version Evan Black commented that an improved animation might have the effect that the coarser aspects of the design, such as wing attachment, would be less noticeable if the animation would be developed more. I think that that now proves to be true. By the way, the three axes and the balls are there to tell me whether the animal is with regard to local space. I also did not bother to set the wing cycle to match with the movement; in a real scene the wings should beat much more often over the course of such a movement.

Copyright Gert van Dijk

The next stage, shown above, involved 'lens blurring' and body tilting. After various tries and errors Vue Infinite could do lens blurring, but in a very complicated manner: there was a variable that had to entered as a percentage, so I stopped at 100%. The blurring only worked as intended when I set it to 2000%, something I learned after having received help from the Vue Infinite forum at E-on software.
  As for the body tilting, that involved rotations around all three axes. I wrote the program so i could control the rotations by hand, but added an automated feature that differentiated a position path. There should probably be a time delay in that the body should probably start to tilt in a given direction slightly before it starts to move that way, but the lack of such a delay is not noticeable. There could be various way for tetropters to change direction; they could change the aspect ration of specific wings or during specific phases of wing movement, or they could bend their bodies to change their centre of gravity. Regardless, I think the tilt adds a nice touch, rendering the flight a bit like that of a helicopter.

Copyright Gert van Dijk 

The animation above shows where I am now: camera movement. The camera follows the tetropter. As all this is a simulation that could be done perfectly, so every bob up and down would be followed, and the body would stay centred on the image with mathematical perfection. That would look very artificial: a human camera operator would lag behind the movement and would not follow tiny variations. I mimicked that by having the camera follow a smoothed path rather than the actual one, but I do not think the smoothing is good enough yet; it probably needs a delay function as well.

Oh well, there are enough things left for the next stage, such as adding a suitable body. I will probably sculpt one in Sculptrix or build one in Vue itself. The latter option will result in an artificial technical look but has the advantage of colouring the animal with ease. The Sculptrix option will produce a much more biologically looking body, but requires colouring in some other program, another new task to learn (apparently Photoshop can be used to paint 3D objects). So, do not hold your breath, but 'Tetropters VI' will probably be the final documentary, adding all the items mentioned earlier.

Except for the narrator, I am afraid...

Sunday 16 December 2012

From the Archives (VI): the woolly-haired shuffler

It is time to delve in the crypts of the Furahan Archives once more. There are body plans there that have never seen the light of day, and remnants of species long forgotten. Scribbled notes in a mixture of languages show that names of continents, animals or even the entire planet evolved as did the animals. The more prosaic version boils down to an unsorted stack of paper of all possible sizes and types.


Click to enlarge; copyright Gert van Dijk
This post will deal with how the woolly-haired shuffler (Gigatheron inexorabilis) came into being. The two small doodles on the left show running animals with big heads that seem to have overlapping layers of skin or armour on their body. Their overall shapes suggest a warthog or a ram, and perhaps that is where the inspiration came from. The one on the right was done with felt-tipped pen, and mostly shows a head with interesting horns or teeth as well as a nice neck shield. There certainly is nothing resembling the overlapping dermal plates that came to characterise the shuffler.


Click to enlarge; copyright Gert van Dijk
This one is rather similar, and the fact that it is a colour sketch means that I had starting thinking about elevating the idea to a full painting. The head has not changed much, but does not work well: the eyes are above the horns in the middle. Those horns have already developed the split tips that I still like, making the horns look as if they developed from entwined separate cores. The colours suggest dawn on a very cold plain, with some direct light coming in horizontally from the left. That colour scheme would probably have worked quite well, as it would have allowed the bits of snow that are scraped aside by the animal as well as the mountain in the background to be highlighted in pure white.

Click to enlarge; copyright Gert van Dijk
Some developmental sketches must be missing, as the head of the next one has already evolved to its final shape: the eyes have moved down and the lower teeth now form a perfect shovel. The shield and the face below the horns together form a triangle, while the shovel and parts of the contour of the horns form an oval framing the face. You often see such ovals, circles and spirals around major parts of the composition in art books. I have never consciously used such design elements while drawing, and am always a bit amazed that they are in fact there. Drawing involves rummaging around with many shapes until they sort of 'click in place', so i guess that the 'clicking in place' involves an unconscious search for lines and shapes.

What this drawing reveals is that I am not a painter at heart: I do not think in blobs of colour or light and dark, but in lines. This drawing was done on transparent paper, something I used to transfer a drawing onto the prepared board, ready for painting. I traced the final design with pencil on transparent paper, and then laid that, reversed, on the board. By tracing the lines once more with a soft pencil the tracing was transferred. Here, I cannot have been happy with the animal's body, which is clearly still being developed: the overlapping skirts are there, but they do not reach down very far, and the body is rather small.

Click to enlarge; copyright Gert van Dijk
Here is another colour sketch. This became the final design. The head is exactly the same, but the body has grown, making the animal much more impressive. There isn't much of a background: just a peak mimicking the shape of the shuffler's shoulders. The bits of colour show that I was thinking of using bits of unexpected colour here and there, something I had seen in the works of Frank Frazetta and that I wished to experiment with.

Click to enlarge; copyright Gert van Dijk

And here is the final painting again. The shuffler's story probably does not end here though. When I will have the time in a month or two to pick up the project again, I will continue the digital make over of old paintings. The eyes may change, and so will the fur, I think. Some of you may remember that I mentioned a film in which Furaha would feature. That project is still alive, although progressing slowly, and the final version should feature a shuffler...