For anyone comfortable with R, here is some R code to read and view the shape files -- it will open a window with an interactive 3D viewer of the shape data, allowing you to use the mouse and mouse wheel to rotate or zoom the data. For context, I have it also plotting the X, Y, and Z axes in red, green, and blue (respectively); blue should be the North-South axis.
To use it, you'll need to have R installed (or RStudio, which is my preference). Once R is installed, install the rgl package.
Extract the downloaded shape files within a directory of your choice, then you can use the following code to view the shape file in R:
#BEGIN R CODE...
#Run this line once. Specify the directory where the shape files (such as "ceres_opnav5_128.txt") are stored
setwd("C:\\Downloads\\Ceres3D")
#Run the next block once (imports the rgl library, defines functions)
#BEGIN...
library(rgl)
#Given filename, reads shape file
#Returns list containing N=#vertices, M=#plates, vertices as N-row X 3-col matrix
# (1 vertex per row, each vertex being an x,y,z coordinate),
# plates as M-row X 3-col matrix (each row being a vector containing the 3 vertex integer indices
# defining the corners of a triangular plate, listed by convention in CCW order)
ReadShapeFile<-function(filename)
{
N=scan(filename,n=1,what=integer())
vertsM=matrix(scan(filename,n=4*N,skip=1),byrow=TRUE,nrow=N,ncol=4)[,-1]
M=scan(filename,n=1,what=integer(),skip=1+N)
platesM=matrix(scan(filename,n=4*M,what=integer(),skip=1+N+1),byrow=TRUE,nrow=M,
ncol=4)[,-1]
list(N,M,vertsM,platesM)
}
MyView3D<-function()
{
sFileName=file.choose()
shape=ReadShapeFile(sFileName)
open3d()
par3d(windowRect=c(100, 100, 600, 600))
rgl.pop(type="lights")
rgl.light(theta=-60,phi=0,ambient="#010101",specular="#000000",diffuse="#CFCFCF")
bg3d("slategray")
material3d(col = "black")
rgl.triangles(shape[[3]][as.vector(t(shape[[4]])),],col="grey")
rgl.lines(c(-510,510),c(0,0),c(0,0),col="red")
rgl.lines(c(0,0),c(-510,510),c(0,0),col="green")
rgl.lines(c(0,0),c(0,0),c(-510,510),col="blue")
}
#....END
#Run the next line each time you want to view a 3D shape file
MyView3D()
#To save a snapshot of the current view, set the filename and run the following line
FileTitle="ThisFileName"
rgl.snapshot(file=paste(paste(FileTitle,".png"),sep=""))
#...END R CODE
And here's an example of what you'll see when you get it working:
Click to view attachmentYou can also resize or maximize the window (it defaults to a smallish size).
These shape files may strain your system -- I'm using a 64-bit computer with 32G of ram, and having no difficulties. Your mileage may vary.