Showing posts with label 3D dinosaur. Show all posts
Showing posts with label 3D dinosaur. Show all posts

Thursday, 27 October 2016

Utilising a commercial workflow when reconstructing dinosaur skeletons in 3D

Reconstructing fossils digitally has become a vital technique in palaeontology in recent years. The ability to reconstruct the entire skeletons of extinct taxa gives us the opportunity to look at aspects of an organism’s life that would prove difficult or impossible using physical models, for example in biomechanics and gait analysis.

Er, hi. The final, posed Gorgosaurus model, created in zBrush 4R7 and Cinema 4D R16.


A recent paper by Stephan Lautenschlager  (http://rsos.royalsocietypublishing.org/content/3/10/160342) on digital fossil restoration techniques provides a good overview of the methodology using tools available for digital palaeontology in most labs, including Avizo, Blender and Maya. I highly recommend this paper for anyone interested in the digital restoration of fossil specimens and the workflow involved, much contained in the paper being relevant to the digital reconstruction of specimens for research and outreach.

Last year I worked on a project with Dr. Willam Sellers of Animal Simulation Laboratory (http://www.animalsimulation.org) at the University of Manchester which required the creation of six accurate and complete dinosaur skeletons (see my previous post on the project: http://paleoillustrata.blogspot.co.uk/2016/01/walking-and-making-dinosaur.html), and for this I used a workflow developed in my work creating scientific animations and illustrations for the MedComms industry, a workflow not dissimilar to many commercial studios where 3D assets of all description are produced. axon, the makers of one of the 3D modelling and animation applications I use, Cinema 4D R18, covered this project on their website: https://www.maxon.net/en/industries/visualization/article/everybody-walk-the-dinosaur/

A specimen (NHM R175) recorded using photogrammetry
and suitable for use as a basis for reconstruction of the bone.


The reference used to create individual elements comes from a number of sources. Primary amongst these are meshes generated using with photogrammetry, Lidar or CT scanning. These data are often received as point clouds that require the generation of a mesh. These datasets can be pretty hefty (especially if they are of entire mounted skeletons or other large, complex subjects) so they require chopping down into manageable chunks prior to meshing to make processing more efficient, for example isolating part of a limb or the skull. I use MeshLab (http://meshlab.sourceforge.net) for this part of the processes, saving sections of the point cloud and meshing them individually. The meshes generated from this procedure are the basis for the reconstruction and these are imported as reference meshes into the main 3D package prior to starting modelling. The literature was consulted and where possible collections were visited and photographs taken to maximise the available reference for modelling. This is important because as there is a fair amount of morphological variation within a particular taxa and this needs to be taken into account when modelling the skeletons, and in fact the final models are composites and don’t represent a single specimen.

Like many studios I use more than one application to create my models of palaeontological specimens. As mentioned earlier, the main 3D application I use for both research and commercial work is Cinema 4D R18 by Maxon (https://www.maxon.net). Within C4D I block out the basic form of the model by generating primitives, extruding polygons and dragging edges and points into approximate position (see this post for how this works: http://paleoillustrata.blogspot.co.uk/2011/09/building-dinosaur-pulling-polygons-and.html). To make these models practical for biomechanical work and 3D printing, so they needed to have as few polygons as possible whilst retaining accuracy. By starting with very simple, blocky shapes it is far easier to keep control of the polygon count as you model and make sure the mesh density is as low as possible for the final model.

Low resolution, blocked-out skull ready for importing to zBrush for further sculpting (top),
 and the skull in the process of being modelled at a higher resolution.


Once the basic shape is modelled in C4D, the meshes (both reference and model are imported into Pixologic zBrush 4R7 (http://pixologic.com), a 3D modelling package that uses sculpting in clay as a metaphor for modelling 3D meshes. Why not continue modelling in Cinema 4D or anther package? Well, zBrush’s tools are intuitive, fast and easy to use (once you’re used to them) and well suited to creating organic shapes. As a modelling tool widely used in the gaming industry zBrush also offers excellent retopologising and mesh decimation tools, which means models can have a low mesh density whilst retaining detail; it produces very ‘clean’ meshes which are perfect for importing into a wide variety of other applications. Once the model is completed the final mesh is imported back into Cinema 4D for positioning and texturing (if required). I cannot recommend zBrush highly enough for organic modelling and anyone creating reconstructions in 3D should take a close look at this package.

The skull of Gorgosaurus during the modelling process, showing the layout within zBrush 4R7.

Assembling a skeleton in Cinema 4D is a task made easier by some of the tools that are add-ons to the application and widely used by modellers and animators. Foremost amongst these is the Mograph module, which allows the cloning of a single element and the manipulation of these clones. This is tremendously useful when creating multiple copies of broadly similar elements such as vertebrae. For example, the tail several vertebrae from certain points along the sequence would be modelled and then those in between generated by cloning and these would then be adjusted individually to match the reference.

The Triceratops skeleton rigged and hot to trot in GaitSym.


The final model can be exported out as any type of 3D file, with the most useful being .obj and .fbx at present, but anticipate this changing in the future and save in several formats as well as the proprietary format of the modelling applications.

The Giraffititan model, posed.


The use of commercial tools such as zBrush is becoming more common for palaeontologists and palaeoartists, and by paying close attention to the structure of production pipelines and workflows of commercial digital studios is something we as palaeontologists should consider, as there is much to learn from their techniques and methods which we can incorporate into our own reconstruction and restoration arsenal of techniques for generating 3D meshes useful or wide variety of research pathways.

Friday, 19 June 2015

Fossils on the small screen at Dinosaur Encounter, SeaCity.

As part of the exhibition at SeaCity I was commissioned to create videos to accompany two of the exhibits, the Sandown Academy crocodile which was worked on by Michela Johnson and the nodosaurid which is being worked on by myself and Sarah Strachan. These videos are intended as interpretive aids to help visits understand the fossils and hopefully allow people to see how the bones fit together and give an idea of what the animals looked like in real life.

Still from the croc video showing bone outline highlighted to
aid interpretation of the specimen.


The croc skull itself is still encased in the block of matrix it was found in. This means that from the outside only cross sections of bone can be seen and these can be difficult to interpret to the untrained eye (and often to the trained eye too). The skull has been scanned using the University of Southampton’s CT scanner and 3D data had been extracted. The croc skull video features footage of this CT data and concentrates on how this technique allows us obtain detailed data without even prepping the fossil. In fact, as CT resolution improves over the years it’s entirely possible we won’t need to prep some specimens that might prove difficult to reveal for any number of reasons including matrix that is too hard or too soft. The great thing about the CT data is it translates readily into visuals and thus lends itself to motion graphics; we can highlight certain elements and add labels to aid understanding. 


The crocodile video next to the specimen as part of the display.
Image: Liz Martin.

The Polacanthus video is more focussed on the bones themselves. As I’m working on this specimen for my PhD I already had enough data to attempt a reconstruction for the video, which is played on a screen situated above the display case containing the dinosaur. It has to be stressed this reconstruction was the first I have done of the dinosaur, and was produced primarily for the video and not publication. For the sequences showing the bones of the specimen I used the actual photogrammetry data and this also enabled me to make relatively accurate inferences about the length and height of the animal. I based the missing elements of the skeletal reconstruction on Polacanthus foxii and other nodosaurids. The final muscle and life reconstructions were far more speculative but give a relatively good idea of how the animal looked in life. The neutral pose was chosen deliberately to keep the orientation of the bones as easy to see on screen as possible; unfortunately time did not permit a more dynamic reconstruction, but watch this space . . . 

First reconstruction of the nodosaur currently being studied at
University of Southampton. Video still.

Wednesday, 1 February 2012

Building a dinosaur - Triceratops takes shape

It was way back in September when I last posted about modelling a 3D Triceratops and since then there has been much yanking and tweaking of polygons, and the project has moved on (albeit rather glacially) a step or two. In that last post I talked about the technique I would be using to make the basic mesh, which was the extruding and manipulation of polygons. I chose this technique because a) It is one I use most often and b) it keeps things organised. However, after the aforementioned post Evan Boucher commented he preferred the polygon building method, where polygons are added individually to build a mesh and this too is an excellent technique; it's work checking out Evan's excellent website to see the results that can be achieved by this method.


The model in its latest iteration. This is a polygon mesh sitting within
a symmetry object, itself sitting within a hypernurbs object.

The image above shows the model as it stands now. This is made entirely out of quads, or polygons with four sides. The reason for this is it is easier to control the various polygons if things get complicated if they all have the same number of sides, plus when using hypernurbs the end mesh is smoother. Further down the pipeline when we want to add textures the model will be easier to manipulate to get the image maps in good order. Below is a breakdown of the model's structure.

The model looking down the sagittal plane.


As the screen shots show, I've only modelled half of the dinosaur and this is because I will use a symmetry object to mirror the mesh and create a whole model. This saves a huge amount of modelling time but does have some drawbacks, in that you mush keep an eye on the z-co-ordinates of your sagittal plane points or the mesh will have holes, gaps or puckers along the centre, and when finalised will have problem areas that will need fixing.


Half a dinosaur: the mesh in it's raw form.

This mesh is then nested first in a symmetry object and then in a hypernurbs object. The hypernurbs object rounds the geometry in an organic fashion and each polygon, edge and point on the mesh is weighted and this weighting can be adjusted to add or reduce the objects influence, for instance the tips of the horns are virtually unweighted to make them pointed whereas the points making up the edge of the frill are left at the default settings giving them an organic curve.



The mesh nested in a symmetry object, itself nested in a hypernurbs object.


The model with the symmetry object activated.

The form is roughed out and refined in stages to create the shape of the animal. This involves pushing and pulling points and polygons, constant referral to the reference and turning the hypernurbs and symmetry objects on and off to check your progress and make manipulation easier. At this stage we want to keep the polygon count as low as is possible so things don't become too confusing and it is worth getting onto the habit of making incremental saves of the project as you go along so if it does get muddled or looks wrong you can go back to a previous stage and restart.


The movie above shows a 360-degree rotation of the model at this stage. It doesn't need to be perfect at this point and should be devoid of detail, which will be added later. Of course, it needs to be as anatomically accurate as possible and any comments on this subject are most welcome.