Lod picker

This commit is contained in:
Aaron Kimbre
2022-02-11 17:37:43 -06:00
parent 8646c40943
commit 869bbdf7e6
4 changed files with 67 additions and 36 deletions

View File

@@ -84,8 +84,16 @@
<div class="row">
<div class="col text-center">
<a role="button" class="btn btn-primary btn-block"
href='{{ url_for('properties.view_models', id=property.id) }}'>
Render Property
href='{{ url_for('properties.view_models', id=property.id, lod=0) }}'>
Render: High
</a>
<a role="button" class="btn btn-primary btn-block"
href='{{ url_for('properties.view_models', id=property.id, lod=1) }}'>
Render: Medium
</a>
<a role="button" class="btn btn-primary btn-block"
href='{{ url_for('properties.view_models', id=property.id, lod=2) }}'>
Render: Low
</a>
</div>
</div>

View File

@@ -44,21 +44,12 @@
<div class="row">
<div class="col text-center">
<a role="button" class="btn btn-primary btn-block"
href='{{ url_for('properties.get_model', id=item.id, file_format="lxfml") }}'>
href='{{ url_for('properties.get_model', id=item.id, file_format="lxfml", lod=0) }}'>
View Model XML
</a>
</div>
</div>
<br/>
<div class="row">
<div class="col text-center">
<a role="button" class="btn btn-primary btn-block"
href='{{ url_for('properties.view_model', id=item.id) }}'>
Render Model
</a>
</div>
</div>
<br/>
<div class="row">
<div class="col text-center">
<a role="button" class="btn btn-primary btn-block"
@@ -67,5 +58,27 @@
</a>
</div>
</div>
<br/>
<h5 class="text-center"> Render </h5>
<div class="row">
<div class="col text-center">
<a role="button" class="btn btn-primary"
href='{{ url_for('properties.view_model', id=item.id, lod=0) }}'>
0
</a>
</div>
<div class="col text-center">
<a role="button" class="btn btn-primary"
href='{{ url_for('properties.view_model', id=item.id, lod=1) }}'>
1
</a>
</div>
<div class="col text-center">
<a role="button" class="btn btn-primary"
href='{{ url_for('properties.view_model', id=item.id, lod=2) }}'>
2
</a>
</div>
</div>
</div>
</div>