Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
WebGL_final_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
채성희
WebGL_final_project
Commits
fac92dac
Commit
fac92dac
authored
6 years ago
by
채성희
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
31a90d49
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+6
-1
6 additions, 1 deletion
README.md
with
6 additions
and
1 deletion
README.md
+
6
−
1
View file @
fac92dac
...
@@ -67,12 +67,17 @@
...
@@ -67,12 +67,17 @@
- 정육면체의 각면에 서로다른 texture를 mapping하기 위해서 다음과 같은 방법을 사용한다.
- 정육면체의 각면에 서로다른 texture를 mapping하기 위해서 다음과 같은 방법을 사용한다.
- 예제에서는 3개의 이미지를 가지고 서로 다른 위치에 mapping 하였다.
- 예제에서는 3개의 이미지를 가지고 서로 다른 위치에 mapping 하였다.

1. 정육면체를 그릴 각 면을 삼각형들로 정의한다. <br>
1. 정육면체를 그릴 각 면을 삼각형들로 정의한다. <br>
2. 정육 면체의 각 면을 positive +x, negative -x, positive +y, negative -y, positive +z, negative -z로 나눈다. <br>
2. 정육 면체의 각 면을 positive +x, negative -x, positive +y, negative -y, positive +z, negative -z로 나눈다. <br>
3. 각 면에 위치시킬 texture들을 정의한다.<br>
3. 각 면에 위치시킬 texture들을 정의한다.<br>
4. 정의한 texture들을 해당위치에 mapping한다. <br>
4. 정의한 texture들을 해당위치에 mapping한다. <br>
- 이 때, 정육면체에 texture를 mapping 할 때, <br>texture_cube_map을 이용하면, <br>편리하게 cube에 여러가지 texture들을 mapping 할 수 있다. <br>
- 이 때, 정육면체에 texture를 mapping 할 때, texture_cube_map을 이용하면, 편리하게 cube에 여러가지 texture들을 mapping 할 수 있다. <br>
![3image]()
- 완성된 cube를 보면, 회전하면서 각면에 고양이, 토끼, 강아지가 각각 다른 면에 위치해 있는 것을 볼 수 있다. <br>
- 완성된 cube를 보면, 회전하면서 각면에 고양이, 토끼, 강아지가 각각 다른 면에 위치해 있는 것을 볼 수 있다. <br>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment