image : leaf in winter ice

Miscellany

thoughts, ponderings, experiments & recent things

 

The past year has been spent at the School of SimVis at the GSA, learning new things, and improving on old things.

For information about the final project on collaborative 3D environments for reconstruction of past landscapes see here:

MSc Project

Other details will be put up at some point.

carrots

A simple and obvious trick for catching those fiddly fine details as part of your photogrammetric modelling.

3D models, photogrammetry. All the rage these days. Sometimes though it’s just not possible to model those very fine details you want to record.

There is always the time & data volume tradeoff – it’s not practical to model everything at the microscopic level, or the material is ill suited for photogrammetry, or maybe the available equipment isn’t quite up to standard, or perhaps you just stuff up a shoot.

Whatever the cause some details that are easier (and better) recorded with techniques raking light, hand illustration or RTI.

So why not do both?

You could of course try and model an object entirely in raking light, and again in diffuse light, but that wouldn’t work very well as you loose information in the shadows and highlights that you want from raking light.  But it’s quite simple to take a few extra shots during your modelling that you can use as textures later on.

A tripod (or sturdy setup of chairs and bags of lentils) to hold the camera is essential, but the principal is the same regardless of whether you are using a turntable setup or not.

Every so often in your imaging sequence, take a shot in your main modelling diffuse light, then stop, making sure the camera and object do not move.  Then turn off your lamps (or change camera settings) and use a 3rd light (or better external flash) and take your raking light photographs.  You could even do a full RTI shoot if your setup leaves you enough space to work with.

Then carry on as you were.

When modelling, exclude these images from the process until you get to the texturing stage.  Rename these files to the name of the diffuse images and turn off all other images then build the texture. With care you can texture the whole object in this way, and even trace off fine details and save new images to map onto the model.  You may find UV unwrapping the model and compositing textures externally helpful to get best results.

You can even trace features and save new textures that can be included in the same way.  What’s nice is it creates a very simple record you can revisit that sits well as part of your raw photogrammetry photo archive. And of course you can export each  UV mapped texture for your final model for archiving and sharing too.

More ZooMS coming when I’m back with the main hard disk and requisite graphics.  For now. Note to the wise.

If you’re planning some Near Infra-Red Reflectance Transformation Imaging (NIR RTI), check your balls before you start, not all shiny black spheres are alike. It’s also worth to prepare some background material – the image above/below is actually black velvet.

NIR-balls labelled

When preparing for field work, I can whole heartedly recommend not doing this to your macro lens…

lens

some time, quite some time later…

snail

cleaned, re-greased and reassembled.

General notes.
Nikon 105mm macros lens from ~ 1983.
cleaned with 50:50 ethanol water
greased with TF2 lithium bike grease

take notes and photos
don’t loose screws
be gentle

More detailed. Sketches to come later.
remove back plate (note spring when replacing)
remove rubber grip
note position of the 3 little screws that are in narrow slots. remove
set f-stop to 2.8 and un-hook/tilt f-stop ring (lift one side – only one will lift)
twist lens round and round and round till it unscrews – try and note the relative positions off all segments at this point.
twist the nose part till this comes out of the big spirally by that was under the grip.
clean lens elements and blower liberrally.
clean spirally bit (helicoid) with different cloth.
paint on grease with artists paint brush
screw the nose back in (starting from the same position as it was just before it came apart)
screw nose into spiral till thread is invisible but before the square bump goes out of view
pier through the back lens to align the metal guide rails (you’ll see them in the back section) line up with hold areas in front.
make sure f-ring is tilted again
twist central spiral section so that it screws into the back, and the nose moves without turning.
slot f-stop ring down and check it moves the aperture
screw it all down to most compact state
put the 3 small screws back where they were and double check your focus
replaces all other bits.

to clean between other lens elements, such as front you need 2 flat head precision screwdrivers and a cross handle (or vice). Well worth it if they are looking foggy.

a character from a recent animated short

a duck
a duck

The triboelectric effect discussed in the previous post is shown in another animation – a closeup up of someone gently rubbing the eraser over the surface of parchment.  Once again, the emphasis is on how very low impact the sampling technique is, and that it is only tiny microscopic strands of parchment material – ones which are already loose – that are collected.  This is in stark contrast to other methods that may require segments of parchment to be cut out and sent away.

what’s going on

Parchment – a form of processed animal hide – is made up of millions of strands of long chains of a protein called collagen all interwoven in a tangled multilayered web. As the eraser builds up a charge and passes over these strands it attracts them toward it.  However, most of the chains are woven in place by one another, so while any loose ends may reach up like excitable grass as the eraser approaches, they fall back down again when it passes away.  Among this large web of fibres there will be some that are loose.  These are drawn up form the surface by the charge and cling to the eraser surface.

The polymer of the eraser is very soft, and while the gentle rubbing does no damage to the parchment, the eraser begins to break apart along the edge resulting in the familiar crumbs of “erdu” that are still covered in the loose collagen strands, making it very easy to collect these microscopic samples.

What’s more, most of these small blobs of eraser are actually tiny little spirals, the curling most likely a combination of the surface charges along with differential stretching of the polymers that make up the eraser. This type of curling may be familiar with if you’ve ever curled the end of a bow on a present by dragging scissors along a ribbon. These tight spirals trap the proteins, locking them away from light, oxygen and other things that may cause the sample to denature over time and so greatly increases its shelf life.

styling… why its all grey.

First of all, lets talk about colour. Although parchment looks yellow, collagen strands themselves are grey.  This is the first reason the sequence is in black and white.  The second relates to the scale. When looking at structures this small in the real world we need to use techniques such as SEM – Scanning Electron Microscopy. SEM detects surface structures using a beam of electrons, rather than magnifying an image in visible light like optical microscopes.  As a result they cannot produce colour images in the conventional sense but result in detailed grey images. Beautiful coloured SEM images are increasingly common these days, but they are coloured in, either for aesthetic effect or as a key to show specific properties.

This animation also has a lot of grain or noise compared to the others. This is a reference to the static that is so important in the collection process. Originally the sequence had more noise added to it in post processing, but was removed due to problems with compression artefacts when preparing the video for the web.  A practical upside to this style was to speed  up rendering time by lowering the number of samples the blender rendered carried out. Some of the images on this page have been rendered with more samples to give you a now-noise view of the setup.

At this scale the real situation would be much more complex with other substances littering the parchment surface such as dirt, dust and bacteria (but not such that it affects the results of the technique).  The eraser too is quite stylised.  If we were looking at it at the same scale as the collagen we would not have a sharp edged smooth surface as depicted in the animation but something more pitted and uneven, perhaps like this SEM. The size of the eraser tail would also be much longer and the pieces that come off would be much more complex.  But all these things are secondary, the aim of the animation is to show what is happening to the collagen in the parchment being sampled.

the making of.

The collagen strands and surface of the parchment are made from the same type of particle simulator used for the sheep hair.  Layers of simulated hair were stacked on top each other to provide depth, and brushed in different directions with one layer allowed to interact with the attractive force field that follows the eraser.

To model the eraser tip, bending and stretching as it drags over the surface was a little more tricky. A softbody cube was created, the mesh adjusted to allow sufficient deformation to get the desired effect without giving the software too many calculations to work out.  In the end the cube was subdivided toward the tip and the material weight painted to prevent the top of the model from deforming and reducing the number of faces involved in any calculations. There was still a lot of tweaking required to get the right kinds of tension, spring etc in the material and a few other touches including as a wave deform effect was added to create a subtle vibration across the surface to hint at the friction between the two surfaces as they bond and separate.

A simple trick was used to create the curling spawl that comes off the eraser – a method where you deform one object to the shape of another.  In this case a flat cube subdivided to give places it can bend along, smoothed then pushed into an invisible coil shaped box or lattice.

Some images showing the sequence from different viewpoints and the underlying meshes are shown below along with some early concept models.  The next instalment looks at unravelling the collagen.

This is probably the most important part of the ZooMS video, and even the ZooMS process.  The original concept was by Matthew Collins of the University of York, keen to highlight how truly gentle the sampling method is.  It made its first outing to coincide with a publication about the new process, you can see more with these links.

PNAS article

York website

Guardian website

the science

Most people will be familiar with the buildup of small electrostatic charges in their daily lives, such as the crackles and pops you get when taking off a wool jumper, but the most evocative example has to be the balloon-on-hair trick. The creation of the static charge when rubbing two materials together is called the triboelectric effect – tribo coming from the greek word τρίβω to rub.  What is happening to cause this build of charge is the two materials, balloon and hair (or eraser and parchment), undergo a temporary bonding when they touch. During this bonding the electrons are shared across the interface. Pulling the materials apart breaks the bonds but not all of the electrons that have been shared out are returned to their original owners, with one material leaving with more electrons than it started with and the other with fewer. In this instance it is the balloon that comes away with an electron profit.

Rubbing back and forth, repeats this bonding and breaking process over and again, which builds up the amount of charge imbalance.

In a way you could think of it a bit like taking 2 sprinkle topped cakes and touching them together, but one of these cakes is stickier than the other. When you pull them apart some of the sprinkles get swapped from one cake to the other.

For more info, wikipedia as ever is a good place to start, youtube too has number of useful videos, or you take a look at this fun little experiment on the topic of playing with static.

the sheep

The sheep in the video is a wensleydale sheep, a particularly hairy bread of Ovis aries picked out by Matthew for its long curly locks of wool that resemble the spirally molecular form of collagen – the protein that is sampled in the ZooMS process. More on this in later posts.

The model of the sheep is very basic.  Fundamentally it is a group of simple spheres and cubes that have been lightly sculpted and all tied together with some armatures – or animation bones, not the best way to build a sheep, but effective for this purpose.  The hair of the sheep is a mix of different particle simulators.  These particles – the hairs – can be affected by forces, wind, gravity, attractive forces etc, making the animation of the hair relatively simple.  The only trick is to make sure the balloon only moves the hair you want it to move, and that when it falls back it falls over, rather than through the sheep.  This is done using invisible collision objects.

For a more advancedBlender.org sheep, check out Frank, by the fine folk of the Blender community in their 2015 animation short Cosmos Laundromat.

At last, the ZooMS video has come out of the virtual work shed and released into the wild.  ZooMS  stands for – Zooarchaeology by Mass Spectrometry and is a method for identifying animal species from tiny samples without damaging the original sample. You can find out more by watching the video here or going to these articles.

PNAS article

York website

Guardian website

To accompany the video I’m writing a few posts about the making of the video, specifically the animations, going into more detail about the science behind each animation as well as how they were made and some of the stylistic and artistic decisions taken along the way.  The models themselves are all quite simple, but hopefully this paradata will be useful or interesting to some interested, even if the methods used may not be the most efficient or orthodox.

video style

The video is based around sections of footage showing the different stages of the technique, from the very easy sample collection, to the scientific nitty gritty in the lab. Without an on screen presenter it is this lab footage that really sets the overall pace for the video, a video which aims to provide a concise overview of the method to an informed audience of heritage professionals who may consider the using it on their own collections.

At each step of the ZooMS process, the sample becomes smaller. The use and choice of animations is structured around this progression, bringing the viewer closer in to each micro-world, zooming further and further in to emphasise the very small amounts required with this technique but to also try and create a more tangible experience of this unseen world.  All the animations are made in 3D (with Blender 2.76) and while each animation has its own character the overall stylistic aim was to was to create a clearly computer-generated and unrealistic appearance, something very simple that would allow for a similar style or thread to be shared across the different sequences.  Each animation also has its own requirements to take into consideration that are discussed in more detail later.

Hopefully the posts will be of interest, either from a scientific or an artistic view point.  And if you’re a heritage professional with some parchment get in touch with York Uni BioArCh and have it sampled.  The more samples there are, the better it gets!

A few excerpts from the making of a short animation showing the triboelectric effect. Part of a longer information video being produced for the University of York.

For more info on their clever techniques and findings, try these links.

http://www.pnas.org/content/early/2015/11/18/1512264112

http://www.theguardian.com/science/2015/nov/23/scientists-get-under-skin-13th-century-mystery-vellum-vulgate-bible

Or see the video here.

The animation was made using Blender 2.7 and the sound and video assembled with various adobe packages.

making of the hairs

a project to be de-mothballed

porridge

Dinner delivery
Dinner delivery

One of the greatest delights of an english summer are the rich and varied plants and blossoms that spring forth from every nook and cranny.  Cheif among them are those that can be worked in to some form of culinary delight, be it the humble nettle or the fragrant rose.

Today’s concoction is Honeysuckle Delight – using a honeysuckle infusion as the base for some home made turkish delight.

_dsc0080

(more…)

An early draft of collage combining interesting elements of York running in a section through the whole city and out the other end.  Begun in 2012, but on ice ever since.

York

Of cuts from a picture recently made as a gift – it is the view over one of Copenhagen’s lakes in winter, a layer of ice sits across it, pierced by the feet of geese.

Copenhagen
Copenhagen

roots-n-all

Home made frames for home made photographs.

frame making

A sequence of stylised panoramic images of Manchester, UK.  See more here

8682774831_5d79e23788_o

I have had the good fortune to receive 2 very fine, uk made knives from the skilled and friendly Will Ferraby.

Check him out at http://www.ferrabyknives.co.uk but be ready for a long wait, he’s quite popular!