Rendering 3D Surveys with Pymol

Thomas Holder thomas at thomas-holder.de
Thu Oct 6 08:46:24 BST 2011


Dear Jarvist,

this sounds cool! Do you mind if I cross-post this to the PyMOL users 
mailing list?

Cheers,
   Thomas

On 10/05/2011 07:04 PM, Jarvist Moore Frost wrote:
> Dear Survex users,
>
> I thought you may be interested in a cludge I developed a few weeks
> ago to go from Survex .3d file to Pymol (a free, python based, 3D
> molecule viewer heavily used in the computational biology community).
> Pymol is a very nice tool to make pretty renders, an also has a number
> of 3D display modes (including anaglyphs, shutter glasses and
> cross-eye / wall-eye stereo).
>
> Code, and a link to a high-def youtube vid of the resulting ray trace
> movie is available here:
> http://migovec.posterous.com/cave-survey-survex-rendering-with-pymol
>
> As usual, the program started around midnight being as general as
> possible, then had ever more specific hacks hardcoded in. Never the
> less, it does colouring by depth on the HSV colour wheel, includes a
> set of cardinal axes, and estimates survey shot passage dimension
> based on the shot length.
>
> At some point, I'd quite like to add a chequerboard grid, and expose
> more details of the survey to pymol as attributes so that you can use
> the nice python tools to do fun things such as take over the colouring
> (for instance, a rainbow colour scheme based on survey trip?), expose
> the station labels, perform RMSD fits&  distance calculations etc.
>
> I also have some python code that generates .svx files for DEM data
> from a text-based ASCII Tuple format (originally converted from some
> proprietary geo stats format). I've found that a mixture of grid based
> DEM data, as well as contour-like (or rather, traces) parallel lines
> over the mountain range. Drop me an email if you think this may be
> useful, and I'll package it up.
>
> May your surveys rotate in a manner truly sublime,
>
> Jarv
>
> --
> Survex http://lists.survex.com/mailman/listinfo/survex



More information about the Survex mailing list