Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sumsong tutorial #2

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open

sumsong tutorial #2

wants to merge 14 commits into from

Conversation

sumnii
Copy link

@sumnii sumnii commented Oct 19, 2022

tutorial 1 ~ 3

@sumnii
Copy link
Author

sumnii commented Oct 20, 2022

tuto 5 끝..예쁘당

image

@sumnii
Copy link
Author

sumnii commented Oct 20, 2022

tuto 6 잘 유지중
image

@sumnii
Copy link
Author

sumnii commented Oct 20, 2022

image
hit_obj 함수에서 world->type == SP일 때 실행하는 hit_sphere 함수의 첫번째 인자로 t_object *world 대신 t_sphere *world->element를 넣어 주는 것으로 수정함

@sumnii
Copy link
Author

sumnii commented Oct 24, 2022

image

point_light_get 함수 return에서 vplus(vplus(ambient, diffuse), specular) 대신 vplus(diffuse, specular) 사용
phong_lighting 함수에서 ambient와 리턴값 vplus 해서 처리

@sumnii
Copy link
Author

sumnii commented Oct 24, 2022

image
게으른 나..

@sumnii
Copy link
Author

sumnii commented Oct 24, 2022

image
삼각형 띄우기!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant