3D Model Viewer

[insert_php]$myvar = load_qstrings();[/insert_php]

[insert_php]
// This uses two plugins: the insert php plugin and qstring plugin…
$params = ‘?’ . http_build_query($myvar);
$myvar[‘autoplay’] = ‘1’;
$params_autoplay = ‘?’ . http_build_query($myvar);
$embed_code = ‘‘;
$live_code = ‘‘;
echo $live_code;
echo ‘full-screen view &#124 ‘;

if (array_key_exists(“mid”,$myvar)) {
$jsoncontent = file_get_contents(“https://www.reconstructme.net/wp-content/uploads/galleries/”.$myvar[‘mid’].”.json”);
$json = json_decode($jsoncontent, TRUE);
echo ‘download model | ‘;
} else {
echo ‘download model | ‘;
}
echo ‘embed viewer’;
[/insert_php]

Viewing files offline

For storage reasons ReconstructMe uses the OpenCTM file format for web downloads. In order to view or post-process the model, you will need a tool that can handle OpenCTM files.

There many tools to accomplish the job. We recommend to use Meshlab. It runs on all major platforms such as Windows, MacOS and Linux. Meshlab provides conversion (see note below) between many file-formats and it is free to use.

Note, in recent Meshlab versions the color information is lost when converting between OpenCTM and other formats. In order to keep the color information, we recommend to use the official OpenCTM tools and use it in the following way inside a command line

ctmconv model_input.ctm model_output.ply

License

Unless otherwise stated, all 3D model files are licensed under CC BY-NC 4.0. This means you can share or adapt them as long as you give appropriate credit and don’t use the material for commerical purposes.