Skip to content
Snippets Groups Projects
Commit b4e0b86e authored by 최현욱's avatar 최현욱
Browse files

Upload New File

parent 2bfe3f77
Branches
No related tags found
No related merge requests found
<html>
<head>
<title>WebGL1.0 Tutorial Lab 12 - Shading</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<script type="text/javascript" src="gl-matrix.js"> </script>
<script type="text/javascript" src="spe.js"> </script>
</head>
<body style="background-color:black;color:white;" onload="main()">
<table>
<tr>
<td>
<canvas id="helloapicanvas" style="border: none;" width="800" height="600"></canvas>
<tr>
<td>
<br/><hr>
<lable>Light Position X,Y,Z (-4 ~ +4)</label>
<input style="width:200px" type="range" min="-100" max="100" value="0"
oninput="light_posx = this.value/25 ;"></input>
<input style="width:200px" type="range" min="-100" max="100" value="0"
oninput="light_posy = this.value/25 ;"></input>
<input style="width:200px" type="range" min="-100" max="100" value="0"
oninput="light_posz = this.value/25 ;"></input>
<br/><hr>
<lable>number of vertex (0~36)</label>
<input style="width:200px" type="range" min="0" max="36" value="36"
oninput="num_vertex = this.value ;"></input>
<br/><hr>
<input type="checkbox" onclick="flag_animation ^= 1;" id="toggleAnimation"><lable>Toggle Animation | </lebel>
<lable>Speed Up/Down :</label>
<button onclick="fn_speed_scale(1.1)"> + </button>
<button onclick="fn_speed_scale(0.9)"> - </button>
<br/><hr>
<label>FOV : </label>
<input style="width:400px" id="fov_range" type="range" min="20" max="160" value="90" oninput="fn_update_fov(this.value);"></input></input>
<input style="width:60px" type="text" id="textFOV" value="90">
<br/><hr>
<input type="checkbox" onclick="fn_toggle(2929)"><lable>DEPTH_TEST | depth clear value : </lable>
<input style="width:300px" id="depth_clear" type="range" min="0" max="100" value="100" oninput="depth_clear_value = this.value / 100.0;"></input>
<br/><hr>
<br/>
</table>
</body>
</html>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment