Skip to content
Snippets Groups Projects
Commit 2c7581b7 authored by 전승곤's avatar 전승곤
Browse files

Update README.md

parent 53b053bd
Branches
No related tags found
No related merge requests found
Pipeline #1907 canceled
# WebGl tutorial - MVP in computer graphics
MVP is a methodology for showing the vertices in a comfortable way to present the object's local coorinates, camera, and perspective.
MVP is a methodology for showing the vertices in a comfortable way to present the object's local coorinates, camera, and perspective.<br/>
In this tutorial, you can get the knowledge of what Model-View-Projection is, how to express different objects differently, and how to show the camera's view.
Explanation
......@@ -23,11 +22,15 @@ Next, , you can see the matrix for vertix translation using ranging inputs at th
</div>
You can see the change of the screen using these inputs and move the object and view point using different types of translations. <br/>
The only object you can move in the world coordinate is the cube object which is in the middle.
The only object you can move in the world coordinate is the cube object which is in the middle. <br/>
<br/>
Using the inputs on the left side, we can control the position and rotation of the cube object. Using the right side inputs, we can control the position and rotation of the camera. <br/>
During the changing input, we can see the change of the Model and View matrices on the top-right side. The Projection matrix is fixed.
Code
============
Finally, you can check the code in the WebGLHelloAPI.js, setCamera, drawcube functions to check how to differently implement the objects and camera.
Finally, you can check the code in the WebGLHelloAPI.js, setCamera, drawcube functions to check how to implement the objects and camera differently.
<img src="https://user-images.githubusercontent.com/22390526/59958827-b7971980-94e7-11e9-8d49-5d950fdaef22.JPG"></img>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment