๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

๐ŸŒด Course Review (Master)/๐Ÿš‘ ์ปดํ“จํ„ฐ ๊ทธ๋ž˜ํ”ฝ์Šค2

Primitive Transformation ์„ฑ์งˆ ๋ถ„์„ํ•˜๊ธฐ ์œ„์˜ ๊ธ€์„ ํ†ตํ•ด Cartesian Coordinate ๋Œ€์‹  Homogeneous Coordinate๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ์ด์œ ์— ๋Œ€ํ•ด์„œ ์‚ดํŽด๋ณด์•˜์Šต๋‹ˆ๋‹ค. ํ‘œํ˜„ํ•˜๊ณ ์ž ํ•˜๋Š” Transformation์˜ ๊ฒฝ์šฐ Primitive Transformation (Translation, Rotation, Scaling) ์œผ๋กœ ํ‘œํ˜„ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด ์ž„์˜์˜ ์ง€์  P1์— ๋Œ€ํ•˜์—ฌ Rotation์„ ์ ์šฉํ•˜๋Š” ๊ฒฝ์šฐ ์ด๋ฅผ ์–ด๋–ป๊ฒŒ ํ•˜๋ฉด ๊ฐ„์†Œํ™”ํ•  ์ˆ˜ ์žˆ์„๊นŒ์š”? ํ•ด๋‹น ์ง€์ ์€ ์›์ ์œผ๋กœ Translation์„ ํ•œ ๋’ค ํšŒ์ „ํ•˜๊ณ ์ž ํ•˜๋Š” ๊ฐ๋„ θ ๋งŒํผ ํšŒ์ „์‹œํ‚ค๊ณ  ๋‹ค์‹œ ์›๋ž˜์˜ ์ง€์ ์œผ๋กœ Translation์„ ํ•œ๋‹ค๋ฉด ๊ธฐ์กด์˜ Primitiveํ•œ ์„ฑ์งˆ์„ ๋ชจ๋‘ ๋งŒ์กฑ์‹œํ‚ฌ ์ˆ˜ ์žˆ์„ ๊ฒƒ์ž…๋‹ˆ๋‹ค. ๊ทธ๋ ‡๋‹ค๋ฉด ๊ธฐ๋ณธ์ ์ธ ์ถ• (x-axis, y-axis)์ด ํšŒ์ „๋˜์–ด ์žˆ๋Š”.. 2024. 3. 4.
Homogeneous Coordinate๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ์ด์œ  Homogeneous Coordinate๋ฅผ ์ ์šฉํ•˜๋Š” ๋ถ„์•ผ๋Š” Computer Graphics์™€ 3D Vision๊ณผ ๊ฐ™์ด ๋‹ค์ฐจ์› ๋ฌผ์ฒด์˜ ํ‘œํ˜„์ด ์ด๋ฃจ์–ด์ง€๊ณ  ๋ณต์žกํ•œ ์—ฐ์‚ฐ์„ ํ†ตํ•ด ๋งŽ์€ ์ •๋ณด๋Ÿ‰์„ ๋‹ค๋ฃจ๋Š” ๊ณณ์ž…๋‹ˆ๋‹ค. ํ”ํžˆ ๋งํ•˜๋Š” Geometric Transformation๋Š” ๋‹ค์Œ 3๊ฐ€์ง€๋ฅผ ๋งํ•ฉ๋‹ˆ๋‹ค. 1. Changing the position of points 2. Translation, scaling, Rotation 3. Animating object and camera ์ด ์ค‘์—์„œ ์ €ํฌ๋Š” 2๋ฒˆ์— ํ•ด๋‹นํ•˜๋Š” Matrix Transformation๊ณผ ๊ด€๋ จ๋œ ์ด๊ด„์ ์ธ ๊ฐœ๋…์„ ๊ณต๋ถ€ํ•˜๊ณ ์ž ํ•ฉ๋‹ˆ๋‹ค. ์ฒซ ๋ฒˆ์งธ๋กœ Translation (ํ‰ํ–‰ ์ด๋™) ์ž…๋‹ˆ๋‹ค. 2์ฐจ์› ํ‰๋ฉด ์ƒ์—์„œ x, y ์ขŒํ‘œ์— dx, dy ๋งŒํผ ๋”ํ•˜์—ฌ ์ด๋™์ด ์ด๋ฃจ์–ด.. 2024. 3. 4.