glTF exporter #37
This commit is contained in:
parent
fdb4b00fdc
commit
97425d8add
@ -48,7 +48,7 @@
|
||||
<h2 id="supported_file_formats">Supported file formats</h2>
|
||||
<p>
|
||||
The website supports several file formats for import and export. If a file format has an ascii and binary version,
|
||||
usually it's recommended to use the binary version. During export an ascii file is created.
|
||||
usually it's recommended to use the binary version.
|
||||
</p>
|
||||
<p>
|
||||
<table>
|
||||
@ -102,13 +102,13 @@
|
||||
<td rowspan="2">gltf</td>
|
||||
<td>ascii (.gltf)</td>
|
||||
<td class="center green">✓</td>
|
||||
<td class="center red">✗</td>
|
||||
<td class="center green">✓</td>
|
||||
<td>version 2.0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>binary (.glb)</td>
|
||||
<td class="center green">✓</td>
|
||||
<td class="center red">✗</td>
|
||||
<td class="center green">✓</td>
|
||||
<td>version 2.0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@ -118,13 +118,13 @@ table td.center
|
||||
|
||||
table td.green
|
||||
{
|
||||
color: #21C23C;
|
||||
color: #21c23c;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
table td.red
|
||||
{
|
||||
color: #BF233D;
|
||||
color: #bf233d;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
@ -226,7 +226,9 @@ OV.ShowExportDialog = function (model)
|
||||
{ name : 'stl (binary)', format : OV.FileFormat.Binary, extension : 'stl' },
|
||||
{ name : 'ply (ascii)', format : OV.FileFormat.Text, extension : 'ply' },
|
||||
{ name : 'ply (binary)', format : OV.FileFormat.Binary, extension : 'ply' },
|
||||
{ name : 'off (ascii)', format : OV.FileFormat.Text, extension : 'off' }
|
||||
{ name : 'off (ascii)', format : OV.FileFormat.Text, extension : 'off' },
|
||||
{ name : 'gltf (ascii) - experimental', format : OV.FileFormat.Text, extension : 'gltf' },
|
||||
{ name : 'gltf (binary) - experimental', format : OV.FileFormat.Binary, extension : 'glb' }
|
||||
];
|
||||
|
||||
let formatSelect = $('<select>').addClass ('ov_dialog_select').appendTo (contentDiv);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user