Skip to content
Snippets Groups Projects
Commit b56531d0 authored by 채성희's avatar 채성희
Browse files

일단 마무리!

parent 67cdeeef
No related branches found
No related tags found
No related merge requests found
Source diff could not be displayed: it is too large. Options to address this: view the blob.
Source diff could not be displayed: it is too large. Options to address this: view the blob.
...@@ -6,12 +6,14 @@ ...@@ -6,12 +6,14 @@
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="style.css">
</head> </head>
<body onload="main()"> <body>
<div id="mainPage"> <div id="mainPage">
<H1> WebGL - Texture Mapping </H1> <H1 style="color: royalblue;"> WebGL - Texture Mapping </H1>
<h3 style="color:salmon;">When you selected decription button, you can see the canvas and description.</h3>
<p style="color:grey;">Description button 선택시 설명과 함께 canvas를 볼 수 있습니다.</p>
<br> <br>
<canvas id="canvas" style="border: none;" width="500" height="500"></canvas> <canvas id="canvas" style="border: none; display: none;" width="500" height="500"></canvas>
<canvas id="CubeCanvas" style="border: none;" width="500" height="500"></canvas> <canvas id="CubeCanvas" style="border: none; display: none; " width="500" height="500"></canvas>
<br> <br>
<h2> rotate object</h2> <h2> rotate object</h2>
<div> <div>
...@@ -22,7 +24,6 @@ ...@@ -22,7 +24,6 @@
<h2> Description</h2> <h2> Description</h2>
<div> <div>
<button onclick="onClickBasic()" class="click_btn"> basic texture mapping</button> <button onclick="onClickBasic()" class="click_btn"> basic texture mapping</button>
<button onclick="onClickMultiTexture()" class="click_btn"> Two texture mapping</button>
<button onclick="onClickCubeTexture()" class="click_btn"> Texture mapping to Cube</button> <button onclick="onClickCubeTexture()" class="click_btn"> Texture mapping to Cube</button>
</div> </div>
<p id="description"> </p> <p id="description"> </p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment