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

AR BOOK/AR (UNITY)10

[Unity] [Vuforia] Object ์ƒ‰์ƒ ์„ค์ • 1. 3D Object - Cube - ์›ํ•˜๋Š” ๋„ํ˜• ์„ ํƒ 2. Assets – Create – Material 3. ์ ์šฉํ•˜๊ณ ์ž ํ•˜๋Š” ์ƒ‰์ƒ ์„ ํƒ 4. ์œ„์—์„œ ์ƒ์„ฑํ•œ Material ‘CubeMat’์„ Cube์— ๋“œ๋ž˜๊ทธ Cube์— ํ•ด๋‹น ์ƒ‰์ƒ์ด ์ ์šฉ๋จ Image Target - 3D Object์— ์ ์šฉ 2020. 11. 27.
[Unity] [Vuforia] Animation - Position, Rotation, Scale Image Target์„ ์ง„ํ–‰ํ•œ ๋’ค์— Image ์œ„์— ๋„์šฐ๊ณ ์ž ํ•˜๋Š” Asset์„ ์„ ํƒ Window - Animation - Animation ์„ ํƒ Add Property - Animation์˜ ์ข…๋ฅ˜ ๊ฐ๊ฐ ์„ ํƒ 1. Position ๋‹ค์šด๋กœ๋“œํ•œ Asset์ด ๊ธฐ๋ณธ์œผ๋กœ 20์ดˆ์— ๋งž์ถฐ Animation์ด ์ง€์ •๋˜์–ด ์žˆ๊ธฐ ๋•Œ๋ฌธ์— 4๋ฒˆ์œผ๋กœ ๋‚˜๋ˆ„์–ด 5์ดˆ๋งˆ๋‹ค ํ•œ๋ฒˆ์”ฉ Position์„ ๋ณ€๊ฒฝํ•ด์ฃผ์—ˆ๋‹ค. Position ์„ ํƒ ํ›„ ์‹œ๊ฐ„์„ ํ‘œ์‹œํ•˜๋Š” ๋ง‰๋Œ€๋ฐ”๋ฅผ ์›ํ•˜๋Š” ์‹œ๊ฐ„์— ์˜ฎ๊ธฐ๊ณ  ๋…นํ™”๋ฒ„ํŠผ์„ ๋ˆŒ๋Ÿฌ ๋…นํ™”๋ฅผ ์ง„ํ–‰ Transform - Position์—์„œ ๊ฐ’์„ ๋ณ€๊ฒฝ ์˜ˆ) 5์ดˆ์— (5,0,0) 10์ดˆ (0,0,0) 15์ดˆ (-5,0,0) 20์ดˆ (0,0,0) * ํ•œ ๋ฐฉํ–ฅ์œผ๋กœ๋งŒ ์ง€์ •ํ•ด์ฃผ๋ฉด Image๋ฅผ ๋ฒ—์–ด๋‚˜ ์ค‘๊ฐ„์— ์›์ ์œผ๋กœ ์ด๋™ํ•  ์ˆ˜ ์žˆ๋„๋ก ์ง€.. 2020. 11. 27.
[Unity] [Vuforia] Image Target 1. Vuforia ํšŒ์›๊ฐ€์ž… ํ›„ ๋‹ค์šด๋กœ๋“œ → Unity Import 2. GameObject - Vuforia Engine - AR Camera ์„ ํƒ 3. Vuforia License ์ถ”๊ฐ€ Open Vuforia Engine configuration ์„ ํƒ Vuforia - Develop - License Manager - Get Development Key App License Key์— Vuforia์—์„œ ๋ถ€์—ฌ๋œ License Key ๋ถ™์—ฌ ๋„ฃ๊ธฐ 4. Vuforia DB ์ƒ์„ฑ Target Manager - Add Database - Database์— Target ์ด๋ฏธ์ง€ ์—…๋กœ๋“œ Rating์ด ๋†’์„์ˆ˜๋ก ์ธ์‹์œจ์ด ์ข‹์Œ Download Databse - Unity Import 5. Image Target GameO.. 2020. 11. 27.