├── README ├── jquery ├── development-bundle │ ├── version.txt │ ├── demos │ │ ├── images │ │ │ ├── calendar.gif │ │ │ ├── pbar-ani.gif │ │ │ ├── demo-config-on.gif │ │ │ ├── icon-docs-info.gif │ │ │ ├── demo-config-on-tile.gif │ │ │ ├── demo-spindown-open.gif │ │ │ └── demo-spindown-closed.gif │ │ ├── button │ │ │ ├── index.html │ │ │ ├── default.html │ │ │ ├── radio.html │ │ │ ├── splitbutton.html │ │ │ ├── checkbox.html │ │ │ ├── icons.html │ │ │ └── toolbar.html │ │ └── slider │ │ │ ├── default.html │ │ │ ├── index.html │ │ │ ├── rangemax.html │ │ │ ├── rangemin.html │ │ │ ├── steps.html │ │ │ ├── slider-vertical.html │ │ │ ├── range.html │ │ │ ├── range-vertical.html │ │ │ ├── hotelrooms.html │ │ │ ├── multiple-vertical.html │ │ │ ├── colorpicker.html │ │ │ └── tabs.html │ ├── themes │ │ ├── base │ │ │ ├── jquery.ui.base.css │ │ │ ├── images │ │ │ │ ├── ui-icons_222222_256x240.png │ │ │ │ ├── ui-icons_2e83ff_256x240.png │ │ │ │ ├── ui-icons_454545_256x240.png │ │ │ │ ├── ui-icons_888888_256x240.png │ │ │ │ ├── ui-icons_cd0a0a_256x240.png │ │ │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ │ │ │ ├── ui-bg_flat_75_ffffff_40x100.png │ │ │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png │ │ │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ │ │ ├── ui-bg_glass_75_dadada_1x400.png │ │ │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png │ │ │ │ ├── ui-bg_glass_95_fef1ec_1x400.png │ │ │ │ └── ui-bg_highlight-soft_75_cccccc_1x100.png │ │ │ ├── jquery.ui.all.css │ │ │ ├── jquery.ui.slider.css │ │ │ ├── jquery.ui.core.css │ │ │ └── jquery.ui.button.css │ │ └── ui-darkness │ │ │ ├── jquery.ui.base.css │ │ │ ├── images │ │ │ ├── ui-icons_222222_256x240.png │ │ │ ├── ui-icons_4b8e0b_256x240.png │ │ │ ├── ui-icons_a83300_256x240.png │ │ │ ├── ui-icons_cccccc_256x240.png │ │ │ ├── ui-icons_ffffff_256x240.png │ │ │ ├── ui-bg_flat_30_cccccc_40x100.png │ │ │ ├── ui-bg_flat_50_5c5c5c_40x100.png │ │ │ ├── ui-bg_glass_20_555555_1x400.png │ │ │ ├── ui-bg_glass_40_0078a3_1x400.png │ │ │ ├── ui-bg_glass_40_ffc73d_1x400.png │ │ │ ├── ui-bg_gloss-wave_25_333333_500x100.png │ │ │ ├── ui-bg_inset-soft_25_000000_1x100.png │ │ │ ├── ui-bg_inset-soft_30_f58400_1x100.png │ │ │ └── ui-bg_highlight-soft_80_eeeeee_1x100.png │ │ │ ├── jquery.ui.all.css │ │ │ ├── jquery.ui.slider.css │ │ │ ├── jquery.ui.core.css │ │ │ └── jquery.ui.button.css │ ├── AUTHORS.txt │ ├── MIT-LICENSE.txt │ ├── external │ │ ├── jquery.bgiframe-2.1.2.js │ │ ├── jquery.cookie.js │ │ ├── qunit.css │ │ └── jquery.metadata.js │ └── ui │ │ ├── minified │ │ ├── jquery.ui.mouse.min.js │ │ ├── jquery.ui.widget.min.js │ │ └── jquery.ui.core.min.js │ │ └── jquery.ui.mouse.js ├── css │ └── ui-darkness │ │ └── images │ │ ├── ui-icons_222222_256x240.png │ │ ├── ui-icons_4b8e0b_256x240.png │ │ ├── ui-icons_a83300_256x240.png │ │ ├── ui-icons_cccccc_256x240.png │ │ ├── ui-icons_ffffff_256x240.png │ │ ├── ui-bg_flat_30_cccccc_40x100.png │ │ ├── ui-bg_flat_50_5c5c5c_40x100.png │ │ ├── ui-bg_glass_20_555555_1x400.png │ │ ├── ui-bg_glass_40_0078a3_1x400.png │ │ ├── ui-bg_glass_40_ffc73d_1x400.png │ │ ├── ui-bg_inset-soft_25_000000_1x100.png │ │ ├── ui-bg_inset-soft_30_f58400_1x100.png │ │ ├── ui-bg_gloss-wave_25_333333_500x100.png │ │ └── ui-bg_highlight-soft_80_eeeeee_1x100.png └── jquery.cookie.js ├── up.png ├── down.png ├── right.png ├── node_bg.png ├── panel_bg.png ├── scene ├── city │ ├── black.png │ ├── blue.jpg │ ├── green.jpg │ ├── green.png │ ├── red.jpg │ ├── white.png │ ├── orange.jpg │ ├── LongWindow.jpg │ ├── WideWindow.jpg │ ├── WindoNormal1.jpg │ ├── WindoDiffuse1.jpg │ ├── WindoSpecular1.jpg │ ├── LongWindowNormal.jpg │ ├── WideWindowNormal.jpg │ ├── LongWindowSpecular.jpg │ └── WideWindowSpecular.jpg ├── scene.js └── simple.shader ├── mix ├── bot.shader ├── top.shader ├── mul.shader ├── max.shader ├── min.shader ├── avg.shader └── mix.js ├── pass.shader ├── glee ├── schedule.js ├── clock.js ├── error.js ├── keys.js ├── renderbuffer.js ├── picks.js ├── plane.js ├── model.js ├── vector.js ├── cube.js ├── viewpoint.js ├── fbo.js ├── sphere.js ├── resources.js └── texture.js ├── util.shader ├── normaldepth ├── normal.shader ├── normaldepth.shader └── normaldepth.js ├── uitest.html ├── sky ├── cube_pass.shader ├── downsample.shader ├── cubemap_convolve.shader ├── display.shader └── scattering.shader ├── shadow ├── shadow.shader └── shadow.js ├── multiply.shader ├── util.js ├── main.js ├── $ ├── blur ├── blur.shader └── blur.js ├── census.js ├── style.css ├── statistic.js └── ssao ├── gp1.shader ├── gpg8.shader ├── gd.backup.shader ├── gd.shader └── gd.2.backup.shader /README: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /jquery/development-bundle/version.txt: -------------------------------------------------------------------------------- 1 | 1.8.11 2 | -------------------------------------------------------------------------------- /up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/up.png -------------------------------------------------------------------------------- /down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/down.png -------------------------------------------------------------------------------- /right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/right.png -------------------------------------------------------------------------------- /node_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/node_bg.png -------------------------------------------------------------------------------- /panel_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/panel_bg.png -------------------------------------------------------------------------------- /scene/city/black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/scene/city/black.png -------------------------------------------------------------------------------- /scene/city/blue.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/scene/city/blue.jpg -------------------------------------------------------------------------------- /scene/city/green.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/scene/city/green.jpg -------------------------------------------------------------------------------- /scene/city/green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/scene/city/green.png -------------------------------------------------------------------------------- /scene/city/red.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/scene/city/red.jpg -------------------------------------------------------------------------------- /scene/city/white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/scene/city/white.png -------------------------------------------------------------------------------- /scene/city/orange.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/scene/city/orange.jpg -------------------------------------------------------------------------------- /scene/city/LongWindow.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/scene/city/LongWindow.jpg -------------------------------------------------------------------------------- /scene/city/WideWindow.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/scene/city/WideWindow.jpg -------------------------------------------------------------------------------- /scene/city/WindoNormal1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/scene/city/WindoNormal1.jpg -------------------------------------------------------------------------------- /scene/city/WindoDiffuse1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/scene/city/WindoDiffuse1.jpg -------------------------------------------------------------------------------- /scene/city/WindoSpecular1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/scene/city/WindoSpecular1.jpg -------------------------------------------------------------------------------- /scene/city/LongWindowNormal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/scene/city/LongWindowNormal.jpg -------------------------------------------------------------------------------- /scene/city/WideWindowNormal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/scene/city/WideWindowNormal.jpg -------------------------------------------------------------------------------- /scene/city/LongWindowSpecular.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/scene/city/LongWindowSpecular.jpg -------------------------------------------------------------------------------- /scene/city/WideWindowSpecular.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/scene/city/WideWindowSpecular.jpg -------------------------------------------------------------------------------- /jquery/development-bundle/demos/images/calendar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/demos/images/calendar.gif -------------------------------------------------------------------------------- /jquery/development-bundle/demos/images/pbar-ani.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/demos/images/pbar-ani.gif -------------------------------------------------------------------------------- /jquery/css/ui-darkness/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/css/ui-darkness/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /jquery/css/ui-darkness/images/ui-icons_4b8e0b_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/css/ui-darkness/images/ui-icons_4b8e0b_256x240.png -------------------------------------------------------------------------------- /jquery/css/ui-darkness/images/ui-icons_a83300_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/css/ui-darkness/images/ui-icons_a83300_256x240.png -------------------------------------------------------------------------------- /jquery/css/ui-darkness/images/ui-icons_cccccc_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/css/ui-darkness/images/ui-icons_cccccc_256x240.png -------------------------------------------------------------------------------- /jquery/css/ui-darkness/images/ui-icons_ffffff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/css/ui-darkness/images/ui-icons_ffffff_256x240.png -------------------------------------------------------------------------------- /jquery/development-bundle/demos/images/demo-config-on.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/demos/images/demo-config-on.gif -------------------------------------------------------------------------------- /jquery/development-bundle/demos/images/icon-docs-info.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/demos/images/icon-docs-info.gif -------------------------------------------------------------------------------- /jquery/development-bundle/themes/base/jquery.ui.base.css: -------------------------------------------------------------------------------- 1 | @import url("jquery.ui.core.css"); 2 | @import url("jquery.ui.button.css"); 3 | @import url("jquery.ui.slider.css"); -------------------------------------------------------------------------------- /jquery/css/ui-darkness/images/ui-bg_flat_30_cccccc_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/css/ui-darkness/images/ui-bg_flat_30_cccccc_40x100.png -------------------------------------------------------------------------------- /jquery/css/ui-darkness/images/ui-bg_flat_50_5c5c5c_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/css/ui-darkness/images/ui-bg_flat_50_5c5c5c_40x100.png -------------------------------------------------------------------------------- /jquery/css/ui-darkness/images/ui-bg_glass_20_555555_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/css/ui-darkness/images/ui-bg_glass_20_555555_1x400.png -------------------------------------------------------------------------------- /jquery/css/ui-darkness/images/ui-bg_glass_40_0078a3_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/css/ui-darkness/images/ui-bg_glass_40_0078a3_1x400.png -------------------------------------------------------------------------------- /jquery/css/ui-darkness/images/ui-bg_glass_40_ffc73d_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/css/ui-darkness/images/ui-bg_glass_40_ffc73d_1x400.png -------------------------------------------------------------------------------- /jquery/development-bundle/demos/images/demo-config-on-tile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/demos/images/demo-config-on-tile.gif -------------------------------------------------------------------------------- /jquery/development-bundle/demos/images/demo-spindown-open.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/demos/images/demo-spindown-open.gif -------------------------------------------------------------------------------- /jquery/development-bundle/themes/ui-darkness/jquery.ui.base.css: -------------------------------------------------------------------------------- 1 | @import url("jquery.ui.core.css"); 2 | @import url("jquery.ui.button.css"); 3 | @import url("jquery.ui.slider.css"); -------------------------------------------------------------------------------- /jquery/development-bundle/demos/images/demo-spindown-closed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/demos/images/demo-spindown-closed.gif -------------------------------------------------------------------------------- /jquery/css/ui-darkness/images/ui-bg_inset-soft_25_000000_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/css/ui-darkness/images/ui-bg_inset-soft_25_000000_1x100.png -------------------------------------------------------------------------------- /jquery/css/ui-darkness/images/ui-bg_inset-soft_30_f58400_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/css/ui-darkness/images/ui-bg_inset-soft_30_f58400_1x100.png -------------------------------------------------------------------------------- /jquery/css/ui-darkness/images/ui-bg_gloss-wave_25_333333_500x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/css/ui-darkness/images/ui-bg_gloss-wave_25_333333_500x100.png -------------------------------------------------------------------------------- /jquery/css/ui-darkness/images/ui-bg_highlight-soft_80_eeeeee_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/css/ui-darkness/images/ui-bg_highlight-soft_80_eeeeee_1x100.png -------------------------------------------------------------------------------- /jquery/development-bundle/themes/base/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/themes/base/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /jquery/development-bundle/themes/base/images/ui-icons_2e83ff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/themes/base/images/ui-icons_2e83ff_256x240.png -------------------------------------------------------------------------------- /jquery/development-bundle/themes/base/images/ui-icons_454545_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/themes/base/images/ui-icons_454545_256x240.png -------------------------------------------------------------------------------- /jquery/development-bundle/themes/base/images/ui-icons_888888_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/themes/base/images/ui-icons_888888_256x240.png -------------------------------------------------------------------------------- /jquery/development-bundle/themes/base/images/ui-icons_cd0a0a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/themes/base/images/ui-icons_cd0a0a_256x240.png -------------------------------------------------------------------------------- /jquery/development-bundle/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png -------------------------------------------------------------------------------- /jquery/development-bundle/themes/base/images/ui-bg_flat_75_ffffff_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/themes/base/images/ui-bg_flat_75_ffffff_40x100.png -------------------------------------------------------------------------------- /jquery/development-bundle/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png -------------------------------------------------------------------------------- /jquery/development-bundle/themes/base/images/ui-bg_glass_65_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/themes/base/images/ui-bg_glass_65_ffffff_1x400.png -------------------------------------------------------------------------------- /jquery/development-bundle/themes/base/images/ui-bg_glass_75_dadada_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/themes/base/images/ui-bg_glass_75_dadada_1x400.png -------------------------------------------------------------------------------- /jquery/development-bundle/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png -------------------------------------------------------------------------------- /jquery/development-bundle/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png -------------------------------------------------------------------------------- /jquery/development-bundle/themes/ui-darkness/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/themes/ui-darkness/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /jquery/development-bundle/themes/ui-darkness/images/ui-icons_4b8e0b_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/themes/ui-darkness/images/ui-icons_4b8e0b_256x240.png -------------------------------------------------------------------------------- /jquery/development-bundle/themes/ui-darkness/images/ui-icons_a83300_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/themes/ui-darkness/images/ui-icons_a83300_256x240.png -------------------------------------------------------------------------------- /jquery/development-bundle/themes/ui-darkness/images/ui-icons_cccccc_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/themes/ui-darkness/images/ui-icons_cccccc_256x240.png -------------------------------------------------------------------------------- /jquery/development-bundle/themes/ui-darkness/images/ui-icons_ffffff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/themes/ui-darkness/images/ui-icons_ffffff_256x240.png -------------------------------------------------------------------------------- /jquery/development-bundle/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png -------------------------------------------------------------------------------- /jquery/development-bundle/themes/ui-darkness/images/ui-bg_flat_30_cccccc_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/themes/ui-darkness/images/ui-bg_flat_30_cccccc_40x100.png -------------------------------------------------------------------------------- /jquery/development-bundle/themes/ui-darkness/images/ui-bg_flat_50_5c5c5c_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/themes/ui-darkness/images/ui-bg_flat_50_5c5c5c_40x100.png -------------------------------------------------------------------------------- /jquery/development-bundle/themes/ui-darkness/images/ui-bg_glass_20_555555_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/themes/ui-darkness/images/ui-bg_glass_20_555555_1x400.png -------------------------------------------------------------------------------- /jquery/development-bundle/themes/ui-darkness/images/ui-bg_glass_40_0078a3_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/themes/ui-darkness/images/ui-bg_glass_40_0078a3_1x400.png -------------------------------------------------------------------------------- /jquery/development-bundle/themes/ui-darkness/images/ui-bg_glass_40_ffc73d_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/themes/ui-darkness/images/ui-bg_glass_40_ffc73d_1x400.png -------------------------------------------------------------------------------- /jquery/development-bundle/themes/ui-darkness/images/ui-bg_gloss-wave_25_333333_500x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/themes/ui-darkness/images/ui-bg_gloss-wave_25_333333_500x100.png -------------------------------------------------------------------------------- /jquery/development-bundle/themes/ui-darkness/images/ui-bg_inset-soft_25_000000_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/themes/ui-darkness/images/ui-bg_inset-soft_25_000000_1x100.png -------------------------------------------------------------------------------- /jquery/development-bundle/themes/ui-darkness/images/ui-bg_inset-soft_30_f58400_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/themes/ui-darkness/images/ui-bg_inset-soft_30_f58400_1x100.png -------------------------------------------------------------------------------- /jquery/development-bundle/themes/ui-darkness/images/ui-bg_highlight-soft_80_eeeeee_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyalot/WebGL-City-SSAO/HEAD/jquery/development-bundle/themes/ui-darkness/images/ui-bg_highlight-soft_80_eeeeee_1x100.png -------------------------------------------------------------------------------- /jquery/development-bundle/themes/base/jquery.ui.all.css: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery UI CSS Framework 1.8.11 3 | * 4 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 5 | * Dual licensed under the MIT or GPL Version 2 licenses. 6 | * http://jquery.org/license 7 | * 8 | * http://docs.jquery.com/UI/Theming 9 | */ 10 | @import "jquery.ui.base.css"; 11 | @import "jquery.ui.theme.css"; 12 | -------------------------------------------------------------------------------- /jquery/development-bundle/themes/ui-darkness/jquery.ui.all.css: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery UI CSS Framework 1.8.11 3 | * 4 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 5 | * Dual licensed under the MIT or GPL Version 2 licenses. 6 | * http://jquery.org/license 7 | * 8 | * http://docs.jquery.com/UI/Theming 9 | */ 10 | @import "jquery.ui.base.css"; 11 | @import "jquery.ui.theme.css"; 12 | -------------------------------------------------------------------------------- /mix/bot.shader: -------------------------------------------------------------------------------- 1 | /* 2 | :copyright: 2011 by Florian Boesch . 3 | :license: GNU AGPL3, see LICENSE for more details. 4 | */ 5 | vertex: 6 | attribute vec3 position; 7 | attribute vec2 texcoord; 8 | varying vec2 uv; 9 | 10 | void main(void) { 11 | gl_Position = vec4(position, 1.0); 12 | uv = texcoord; 13 | } 14 | 15 | fragment: 16 | uniform sampler2D op1, op2; 17 | varying vec2 uv; 18 | 19 | void main(void){ 20 | gl_FragColor = texture2D(op2, uv); 21 | } 22 | -------------------------------------------------------------------------------- /mix/top.shader: -------------------------------------------------------------------------------- 1 | /* 2 | :copyright: 2011 by Florian Boesch . 3 | :license: GNU AGPL3, see LICENSE for more details. 4 | */ 5 | vertex: 6 | attribute vec3 position; 7 | attribute vec2 texcoord; 8 | varying vec2 uv; 9 | 10 | void main(void) { 11 | gl_Position = vec4(position, 1.0); 12 | uv = texcoord; 13 | } 14 | 15 | fragment: 16 | uniform sampler2D op1, op2; 17 | varying vec2 uv; 18 | 19 | void main(void){ 20 | gl_FragColor = texture2D(op1, uv); 21 | } 22 | -------------------------------------------------------------------------------- /mix/mul.shader: -------------------------------------------------------------------------------- 1 | /* 2 | :copyright: 2011 by Florian Boesch . 3 | :license: GNU AGPL3, see LICENSE for more details. 4 | */ 5 | vertex: 6 | attribute vec3 position; 7 | attribute vec2 texcoord; 8 | varying vec2 uv; 9 | 10 | void main(void) { 11 | gl_Position = vec4(position, 1.0); 12 | uv = texcoord; 13 | } 14 | 15 | fragment: 16 | uniform sampler2D op1, op2; 17 | varying vec2 uv; 18 | 19 | void main(void){ 20 | gl_FragColor = texture2D(op1, uv) * texture2D(op2, uv); 21 | } 22 | -------------------------------------------------------------------------------- /mix/max.shader: -------------------------------------------------------------------------------- 1 | /* 2 | :copyright: 2011 by Florian Boesch . 3 | :license: GNU AGPL3, see LICENSE for more details. 4 | */ 5 | vertex: 6 | attribute vec3 position; 7 | attribute vec2 texcoord; 8 | varying vec2 uv; 9 | 10 | void main(void) { 11 | gl_Position = vec4(position, 1.0); 12 | uv = texcoord; 13 | } 14 | 15 | fragment: 16 | uniform sampler2D op1, op2; 17 | varying vec2 uv; 18 | 19 | void main(void){ 20 | gl_FragColor = max(texture2D(op1, uv), texture2D(op2, uv)); 21 | } 22 | -------------------------------------------------------------------------------- /mix/min.shader: -------------------------------------------------------------------------------- 1 | /* 2 | :copyright: 2011 by Florian Boesch . 3 | :license: GNU AGPL3, see LICENSE for more details. 4 | */ 5 | vertex: 6 | attribute vec3 position; 7 | attribute vec2 texcoord; 8 | varying vec2 uv; 9 | 10 | void main(void) { 11 | gl_Position = vec4(position, 1.0); 12 | uv = texcoord; 13 | } 14 | 15 | fragment: 16 | uniform sampler2D op1, op2; 17 | varying vec2 uv; 18 | 19 | void main(void){ 20 | gl_FragColor = min(texture2D(op1, uv), texture2D(op2, uv)); 21 | } 22 | -------------------------------------------------------------------------------- /mix/avg.shader: -------------------------------------------------------------------------------- 1 | /* 2 | :copyright: 2011 by Florian Boesch . 3 | :license: GNU AGPL3, see LICENSE for more details. 4 | */ 5 | vertex: 6 | attribute vec3 position; 7 | attribute vec2 texcoord; 8 | varying vec2 uv; 9 | 10 | void main(void) { 11 | gl_Position = vec4(position, 1.0); 12 | uv = texcoord; 13 | } 14 | 15 | fragment: 16 | uniform sampler2D op1, op2; 17 | varying vec2 uv; 18 | 19 | void main(void){ 20 | gl_FragColor = (texture2D(op1, uv) + texture2D(op2, uv))/2.0; 21 | } 22 | -------------------------------------------------------------------------------- /pass.shader: -------------------------------------------------------------------------------- 1 | /* 2 | :copyright: 2011 by Florian Boesch . 3 | :license: GNU AGPL3, see LICENSE for more details. 4 | */ 5 | vertex: 6 | attribute vec3 position; 7 | attribute vec2 texcoord; 8 | varying vec2 v_texcoord; 9 | 10 | void main(void) { 11 | gl_Position = vec4(position, 1.0); 12 | v_texcoord = texcoord; 13 | } 14 | 15 | fragment: depthutil 16 | varying vec2 v_texcoord; 17 | uniform sampler2D source; 18 | void main(void){ 19 | vec4 src = texture2D(source, v_texcoord); 20 | gl_FragColor = vec4(src.rgb, 1.0); 21 | } 22 | -------------------------------------------------------------------------------- /glee/schedule.js: -------------------------------------------------------------------------------- 1 | /* 2 | :copyright: 2011 by Florian Boesch . 3 | :license: GNU AGPL3, see LICENSE for more details. 4 | */ 5 | Glee.prototype.schedule = function(onrun){ 6 | var last = new Date().getTime(); 7 | var request = window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame; 8 | 9 | var step = function(){ 10 | request(step); 11 | var current = new Date().getTime(); 12 | var delta = current-last; 13 | delta = Math.max(1, Math.min(delta, 500)); 14 | last = current; 15 | onrun(delta/1000, current); 16 | } 17 | request(step); 18 | }; 19 | -------------------------------------------------------------------------------- /util.shader: -------------------------------------------------------------------------------- 1 | vec2 encode_normal(vec3 normal) 2 | { 3 | float f = sqrt(8.0*normal.z+8.0); 4 | return normal.xy / f + 0.5; 5 | } 6 | 7 | vec2 encode_depth(vec3 position){ 8 | float depth = (length(position)-near)/far; 9 | depth = depth*255.0*255.0; 10 | return vec2( 11 | mod(depth, 255.0)/255.0, 12 | floor(depth/255.0)/255.0 13 | ); 14 | } 15 | 16 | vec3 decode_normal(vec2 enc) 17 | { 18 | vec2 fenc = enc*4.0-2.0; 19 | float f = dot(fenc,fenc); 20 | float g = sqrt(1.0-f/4.0); 21 | return vec3(fenc*g, 1.0-f/2.0); 22 | } 23 | 24 | float decode_depth(vec2 src){ 25 | float depth = src.x/255.0+src.y; 26 | return depth*far+near; 27 | } 28 | 29 | -------------------------------------------------------------------------------- /jquery/development-bundle/demos/button/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Button Demos 6 | 7 | 8 | 9 | 10 |
11 |

Examples

12 | 20 |
21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /normaldepth/normal.shader: -------------------------------------------------------------------------------- 1 | /* 2 | :copyright: 2011 by Florian Boesch . 3 | :license: GNU AGPL3, see LICENSE for more details. 4 | */ 5 | vertex: 6 | attribute vec3 position, normal; 7 | varying vec3 v_normal, v_position; 8 | uniform mat4 proj, view; 9 | 10 | void main(void) { 11 | gl_Position = proj * view * vec4(position, 1.0); 12 | v_normal = normal; 13 | v_position = position; 14 | } 15 | 16 | fragment: 17 | varying vec3 v_normal, v_position; 18 | uniform mat3 view_rot; 19 | uniform mat4 view; 20 | uniform float near, far; 21 | 22 | void main(void){ 23 | vec3 normal = normalize(v_normal); 24 | gl_FragColor = vec4((normal+1.0)*0.5, 1.0); 25 | } 26 | -------------------------------------------------------------------------------- /glee/clock.js: -------------------------------------------------------------------------------- 1 | /* 2 | :copyright: 2011 by Florian Boesch . 3 | :license: GNU AGPL3, see LICENSE for more details. 4 | */ 5 | Glee.prototype.FPS = function(params){ 6 | var counts = []; 7 | var count = 0; 8 | var last = (new Date()).getTime(); 9 | 10 | this.tick = function(){ 11 | count += 1; 12 | } 13 | 14 | setInterval(function(){ 15 | var now = (new Date()).getTime(); 16 | var delta = now - last; 17 | last = now; 18 | var fps = (1000*count)/delta; 19 | count = 0; 20 | counts.push(fps); 21 | while(counts.length > params.average_over){ 22 | counts.shift(); 23 | } 24 | var avg = 0; 25 | for(var i=0; i. 3 | :license: GNU AGPL3, see LICENSE for more details. 4 | */ 5 | Glee.extensions.push(function(glee){ 6 | var gl = glee.gl; 7 | glee.checkError = function(description){ 8 | var code = gl.getError(); 9 | switch(code){ 10 | case gl.NO_ERROR: 11 | return; 12 | case gl.OUT_OF_MEMORY: 13 | throw 'Out of Memory: ' + description 14 | case gl.INVALID_ENUM: 15 | throw 'Invalid Enum: ' + description 16 | case gl.INVALID_OPERATION: 17 | throw 'Invalid Operation: ' + description 18 | case gl.INVALID_FRAMEBUFFER_OPERATION: 19 | throw 'Invalid Framebuffer Operation: ' + description 20 | case gl.INVALID_VALUE: 21 | throw 'Invalid Value: ' + description 22 | } 23 | } 24 | }); 25 | 26 | -------------------------------------------------------------------------------- /glee/keys.js: -------------------------------------------------------------------------------- 1 | Glee.prototype.Keys = function(){ 2 | var keymap = ({ 3 | 87: 'w', 4 | 65: 'a', 5 | 83: 's', 6 | 68: 'd', 7 | 81: 'q', 8 | 69: 'e', 9 | 37: 'left', 10 | 39: 'right', 11 | 38: 'up', 12 | 40: 'down', 13 | 13: 'enter', 14 | 27: 'esc', 15 | 32: 'space', 16 | 8: 'backspace', 17 | 16: 'shift', 18 | 17: 'ctrl', 19 | 18: 'alt', 20 | 91: 'start', 21 | 0: 'altc', 22 | 20: 'caps', 23 | 9: 'tab', 24 | 49: 'key1', 25 | 50: 'key2', 26 | 51: 'key3', 27 | 52: 'key4' 28 | }); 29 | 30 | var self = this; 31 | 32 | $(document).keydown(function(event){ 33 | self[keymap[event.which]] = true; 34 | }); 35 | 36 | $(document).keyup(function(event){ 37 | self[keymap[event.which]] = false; 38 | }); 39 | 40 | }; 41 | -------------------------------------------------------------------------------- /uitest.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /jquery/development-bundle/AUTHORS.txt: -------------------------------------------------------------------------------- 1 | jQuery UI Authors (http://jqueryui.com/about) 2 | 3 | This software consists of voluntary contributions made by many 4 | individuals. For exact contribution history, see the revision history 5 | and logs, available at http://github.com/jquery/jquery-ui 6 | 7 | Brandon Aaron 8 | Paul Bakaus (paulbakaus.com) 9 | David Bolter 10 | Rich Caloggero 11 | Chi Cheng (cloudream@gmail.com) 12 | Colin Clark (http://colin.atrc.utoronto.ca/) 13 | Michelle D'Souza 14 | Aaron Eisenberger (aaronchi@gmail.com) 15 | Ariel Flesler 16 | Bohdan Ganicky 17 | Scott González 18 | Marc Grabanski (m@marcgrabanski.com) 19 | Klaus Hartl (stilbuero.de) 20 | Scott Jehl 21 | Cody Lindley 22 | Eduardo Lundgren (eduardolundgren@gmail.com) 23 | Todd Parker 24 | John Resig 25 | Patty Toland 26 | Ca-Phun Ung (yelotofu.com) 27 | Keith Wood (kbwood@virginbroadband.com.au) 28 | Maggie Costello Wachs 29 | Richard D. Worth (rdworth.org) 30 | Jörn Zaefferer (bassistance.de) 31 | -------------------------------------------------------------------------------- /sky/cube_pass.shader: -------------------------------------------------------------------------------- 1 | /* 2 | :copyright: 2011 by Florian Boesch . 3 | :license: GNU AGPL3, see LICENSE for more details. 4 | */ 5 | vertex: 6 | attribute vec3 position; 7 | 8 | void main(void) { 9 | gl_Position = vec4(position, 1.0); 10 | } 11 | 12 | fragment: 13 | uniform vec2 viewport; 14 | uniform mat4 inv_proj; 15 | uniform mat3 inv_view_rot; 16 | uniform samplerCube source; 17 | 18 | vec3 get_world_normal(){ 19 | vec2 frag_coord = gl_FragCoord.xy/viewport; 20 | frag_coord = (frag_coord-0.5)*2.0; 21 | vec4 device_normal = vec4(frag_coord, 0.0, 1.0); 22 | vec3 eye_normal = normalize((inv_proj * device_normal).xyz); 23 | vec3 world_normal = normalize(inv_view_rot*eye_normal); 24 | return world_normal; 25 | } 26 | 27 | void main(void){ 28 | vec3 normal = get_world_normal(); 29 | vec4 color = textureCube(source, normal); 30 | gl_FragColor = vec4(color.rgb, 1.0); 31 | } 32 | -------------------------------------------------------------------------------- /shadow/shadow.shader: -------------------------------------------------------------------------------- 1 | /* 2 | :copyright: 2011 by Florian Boesch . 3 | :license: GNU AGPL3, see LICENSE for more details. 4 | */ 5 | vertex: 6 | attribute vec3 position, normal; 7 | attribute vec2 texcoord; 8 | varying vec3 v_position; 9 | uniform mat4 proj, view; 10 | 11 | void main(void) { 12 | gl_Position = proj * view * vec4(position, 1.0); 13 | v_position = (view * vec4(position, 1.0)).xyz; 14 | } 15 | 16 | fragment: 17 | uniform float near, far; 18 | varying vec3 v_position; 19 | 20 | vec4 pack(){ 21 | float depth = (v_position.z - near)/(far-near); 22 | float depth1 = depth*255.0*255.0; 23 | float depth2 = (depth*depth)*255.0*255.0; 24 | return vec4( 25 | mod(depth1, 255.0)/255.0, 26 | floor(depth1/255.0)/255.0, 27 | mod(depth2, 255.0)/255.0, 28 | floor(depth2/255.0)/255.0 29 | ); 30 | } 31 | 32 | void main(void){ 33 | gl_FragColor = pack(); 34 | } 35 | -------------------------------------------------------------------------------- /mix/mix.js: -------------------------------------------------------------------------------- 1 | mix = { 2 | root: 'mix', 3 | shaders: { 4 | avg: 'avg.shader', 5 | min: 'min.shader', 6 | max: 'max.shader', 7 | top: 'top.shader', 8 | bot: 'bot.shader', 9 | mul: 'mul.shader', 10 | }, 11 | init: function(glee, params){ 12 | var self = this; 13 | 14 | this.result = new glee.Texture({ 15 | width: glee.width, 16 | height: glee.height, 17 | }); 18 | 19 | this.processor = new glee.Processor({ 20 | fbo: params.fbo, 21 | result: this.result, 22 | shader: this.shaders[$('input[name=combine]:checked').val()], 23 | samplers: {} 24 | }); 25 | $('input[name=combine]').change(function(){ 26 | self.processor.shader = self.shaders[$(this).val()]; 27 | }); 28 | }, 29 | set_ops: function(op1, op2){ 30 | this.processor.samplers.op1 = op1; 31 | this.processor.samplers.op2 = op2; 32 | }, 33 | render: function(){ 34 | this.processor.render(); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /multiply.shader: -------------------------------------------------------------------------------- 1 | /* 2 | :copyright: 2011 by Florian Boesch . 3 | :license: GNU AGPL3, see LICENSE for more details. 4 | */ 5 | vertex: 6 | attribute vec3 position; 7 | attribute vec2 texcoord; 8 | varying vec2 v_texcoord; 9 | 10 | void main(void) { 11 | gl_Position = vec4(position, 1.0); 12 | v_texcoord = texcoord; 13 | } 14 | 15 | fragment: depthutil 16 | varying vec2 v_texcoord; 17 | uniform sampler2D source, occlusionmap; 18 | float far = 1.0; 19 | float near = 0.0; 20 | 21 | vec3 decode_normal(vec2 enc) 22 | { 23 | vec2 fenc = enc*4.0-2.0; 24 | float f = dot(fenc,fenc); 25 | float g = sqrt(1.0-f/4.0); 26 | return vec3(fenc*g, 1.0-f/2.0); 27 | } 28 | 29 | float decode_depth(vec2 src){ 30 | float depth = src.x/255.0+src.y; 31 | return depth*far+near; 32 | } 33 | 34 | void main(void){ 35 | vec3 color = texture2D(source, v_texcoord).rgb; 36 | vec4 occlusion = texture2D(occlusionmap, v_texcoord); 37 | gl_FragColor = vec4(color*occlusion.a, 1.0); 38 | } 39 | -------------------------------------------------------------------------------- /jquery/development-bundle/demos/slider/default.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Slider - Default functionality 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 16 | 21 | 22 | 23 | 24 |
25 | 26 |
27 | 28 |
29 | 30 | 31 | 32 |
33 |

The basic slider is horizontal and has a single handle that can be moved with the mouse or by using the arrow keys.

34 |
35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /jquery/development-bundle/demos/slider/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Slider Demos 6 | 7 | 8 | 9 | 10 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /jquery/development-bundle/demos/button/default.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Button - Default functionality 6 | 7 | 8 | 9 | 10 | 11 | 12 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | An anchor 28 | 29 |
30 | 31 | 32 | 33 |
34 |

Examples of the markup that can be used for buttons: A button element, an input of type submit and an anchor.

35 |
36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /jquery/development-bundle/demos/button/radio.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Button - Radios 6 | 7 | 8 | 9 | 10 | 11 | 12 | 17 | 18 | 19 | 20 |
21 | 22 |
23 |
24 | 25 | 26 | 27 |
28 |
29 | 30 |
31 | 32 | 33 | 34 |
35 |

A set of three radio buttons transformed into a button set.

36 |
37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /jquery/development-bundle/themes/base/jquery.ui.slider.css: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery UI Slider 1.8.11 3 | * 4 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 5 | * Dual licensed under the MIT or GPL Version 2 licenses. 6 | * http://jquery.org/license 7 | * 8 | * http://docs.jquery.com/UI/Slider#theming 9 | */ 10 | .ui-slider { position: relative; text-align: left; } 11 | .ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; } 12 | .ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; } 13 | 14 | .ui-slider-horizontal { height: .8em; } 15 | .ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; } 16 | .ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; } 17 | .ui-slider-horizontal .ui-slider-range-min { left: 0; } 18 | .ui-slider-horizontal .ui-slider-range-max { right: 0; } 19 | 20 | .ui-slider-vertical { width: .8em; height: 100px; } 21 | .ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; } 22 | .ui-slider-vertical .ui-slider-range { left: 0; width: 100%; } 23 | .ui-slider-vertical .ui-slider-range-min { bottom: 0; } 24 | .ui-slider-vertical .ui-slider-range-max { top: 0; } -------------------------------------------------------------------------------- /jquery/development-bundle/themes/ui-darkness/jquery.ui.slider.css: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery UI Slider 1.8.11 3 | * 4 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 5 | * Dual licensed under the MIT or GPL Version 2 licenses. 6 | * http://jquery.org/license 7 | * 8 | * http://docs.jquery.com/UI/Slider#theming 9 | */ 10 | .ui-slider { position: relative; text-align: left; } 11 | .ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; } 12 | .ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; } 13 | 14 | .ui-slider-horizontal { height: .8em; } 15 | .ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; } 16 | .ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; } 17 | .ui-slider-horizontal .ui-slider-range-min { left: 0; } 18 | .ui-slider-horizontal .ui-slider-range-max { right: 0; } 19 | 20 | .ui-slider-vertical { width: .8em; height: 100px; } 21 | .ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; } 22 | .ui-slider-vertical .ui-slider-range { left: 0; width: 100%; } 23 | .ui-slider-vertical .ui-slider-range-min { bottom: 0; } 24 | .ui-slider-vertical .ui-slider-range-max { top: 0; } -------------------------------------------------------------------------------- /normaldepth/normaldepth.shader: -------------------------------------------------------------------------------- 1 | /* 2 | :copyright: 2011 by Florian Boesch . 3 | :license: GNU AGPL3, see LICENSE for more details. 4 | */ 5 | vertex: 6 | attribute vec3 position, normal; 7 | varying vec3 v_normal, v_position; 8 | uniform mat4 proj, view; 9 | 10 | void main(void) { 11 | gl_Position = proj * view * vec4(position, 1.0); 12 | v_normal = normal; 13 | v_position = position; 14 | } 15 | 16 | fragment: 17 | varying vec3 v_normal, v_position; 18 | uniform mat3 view_rot; 19 | uniform mat4 view; 20 | uniform float near, far; 21 | 22 | vec2 encode_normal(vec3 normal) 23 | { 24 | float f = sqrt(8.0*normal.z+8.0); 25 | return normal.xy / f + 0.5; 26 | } 27 | 28 | vec2 encode_depth(vec3 position){ 29 | float depth = (length(position)-near)/far; 30 | depth = depth*255.0*255.0; 31 | return vec2( 32 | mod(depth, 255.0)/255.0, 33 | floor(depth/255.0)/255.0 34 | ); 35 | } 36 | 37 | void main(void){ 38 | vec3 normal = view_rot * normalize(v_normal); 39 | vec3 position = (view * vec4(v_position, 1.0)).xyz; 40 | gl_FragColor = vec4(encode_normal(normal), encode_depth(position)); 41 | } 42 | -------------------------------------------------------------------------------- /util.js: -------------------------------------------------------------------------------- 1 | var handlers = { 2 | /* 3 | error: function(glee, description, info){ 4 | console.log(info); 5 | $('canvas.demo').replaceWith($('
').append(description)); 6 | census.error(glee, 'ssao', info); 7 | }, 8 | capabilities: function(glee, description, webgl){ 9 | if(webgl){ 10 | census.capabilities(glee, 'irradiance'); 11 | } 12 | else{ 13 | $('canvas.demo').replaceWith($('
').append(description)); 14 | census.nowebgl('ssao'); 15 | } 16 | }, 17 | */ 18 | }; 19 | 20 | var slider = function(params){ 21 | var row = $('
'); 22 | $('').appendTo(row).text(params.title); 23 | $('
').slider({ 24 | range: params.range, 25 | min: params.min, 26 | max: params.max, 27 | value: params.value, 28 | values: params.values, 29 | step: params.step, 30 | slide: function(event, ui){ 31 | params.slide(ui.value); 32 | value_display.text(ui.value); 33 | } 34 | }).appendTo(row); 35 | var value_display = $('').appendTo(row).text(params.value); 36 | params.slide(params.value); 37 | return row; 38 | } 39 | -------------------------------------------------------------------------------- /glee/renderbuffer.js: -------------------------------------------------------------------------------- 1 | /* 2 | :copyright: 2011 by Florian Boesch . 3 | :license: GNU AGPL3, see LICENSE for more details. 4 | */ 5 | Glee.extensions.push(function(glee){ 6 | var gl = glee.gl; 7 | 8 | var DepthBuffer = glee.DepthBuffer = function(params){ 9 | this.format = gl.DEPTH_COMPONENT16; 10 | this.id = gl.createRenderbuffer(); 11 | 12 | gl.bindRenderbuffer(gl.RENDERBUFFER, this.id); 13 | gl.renderbufferStorage(gl.RENDERBUFFER, this.format, params.width, params.height); 14 | gl.bindRenderbuffer(gl.RENDERBUFFER, null); 15 | }; 16 | 17 | var StencilBuffer = glee.StencilBuffer = function(params){ 18 | this.format = gl.STENCIL_INDEX8; 19 | this.id = gl.createRenderbuffer(); 20 | 21 | gl.bindRenderbuffer(gl.RENDERBUFFER, this.id); 22 | gl.renderbufferStorage(gl.RENDERBUFFER, this.format, params.width, params.height); 23 | gl.bindRenderbuffer(gl.RENDERBUFFER, null); 24 | }; 25 | 26 | var DepthStencilBuffer = glee.DepthStencilBuffer = function(params){ 27 | this.format = gl.DEPTH_STENCIL; 28 | this.id = gl.createRenderbuffer(); 29 | 30 | gl.bindRenderbuffer(gl.RENDERBUFFER, this.id); 31 | gl.renderbufferStorage(gl.RENDERBUFFER, this.format, params.width, params.height); 32 | gl.bindRenderbuffer(gl.RENDERBUFFER, null); 33 | }; 34 | }); 35 | -------------------------------------------------------------------------------- /glee/picks.js: -------------------------------------------------------------------------------- 1 | Glee.prototype.random_picks = function(N){ 2 | var picks = []; 3 | for(var i=0; i 0.0){ 27 | picks.push(Math.cos(phi)*r, y, Math.sin(phi)*r); 28 | } 29 | } 30 | return picks; 31 | } 32 | 33 | Glee.prototype.kernel_picks = function(size, step){ 34 | var kernel = []; 35 | var size = size || 2; 36 | var step = step || Math.PI/8; 37 | for(var a=-size; a<=size; a++){ 38 | for(var b=-size; b<=size; b++){ 39 | var x = Math.sin(a*step); 40 | var z0 = Math.cos(a*step); 41 | var y = Math.sin(b*step)*z0; 42 | var z = Math.cos(b*step)*z0; 43 | kernel.push(x, y, z); 44 | } 45 | } 46 | return kernel; 47 | } 48 | -------------------------------------------------------------------------------- /sky/downsample.shader: -------------------------------------------------------------------------------- 1 | /* 2 | :copyright: 2011 by Florian Boesch . 3 | :license: GNU AGPL3, see LICENSE for more details. 4 | */ 5 | vertex: 6 | attribute vec3 position; 7 | 8 | void main(void) { 9 | gl_Position = vec4(position, 1.0); 10 | } 11 | 12 | fragment: 13 | uniform vec2 viewport; 14 | uniform mat4 inv_proj; 15 | uniform mat3 inv_view_rot; 16 | uniform samplerCube source; 17 | 18 | vec3 get_world_normal(vec2 pos, vec2 dims){ 19 | vec2 frag_coord = pos/dims; 20 | frag_coord = (frag_coord-0.5)*2.0; 21 | vec4 device_normal = vec4(frag_coord, 0.0, 1.0); 22 | vec3 eye_normal = normalize((inv_proj * device_normal).xyz); 23 | vec3 world_normal = normalize(inv_view_rot*eye_normal); 24 | return world_normal; 25 | } 26 | 27 | vec3 sample(float xoff, float yoff){ 28 | vec2 off = gl_FragCoord.xy*2.0+vec2(xoff, yoff); 29 | vec3 normal = get_world_normal(off, viewport*2.0); 30 | vec4 src = textureCube(source, normal); 31 | return src.rgb*pow(src.a*16.0, 2.0); 32 | } 33 | 34 | void main(void){ 35 | vec3 color = ( 36 | sample(-0.5, -0.5) + 37 | sample(-0.5, +0.5) + 38 | sample(+0.5, -0.5) + 39 | sample(+0.5, +0.5) 40 | ) * 0.25; 41 | gl_FragColor = vec4(normalize(color), sqrt(length(color))/16.0); 42 | } 43 | -------------------------------------------------------------------------------- /jquery/development-bundle/MIT-LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011 Paul Bakaus, http://jqueryui.com/ 2 | 3 | This software consists of voluntary contributions made by many 4 | individuals (AUTHORS.txt, http://jqueryui.com/about) For exact 5 | contribution history, see the revision history and logs, available 6 | at http://jquery-ui.googlecode.com/svn/ 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining 9 | a copy of this software and associated documentation files (the 10 | "Software"), to deal in the Software without restriction, including 11 | without limitation the rights to use, copy, modify, merge, publish, 12 | distribute, sublicense, and/or sell copies of the Software, and to 13 | permit persons to whom the Software is furnished to do so, subject to 14 | the following conditions: 15 | 16 | The above copyright notice and this permission notice shall be 17 | included in all copies or substantial portions of the Software. 18 | 19 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 20 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 21 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 22 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 23 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 24 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 25 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 26 | -------------------------------------------------------------------------------- /jquery/development-bundle/demos/button/splitbutton.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Button - Split button 6 | 7 | 8 | 9 | 10 | 11 | 12 | 33 | 36 | 37 | 38 | 39 |
40 | 41 |
42 | 43 | 44 |
45 | 46 |
47 | 48 | 49 | 50 |
51 |

An example of a split button built with two buttons: A plan button with just text, one with only a primary icon and no text. Both are grouped together in a set.

52 |
53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /jquery/development-bundle/demos/button/checkbox.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Button - Checkboxes 6 | 7 | 8 | 9 | 10 | 11 | 12 | 18 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 |
29 | 30 | 31 | 32 |
33 | 34 |
35 | 36 | 37 | 38 |
39 |

A checkbox is styled as a toggle button with the button widget. The label element associated with the checkbox is used for the button text.

40 |

This demo also demonstrates three checkboxes styled as a button set by calling .buttonset() on a common container.

41 |
42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /jquery/development-bundle/demos/slider/rangemax.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Slider - Range with fixed maximum 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 16 | 30 | 31 | 32 | 33 |
34 | 35 |

36 | 37 | 38 |

39 |
40 | 41 |
42 | 43 | 44 | 45 |
46 |

Fix the maximum value of the range slider so that the user can only select a minimum. Set the range option to "max."

47 |
48 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /jquery/development-bundle/demos/slider/rangemin.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Slider - Range with fixed minimum 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 16 | 30 | 31 | 32 | 33 |
34 | 35 |

36 | 37 | 38 |

39 | 40 |
41 | 42 |
43 | 44 | 45 | 46 |
47 |

Fix the minimum value of the range slider so that the user can only select a maximum. Set the range option to "min."

48 |
49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /jquery/development-bundle/demos/slider/steps.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Slider - Snap to increments 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 16 | 30 | 31 | 32 | 33 |
34 | 35 |

36 | 37 | 38 |

39 | 40 |
41 | 42 |
43 | 44 | 45 | 46 |
47 |

Increment slider values with the step option set to an integer, commonly a dividend of the slider's maximum value. The default increment is 1.

48 |
49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /jquery/development-bundle/themes/base/jquery.ui.core.css: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery UI CSS Framework 1.8.11 3 | * 4 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 5 | * Dual licensed under the MIT or GPL Version 2 licenses. 6 | * http://jquery.org/license 7 | * 8 | * http://docs.jquery.com/UI/Theming/API 9 | */ 10 | 11 | /* Layout helpers 12 | ----------------------------------*/ 13 | .ui-helper-hidden { display: none; } 14 | .ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); } 15 | .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } 16 | .ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } 17 | .ui-helper-clearfix { display: inline-block; } 18 | /* required comment for clearfix to work in Opera \*/ 19 | * html .ui-helper-clearfix { height:1%; } 20 | .ui-helper-clearfix { display:block; } 21 | /* end clearfix */ 22 | .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } 23 | 24 | 25 | /* Interaction Cues 26 | ----------------------------------*/ 27 | .ui-state-disabled { cursor: default !important; } 28 | 29 | 30 | /* Icons 31 | ----------------------------------*/ 32 | 33 | /* states and images */ 34 | .ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } 35 | 36 | 37 | /* Misc visuals 38 | ----------------------------------*/ 39 | 40 | /* Overlays */ 41 | .ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } 42 | -------------------------------------------------------------------------------- /main.js: -------------------------------------------------------------------------------- 1 | /* 2 | :copyright: 2011 by Florian Boesch . 3 | :license: GNU AGPL3, see LICENSE for more details. 4 | */ 5 | 6 | $(function(){ 7 | var canvas = $('canvas')[0]; 8 | var glee = new Glee(canvas, handlers).load({ 9 | graph: graph, 10 | onload: function(gl){ 11 | var self = this; 12 | 13 | glee.resize(canvas.width, canvas.height); 14 | 15 | var statistic = new Statistic(); 16 | 17 | var cube = new glee.Cube(0.15); 18 | var sphere = new glee.Sphere(1.0); 19 | 20 | var keys = new glee.Keys(); 21 | var view = new glee.Viewpoint({ 22 | position: new glee.Vec3(0.0, 5.0, 2.0), 23 | keys: keys, 24 | speed: 0.2, 25 | }); 26 | 27 | var proj = new glee.Perspective({ 28 | width: canvas.width, 29 | height: canvas.height, 30 | fov: 75, 31 | near: 0.001, 32 | far: 40, 33 | }); 34 | 35 | this.graph.init(glee, { 36 | view: view, 37 | proj: proj, 38 | }); 39 | 40 | glee.schedule(function(delta, current){ 41 | view.step(delta); 42 | self.graph.render(); 43 | glee.gl.finish(); 44 | 45 | var now = (new Date()).getTime(); 46 | var render_time = now - current; 47 | statistic.tick(render_time); 48 | //statistic.tick(delta*1000); 49 | }); 50 | } 51 | }); 52 | }); 53 | -------------------------------------------------------------------------------- /jquery/development-bundle/themes/ui-darkness/jquery.ui.core.css: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery UI CSS Framework 1.8.11 3 | * 4 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 5 | * Dual licensed under the MIT or GPL Version 2 licenses. 6 | * http://jquery.org/license 7 | * 8 | * http://docs.jquery.com/UI/Theming/API 9 | */ 10 | 11 | /* Layout helpers 12 | ----------------------------------*/ 13 | .ui-helper-hidden { display: none; } 14 | .ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); } 15 | .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } 16 | .ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } 17 | .ui-helper-clearfix { display: inline-block; } 18 | /* required comment for clearfix to work in Opera \*/ 19 | * html .ui-helper-clearfix { height:1%; } 20 | .ui-helper-clearfix { display:block; } 21 | /* end clearfix */ 22 | .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } 23 | 24 | 25 | /* Interaction Cues 26 | ----------------------------------*/ 27 | .ui-state-disabled { cursor: default !important; } 28 | 29 | 30 | /* Icons 31 | ----------------------------------*/ 32 | 33 | /* states and images */ 34 | .ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } 35 | 36 | 37 | /* Misc visuals 38 | ----------------------------------*/ 39 | 40 | /* Overlays */ 41 | .ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } 42 | -------------------------------------------------------------------------------- /jquery/development-bundle/demos/slider/slider-vertical.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Slider - Vertical slider 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 16 | 31 | 32 | 33 | 34 |
35 | 36 |

37 | 38 | 39 |

40 | 41 |
42 | 43 |
44 | 45 | 46 | 47 |
48 |

Change the orientation of the slider to vertical. Assign a height value via .height() or by setting the height through CSS, and set the orientation option to "vertical."

49 |
50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /shadow/shadow.js: -------------------------------------------------------------------------------- 1 | shadow = { 2 | root: 'shadow', 3 | shader: 'shadow.shader', 4 | init: function(glee, params){ 5 | var self = this; 6 | this.sky = params.sky; 7 | 8 | var size = 50; 9 | var proj = this.proj = new glee.Ortho({ 10 | left: size/2, 11 | right: -size/2, 12 | top: -size/2, 13 | bottom: size/2, 14 | near: -30, 15 | far: 30, 16 | }); 17 | 18 | var view = this.view = new glee.Mat4(); 19 | 20 | var width = 4092; 21 | var height = 4092; 22 | 23 | this.result = new glee.Texture({ 24 | width: width, 25 | height: height, 26 | //filter: glee.gl.NEAREST, 27 | }); 28 | 29 | this.processor = new glee.Processor({ 30 | result: this.result, 31 | fbo: params.fbo, 32 | clear: { 33 | color: [0,0,0,1], 34 | depth: 1, 35 | }, 36 | shader: this.shader, 37 | uniforms: { 38 | view: view, 39 | proj: proj.matrix, 40 | near: proj.near, 41 | far: proj.far, 42 | }, 43 | draw: function(){ 44 | params.scene.city.draw(); 45 | }, 46 | depth: { 47 | test: 'Less', 48 | write: true, 49 | }, 50 | depthstencil: new glee.DepthStencilBuffer({width: width, height: height}) 51 | }); 52 | }, 53 | render: function(){ 54 | this.view.ident().rotatex(this.sky.elevation+90).rotatey(this.sky.orientation); 55 | this.processor.render(); 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /jquery/development-bundle/demos/slider/range.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Slider - Range slider 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 16 | 31 | 32 | 33 | 34 |
35 | 36 |

37 | 38 | 39 |

40 | 41 |
42 | 43 |
44 | 45 | 46 | 47 |
48 |

Set the range option to true to capture a range of values with two drag handles. The space between the handles is filled with a different background color to indicate those values are selected.

49 |
50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /jquery/development-bundle/demos/button/icons.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Button - Icons 6 | 7 | 8 | 9 | 10 | 11 | 12 | 37 | 38 | 39 | 40 |
41 | 42 | 43 | 44 | 45 | 46 | 47 |
48 | 49 | 50 | 51 |
52 |

Some buttons with various combinations of text and icons, here specified via metadata.

53 |
54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /jquery/development-bundle/demos/slider/range-vertical.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Slider - Vertical range slider 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 16 | 30 | 31 | 32 | 33 |
34 | 35 |

36 | 37 | 38 |

39 | 40 |
41 | 42 |
43 | 44 | 45 | 46 |
47 |

Change the orientation of the range slider to vertical. Assign a height value via .height() or by setting the height through CSS, and set the orientation option to "vertical."

48 |
49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /jquery/development-bundle/demos/slider/hotelrooms.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Slider - Range with fixed minimum 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 16 | 33 | 34 | 35 | 36 |
37 | 38 |
39 | 40 | 48 |
49 | 50 |
51 | 52 | 53 | 54 |
55 |

How to bind a slider to an existing select element. The select stays visible to display the change. When the select is changed, the slider is updated, too.

56 |
57 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /jquery/development-bundle/external/jquery.bgiframe-2.1.2.js: -------------------------------------------------------------------------------- 1 | /*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net) 2 | * Licensed under the MIT License (LICENSE.txt). 3 | * 4 | * Version 2.1.2 5 | */ 6 | 7 | (function($){ 8 | 9 | $.fn.bgiframe = ($.browser.msie && /msie 6\.0/i.test(navigator.userAgent) ? function(s) { 10 | s = $.extend({ 11 | top : 'auto', // auto == .currentStyle.borderTopWidth 12 | left : 'auto', // auto == .currentStyle.borderLeftWidth 13 | width : 'auto', // auto == offsetWidth 14 | height : 'auto', // auto == offsetHeight 15 | opacity : true, 16 | src : 'javascript:false;' 17 | }, s); 18 | var html = '