분류 전체보기(78)
-
[United States] Massachusetts, Boston #1
생각보다 작고 소박한 교내 이벤트들에 실망하고 있을 때 쯤 어느 동아리에서 주최하는 퐁듀 이벤트가 열렸다. 이것 역시 소규모 이벤트겠거니 싶었지만 친구를 사귀고 싶으면 재미없어 보여도 이것저것 다 참여하라는 글을 읽은 상태였어서 이벤트 장소로 향했다. 친구들과 서성거리고 있으니 한 학생이 먼저 친절하게 말을 걸어주었다. 대화를 하다보니 같은 전공이고 같은 수업을 하나 듣고 있다는 걸 알게 됐다. 친구가 february break에 뭐할 예정이냐, 나는 보스턴에 혼자 가려고 했는데 부모님이 혼자는 안된다고 했다, 이런 식으로 얘기하길래 같이 가자고 해서 보스턴을 가게 되었다! 오덴스버그 공항에서 보스턴으로 가는 직항이 없어서 워싱턴까지 내려갔다가 보스턴을 갔다. 오덴스버그 공항은 캐나다에 있다고 봐도 될 ..
2023.10.10 -
[Computer Graphics] Curves & Surfaces
- 이전까지는 직선으로만 도형을 형성했다. - Curves, Sufaces는 디자인 측면에서 중요하다. - Curves: 1D objects in 2D or 3D space - Surfaces: 2D objects in 3D space 곡선을 나타내는 방법 Polynomials n: degree / a0, a1, ... an: constants Drawing Polynomials Using Control Points - point들을 Control Points 라고 한다. - 위 그림에는 총 21개의 point가 있다. → degree 20 polynomial (20차 방정식) 사용 (ex. 일차방정식 y = ax + b 를 표현하려면 점 2개가 필요하다.) - 이 방식을 사용하면 high degree ..
2023.10.10 -
[Computer Graphics] Reflection Mapping
- Shiny objects reflect the entire surrounding. Cube Map - Back face, Left face, Right face, Top face, Bottom face, Front face(behind camera) - The cube is textured mapped with the environment. - Each point on the cube acts like a light source. (∵ it could be either a real source of light, or an element that reflects light) - Point lies on the face. - Cube is assumed to lie at infinity → all poi..
2023.10.10 -
[Computer Graphics] Shadow Mapping
- Shadow helps depth perception. - Shadow depends on the light and geometry. - This area is in shadow due to occlusion from the object. - 이 영역 밖은 seen by camera & seen by light - 이 영역 안은 seen by camera & not seen by light - Occlusion: point seen by camera but not seen by light Two Step algorithm to create shadows: Step 1) Determine d1 by making shadow map. Step 2) Compute d2 during shading and c..
2023.10.10 -
[Computer Graphics] Texture Mapping
Texture Mapping - Applying an image to a 3D shape - Map from Texture Coordinate to 3D Point - f: (s, t) → (x, y, z, w) (ex. (0, 0) → (-1, -1, 1, 1) - s ∈ [0, 1], t ∈ [0, 1] - Texture Element = Texel - Some vertex has different texture coordinates → handled by duplicating the vertex Texture Mapping Cube in WebGL - Just as we have vertex buffers to store the vertex data, - color buffers to store t..
2023.10.10 -
[Computer Graphics] Lighting
- Light source emits light rays in many directions in 3D. - Lighting에 필요한 것: light sources, material properties of the objects, reflectance coefficients Types of Light Sources 1. Ambient Light - Uniform light present everywhere. - 3 values: Iar(ambient red), Iag(ambient green), lab(ambient blue) ex) Iar = 150, Iag = 150, Iab = 20 2. Point Light - Brightness falls off as square of distance. - p0을..
2023.10.10