powered by
Reads in a surface file from Freesurfer and converts it to a Wavefront OBJ file
surface_to_obj(infile, outfile = NULL, ...)
Character filename of output file
Input surface file
output Wavefront OBJ file. If NULL, a temporary file will be created
NULL
additional arguments to pass to convert_surface
convert_surface
if (have_fs()) { infile = file.path(fs_subj_dir(), "bert", "surf", "rh.pial") res = surface_to_obj(infile = infile) }
Run the code above in your browser using DataLab