Commit a9ea10c6 authored by amandaghassaei's avatar amandaghassaei
Browse files

ui

parent f5df79eb
......@@ -456,6 +456,13 @@
<input id="edgesVisible" data-toggle="checkbox" class="custom-checkbox layersSelector" type="checkbox"><span class="icons"><span class="icon-unchecked"></span><span class="icon-checked"></span></span>
Edges Visible
</label>
</div><br/>
Rendering:
<div class="indent">
<label class="checkbox" for="ambientOcclusion">
<input id="ambientOcclusion" data-toggle="checkbox" class="custom-checkbox layersSelector" type="checkbox"><span class="icons"><span class="icon-unchecked"></span><span class="icon-checked"></span></span>
Ambient Occlusion
</label>
</div>
</div>
</div>
......
......@@ -208,6 +208,10 @@ function initControls(globals){
});
setCheckbox("#ambientOcclusion", globals.ambientOcclusion, function(val){
globals.ambientOcclusion = val;
});
if (globals.colorMode == "color") $("#coloredMaterialOptions").show();
else $("#coloredMaterialOptions").hide();
setRadio("colorMode", globals.colorMode, function(val){
......
......@@ -15,6 +15,7 @@ function initGlobals(){
color2: "dddddd",
edgesVisible: true,
meshVisible: true,
ambientOcclusion: false,
//flags
fixedHasChanged: false,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment