· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Docbook Sgml/3D-Modelling

3D Graphics Modelling and Rendering mini-HOWTO

3D Graphics Modelling and Rendering mini-HOWTO

ÀÌÀ¯Áø

   
  

v1.1, 27 March 2001

·¹µåÇÞ ¸®´ª½º¿¡¼­ ±×·¡ÇÈ ·»´õ¸µ°ú ¸ðµ¨¸µ °³¹ß ȯ°æÀ» À§ÇÑ ´Ù¿î·Îµå ¹× ¼³Ä¡¿¡ ´ëÇÑ ÀÚ¼¼ÇÑ »çÇ×µé


1. ¼Ò°³

1.1. ¼­¹®

ÀÌ ¹®¼­´Â ¿©·¯ºÐ¿¡°Ô ¸®´ª½º¿¡¼­ ¸ðµ¨¸µ°ú 3Â÷¿ø ±×·¡ÇÈÀ» À§ÇÑ È¯°æÀ» ¾î¶»°Ô ¼³Ä¡ÇÏ°í ¼³Á¤Çϴ°¡¿¡ ´ëÇÏ¿© ¼³¸íÇÒ °ÍÀÔ´Ï´Ù. ¶ÇÇÑ À̹ø ¼½¼Ç¿¡¼­, ¿©·¯ºÐÀº ÇÊ¿äÇÑ ¿ä¼Òµé°ú ¾î¶»°Ô ±×°ÍµéÀÌ ¼­·Î ¿¬°áµÇ´Â°¡¿¡ °üÇÑ ±âÃÊÀûÀÎ Á¤º¸¸¦ ãÀ» ¼ö ÀÖÀ» °ÍÀÔ´Ï´Ù. ¼³Ä¡ ¼½¼ÇÀº ÀϺη¯ ÃÖ¼Ò·Î ÀÛ°Ô ÇÏ¿´½À´Ï´Ù; ½ÃÀÛ°ú ÀÛµ¿À» Çϱâ À§ÇÑ ´ÜÁö ºü¸£°í °£´ÜÇÑ ¼ø¼­¸¸ÀÌ ÇÊ¿äÇÕ´Ï´Ù(¸¸¾à Á¦´ë·Î ÀÛµ¿ÇÏÁö ¾ÊÀ» °æ¿ì ´õ ¸¹Àº Á¤º¸°¡ ±¸ÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù). ¼ÒÇÁÆ®¿þ¾î ¿ä¼Òµé(components)°ú ÀϹÝÀûÀ¸·Î ±×°ÍµéÀÌ ¾î¶² ÀÛ¾÷À» Çϴ°¡¿¡ ´ëÇÑ Á¤º¸¸¦ À§ÇÏ¿© ÀÌ ¹®¼­¸¦ °è¼Ó ÀÐÀ¸½Ã±â ¹Ù¶ø´Ï´Ù.

½ÃÀÛ°ú ÀÛµ¿À» À§ÇÏ¿© ÃÖ¼ÒÇÑ 3°³ÀÇ ¼ÒÇÁÆ®¿þ¾î ÆÐÅ°Áö°¡ ÇÊ¿äÇÕ´Ï´Ù. ¾Æ·¡¿¡ ±×°ÍµéÀÌ ÀÖ½À´Ï´Ù( ¾Æ·¡ÀÇ ¼ø¼­´Â ¼³Ä¡µÇ´Â ¼ø¼­°¡ ¾Æ´Ï¶ó ¼³¸íÀ» À§ÇÑ ¼ø¼­ÀÔ´Ï´Ù).

  • ±×·¡ÇÈ ¶óÀ̺귯¸®;

  • ±×·¡ÇÈ ¸ðµ¨·¯;

  • ±×·¡ÇÈ ·»´õ·¯;


1.2. Modelling vs. Modeling

modellingÀº ij³ª´Ù½Ä Ç¥ÇöÀ̸ç, modelingÀº ¹Ì±¹½Ä Ç¥ÇöÀÔ´Ï´Ù. ÀÌ ¹®¼­ÀÇ ÀúÀڴ ij³ª´Ù »ç¶÷ÀÔ´Ï´Ù.


1.3. ÀúÀÛ±Ç Á¤º¸

Copyright © 2000-2001 Dave Jarvis

¿ªÀÚÁÖ - copyright informationÀº ¹ø¿ªÇÏÁö ¾Ê½À´Ï´Ù.

This document may be reproduced in whole or in part, without fee, subject to the following restrictions:

  • the copyright notice above and this permission notice must be preserved complete on all complete or partial copies;

  • any translation or derived work must be approved by the author in writing before distribution;

  • if you distribute this work in part, instructions for obtaining the complete version of this manual must be included, and a means for obtaining a complete version provided;

  • small portions may be reproduced as illustrations for reviews or quotes in other works without this permission notice if proper citation is given.


2. ¹è°æ Áö½Ä

À̹ø ¼½¼ÇÀÇ ³»¿ëÀº ¸®´ª½º ½Ã½ºÅÛÀ» ±â¹ÝÀ¸·ÎÇÏ´Â 3Â÷¿ø ¸ðµ¨¸µ°ú ·»´õ¸µÀ» À§ÇÑ 3°¡Áö Áß¿äÇÑ ¿ä¼Ò(component)¿¡ ´ëÇؼ­¸¸ ´ë·«ÀûÀ¸·Î ¼³¸íÇÕ´Ï´Ù.


2.1. ±×·¡ÇÈ ¶óÀ̺귯¸®

±×·¡ÇÈ ¶óÀ̺귯¸®´Â ±×·¡ÇÈ À̹ÌÁö¸¦ ´Ù·ç´Â µ¥ »ç¿ëÇÏ´Â °¡Àå ±âº»ÀûÀÎ µµ±¸µé·Î ±¸¼ºµÇ¾î ÀÖ½À´Ï´Ù. ÁýÀ» Áþ´Âµ¥ ÇÊ¿äÇÑ ¸ðµç °ÍµéÀ» »ý°¢Çغ¾½Ã´Ù: öÀç, Ãà´ë, ³ª¹«, º®µ¹ µîµî. ±×·¡ÇÈ ¶óÀ̺귯¸®´Â ÀÌ·± Ç׸ñµéÀÌ ¾Æ´Ï¶ó ÀÌ·± Ç׸ñµéÀ» Á¦ÀÛÇϴµ¥ »ç¿ëµÇ´Â µµ±¸µéó·³ »ý°¢ÇÒ ¼ö ÀÖ½À´Ï´Ù. °á±¹, öÀç, ±Ý¼Ó°ü, µÎ²¨¿î ÆÇÀÚ ±×¸®°í º®µ¹ µîÀº ¸¶¼úó·³ ³ªÅ¸³ª´Â °ÍÀÌ ¾Æ´Õ´Ï´Ù; ±×µéÀº ±×µé ½º½º·ÎÀÇ Á¸Àç¹°·Î½á ¸¸µé¾î Áö°í Çü¼ºµÇ¾î Áö´Â °ÍÀÔ´Ï´Ù. ºñ½ÁÇÑ ¸»·Î, ±×·¡ÇÈÀº ¸¶¼úó·³ ½ºÅ©¸°¿¡ ³ªÅ¸³ª´Â °ÍÀÌ ¾Æ´Õ´Ï´Ù -- ÀüÇüÀûÀ¸·Î ±×µéÀº Àú¼öÁØ(low-level) ±×·¡ÇÈ ¿ä¼Òµé·Î ±¸¼ºµÇ¾î ÀÖ½À´Ï´Ù (¿¹¸¦ µé¾î, ¶óÀÎ, »ç°¢Çü, °³°³ÀÇ Çȼ¿ µî).

µû¶ó¼­ ±×·¡ÇÈ ¶óÀ̺귯¸®´Â Á»´õ º¹ÀâÇÑ °´Ã¼(±¸, »óÀÚ, º¹ÀâÇÑ ´Ù°¢Çü µî)¸¦ ¸¸µå´Âµ¥ »ç¿ëµÇ´Â Àú¼öÁØ ±×·¡ÇÈ ¿ä¼Òµé·Î ±¸¼ºµÇ¾î ÀÖ´Â °Íó·³ »ý°¢µÉ ¼ö ÀÖ½À´Ï´Ù. ÀÌ·± º¹ÀâÇÑ °´Ã¼µéÀº ´õ º¹ÀâÇÑ ¸ð¾çÀ̳ª ÇüŸ¦ ¸¸µå´Âµ¥ »ç¿ëµË´Ï´Ù.

¼³Ä¡µÈ ±×·¡ÇÈ ¶óÀ̺귯¸®´Â Mesa¶ó°í ºÒ¸®´Â OpenGLÀÇ °ø°³ ¼ÒÇÁÆ®¿þ¾î µµ±¸ÀÔ´Ï´Ù.


2.2. ±×·¡ÇÈ ¸ðµ¨·¯

ÀÌ»óÀûÀ¸·Î ±×·¡ÇÈ ·»´õ·¯´Â ¸¶Áö¸· »ç¿ëÀÚ(end-user)·Î ÇÏ¿©±Ý ¿ÏÀüÈ÷ ¼û°ÜÁ® Àֱ⠶§¹®¿¡ ÀÌ°Í¿¡ ´ëÇؼ­´Â ³ªÁß¿¡ ´Ù·ê °ÍÀÔ´Ï´Ù(¶ÇÇÑ, ¸ðµ¨¸µÀº ÀúÀÇ ÁýÁþ´Â °³³ä¿¡¼­ ´ÙÀ½ ³í¸® ´Ü°èÀÔ´Ï´Ù). ±×·¯³ª, ½ÇÁ¦·Î ¼³Ä¡ÇÒ ¶§, ±×·¡ÇÈ ¸ðµ¨·¯´Â ÀÌ¹Ì ¼³Ä¡µÇ¾î ÀÖ´Â ·»´õ·¯¿¡ ÀÇÁ¸ÇÕ´Ï´Ù.

¸¸ÀÏ ±×·¡ÇÈ ¶óÀ̺귯¸®°¡ ÁýÀ» Áþ´Â µ¥ »ç¿ëµÇ´Â µµ±¸µé°ú ºñ½ÁÇÑ µµ±¸¶ó¸é, ±×·¡ÇÈ ¸ðµ¨·¯´Â ÁýÀ» Áþ´Â µ¥ ÇÊ¿äÇÑ Ã»»çÁøÀ» Á¦ÀÛÇÏ´Â µµ±¸Ã³·³ »ý°¢ÇÒ ¼ö ÀÖ½À´Ï´Ù -- º¹ÀâÇÑ Ã»»çÁøÀ¸·Î ¸ðµ¨·¯´Â ¿©·¯ºÐ¿¡°Ô öÀç, Ãà´ë, ³ª¹« ÆгÎ, º®µ¹ µîÀ» ¾îµð¿¡ ³õÀ» °ÍÀΰ¡¸¦ Á¤È®ÇÏ°Ô ¾Ë·ÁÁÝ´Ï´Ù. °Ô´Ù°¡, À̰͵éÀº ¿©·¯ºÐÀÌ ¿øÇÏ´Â º®µ¹ÀÇ »ö±òÀ̳ª ÆгÎÀÇ ÇüÅ µîÀ» °í¸¦ ¼ö ÀÖ°Ô ÇÕ´Ï´Ù.

¼³Ä¡µÈ ±×·¡ÇÈ ¸ðµ¨·¯´Â The Mops¶ó°í ºÒ¸®´Â °ø°³µÈ ÆÐÅ°Áö·Î RenderMan°ú ȣȯµÇ´Â ÆÄÀÏÀ» »ý¼ºÇÕ´Ï´Ù.


2.3. ±×·¡ÇÈ ·»´õ·¯

ÁýÁþ´Â °³³ä¿¡ °è¼ÓºñÀ¯Çؼ­ ¼³¸íÇϸé , ±×·¡ÇÈ ·»´õ·¯´Â ÁýÀ» Áþ´Â ÀϲÛÀÔ´Ï´Ù. ¿©·¯ºÐÀÌ Ã»»çÁø°ú ¹°°ÇµéÀÌ ÁغñµÇ°í ³ª¸é, ¿©·¯ºÐÀº ½ÇÁ¦·Î ÁýÀ» Áþ´Â ¹«¾ùÀΰ¡°¡ ÇÊ¿äÇÒ °ÍÀ̱⠶§¹®¿¡ ÀÌ°ÍÀº ¾î¶»°Ô µðÀÚÀεǾî Àִ°¡¸¦ ³ªÅ¸³»ÁÙ °ÍÀÔ´Ï´Ù. ±×·¡ÇÈ ·»´õ·¯´Â ¸¶Áö¸· °á°ú¸¦ »ý»êÇϱâ À§ÇÏ¿© ¸ðµ¨·¯·Î ºÎÅÍ Á¤º¸(¿¹¸¦ µé¾î, RenderMan°ú ȣȯÀÌ °¡´ÉÇÑ ÆÄÀÏÇüÅÂÀÇ Ã»»çÁø, ¶Ç´Â ÀÌ¿Í µ¿µîÇÑ °Í)¸¦ ¹Þ½À´Ï´Ù.

±×·¡ÇÈ ¸ðµ¨·¯°¡ ÀÌ°ÍÀÌ ¼³Ä¡µÇ±â Àü¿¡ ±×·¡ÇÈ ·»´õ°¡°¡ ÇÊ¿äÇÑ °Íó·³, ·»´õ·¯´Â ¸ÕÀú ¼³Ä¡µÈ ±×·¡ÇÈ ¶óÀ̺귯¸®¿¡ ÀÇÁ¸ÇÕ´Ï´Ù.

¼³Ä¡µÈ ±×·¡ÇÈ ·»´õ·¯´Â Blue Moon Rendering ToolkitÀ¸·Î RenderMan ÆÄÀÏÀ» »ç¿ëÇÕ´Ï´Ù.


3. ¼³Ä¡¹æ¹ý

°£·«ÇÑ ¹æ¹ý¸¸ÀÌ ÀÖ´Ù´Â °ÍÀ» ±â¾ïÇϼ¼¿ä. ÀÚ¼¼ÇÑ Á¤º¸´Â ¿©·¯ºÐÀÌ ¼³Ä¡ÇÏ°íÀÚ ÇÏ´Â ¼ÒÇÁÆ®¿þ¾î ÆÐÅ°Áö¿¡ ÀÖ´Â README ÆÄÀÏ¿¡¼­ ãÀ» ¼ö ÀÖ½À´Ï´Ù. ÀÌ ¹®¼­´Â ÀÌ·± README ÆÄÀÏ µéÀ» Àд °Í¿¡ ´ëÇÑ ´ë¾ÈÀÔ´Ï´Ù(ÀÌ ¹®¼­¿¡¼­´Â ±×µéÀÇ ÀúÀÛ±Ç Á¤º¸¿Í ´Ù¸¥ »ç¿ë¹ý¿¡ ´ëÇؼ­´Â ¼³¸íÇÏÁö ¾Ê½À´Ï´Ù).


3.1. °æ°í

ù¹ø°·Î, ÀÌ ¹®¼­´Â ·¹µåÇÞ ¸®´ª½º v7.0À» °¡Áö°í ¾î¶»°Ô ½ÃÀÛÇÏ°í ÀÛµ¿Çϴ°¡¿¡ ´ëÇؼ­¸¸ Á¦°øÇÑ´Ù´Â °ÍÀ» ¾Ë°í °è½Ã±â ¹Ù¶ø´Ï´Ù. ¿©·¯ºÐÀÌ ´Ù¿î·Îµå ¹ÞÀº ¼ÒÇÁÆ®¿þ¾î ÆÐÅ°Áö¸¦ ¼±ÅÃÇÒ ¶§¸¶´Ù, ¿©·¯ºÐÀÇ ÀÛµ¿ÇÏ°íÀÚ ÇÏ´Â ¸®´ª½º¿Í ȣȯÀÌ °¡´ÉÇÑÁö È®ÀÎÇϽñ⠹ٶø´Ï´Ù.

µÎ¹ø°·Î, ÀÌ ¹®¼­¸¦ Àд ´Ù¸¥ »ç¶÷µé¿¡°Ô À¯¿ëÇÑ Á¤º¸¸¦ °¡Áö°í °è½Ç¶§¿¡¸¸ À̸ÞÀÏÀ» º¸³»Áֽñ⠹ٶø´Ï´Ù(´Ù¸¥ µµ±¸µéÀ» ¾î¶»°Ô ¼³Ä¡Çϴ°¡, ´Ù¸¥ ¹®¼­ÀÇ À§Ä¡ ¶Ç´Â ¹®¹ýÀûÀ¸·Î Ʋ·È°Å³ª ½ºÆ縵ÀÌ Æ²¸° °æ¿ì µîµî ). ¸¸¾à ¼ÒÇÁÆ®¿þ¾î°¡ ÄÄÆÄÀϵÇÁö ¾Ê°Å³ª Á¦´ë·Î ÀÛµ¿ÇÏÁö ¾ÊÀ¸¸é, ±× ÆÐÅ°ÁöÀÇ ¹®¼­¸¦ ÀÐÀ¸½Ã±â ¹Ù¶ø´Ï´Ù. ¿©·¯ºÐÀÇ ½Ã½ºÅÛÀÌ ¿ÏÀüÈ÷ ´Ù¸¦ ¼ö ÀÖ°í ÀÎÅÍ³Ý À̸ÞÀÏÀ» ÅëÇÑ µð¹ö±ë ¹®Á¦´Â ´Ù¸¥ »ç¶÷µéÀÌ ÁÁ¾ÆÇÏ´Â ¹®Á¦°¡ ¾Æ´Ï¶ó´Â °ÍÀ» ÀÌÇØÇϽñ⠹ٶø´Ï´Ù. ^^;;

¼¼¹ø°·Î, ¾ö°ÝÇÑ °Ë»ç¸¦ °ÅÄ¡Áö ¾ÊÀº ¸¹Àº ÆÐÅ°Áö°¡ ¼³Ä¡µÇ¾î ÀÖÀ» ¼ö ÀÖ½À´Ï´Ù. °ü·Ã »çÀÌÆ® ¼½¼Ç¿¡¼­, ¼±ÅÃÇÒ ¼ö ÀÖ´Â ¼ÒÇÁÆ®¿þ¾î ÆÐÅ°ÁöµéÀÌ ÀÖ½À´Ï´Ù. ÀÚ¼¼ÇÑ ¼³¸íÀÌ µÇ¾î ÀÖÁö ¾ÊÀº ¼ÒÇÁÆ®¿þ¾î ÆÐÅ°Áö¶ó°í Çؼ­ ´õ ³ª»Ú°Å³ª ȤÀº ´õ ÁÁÀº ¼ÒÇÁÆ®¿þ¾î ÆÐÅ°Áö´Â ¾Æ´Ï¶ó´Â °ÍÀ» ÀÎÁöÇϽñ⠹ٶø´Ï´Ù.

Çà¿îÀÌ ÇÔ²² ÇϽñæ!


3.2. ¼ÒÇÁÆ®¿þ¾î ´Ù¿î·Îµå

½ÃÀÛÇϱâ Àü¿¡, À¥ºê¶ó¿ìÀú¿Í À¯´Ð½º ½©ÀÌ ÇÊ¿äÇÕ´Ï´Ù. ¸¸¾à ¿©·¯ºÐÀÌ ½©(bash, ksh µîµî)À» ¾î¶»°Ô»ç »ç¿ëÇÏ´ÂÁö ¸ð¸¥´Ù¸é, ¼³¸í¼­¿¡ ¿µ¾î·Î µÈ ¼³¸í°ú ½© ¸í·É¾î°¡ ÀÖ±â´Â ÇÏÁö¸¸ µû·Î ±¸Çؼ­ °øºÎÇϼ¼¿ä. ^^;;

Ưº°ÇÑ ¼³¸íÀÌ ¾ø´Ù¸é, ¸ðµç ¼³¸íÀº root°¡ ±âÁØÀÔ´Ï´Ù.

  1. ÆÐÅ°Áö¸¦ À§ÇÑ »õ·Î¿î µð·ºÅ丮 /usr/local/archives¸¦ »ý¼ºÇϼ¼¿ä.

    mkdir /usr/local/archives

  2. ´ÙÀ½ÀÇ ÆÐÅ°Áöµé(.tar.gz·Î µÈ °Íµé)À» »õ·Î »ý¼ºÇÑ µð·ºÅ丮¿¡ ´Ù¿î·Îµå ¹ÞÀ¸¼¼¿ä(ȨÆäÀÌÁö¿Í ´Ù¿î·Îµå ÆäÀÌÁö ±×¸®°í ÃÖ¼ÒÀÇ ¼ÒÇÁÆ®¿þ¾î ¹öÁ¯À» Àû¾ú½À´Ï´Ù):


3.3. ±×·¡ÇÈ ¶óÀ̺귯¸®ÀÇ ¼³Ä¡

¿À·¡µÈ ¹öÁ¯ÀÇ tar´Â z ÀÎÀÚ¸¦ Áö¿øÇÏÁö ¾Ê½À´Ï´Ù. ±×·± ½Ã½ºÅÛ¿¡¼­´Â z ÀÎÀÚ¸¦ »ç¿ëÇÏÁö ¸»°í ¸ÕÀú gunzipÀ¸·Î ¾ÐÃàÀ» ǬÈÄ¿¡ zÀÎÀÚ¸¦ Á¦¿ÜÇÏ°í tar ¸í·ÉÀ» »ç¿ëÇϼ¼¿ä.

  1. /usr/local/archives·Î µð·ºÅ丮¸¦ º¯°æÇϼ¼¿ä:

    cd /usr/local/archives

  2. ¾ÐÃàµÈ Mesa¸¦ DZ´Ï´Ù.

    tar zxf MesaLib-3.4.1.tar.gz
    tar zxf MesaDemos-3.4.1.tar.gz

  3. MesaLibÀÇ ¼­ºê µð·ºÅ丮·Î °©´Ï´Ù:

    cd Mesa-3.4.1

  4. ¾Æ·¡¿Í °°ÀÌ Mesa¿¡¼­ Configure, make, install ¸í·ÉÀ» ¼ø¼­´ë·Î »ç¿ëÇÕ´Ï´Ù.

    ./configure; make; make install

  5. /etc/ld.so.confÀ» ÆíÁýÇÏ°í ¾Æ·¡ÀÇ ¶óÀÎÀÌ ÀÖ´ÂÁö È®ÀÎÇÕ´Ï´Ù.

    /usr/local/lib

  6. µ¿Àû ¶óÀ̺귯¸® ¼³Á¤ ÇÁ·Î±×·¥À» ½ÇÇàÇÕ´Ï´Ù:

    ldconfig


3.4. ±×·¡ÇÈ ·»´õ·¯ÀÇ ¼³Ä¡

  1. /usr/local/archives µð·ºÅ丮·Î µÇµ¹¾Æ °©´Ï´Ù:

    cd ..

  2. Blue Moon Rendering ToolkitÀÇ ¾ÐÃàÀ» DZ´Ï´Ù.

    tar zxf BMRT2.6beta.linux-glibc2.tar.gz

  3. BMRTÀÇ ¼­ºê µð·ºÅ丮·Î °©´Ï´Ù:

    cd BMRT2.6

  4. ÆÄÀϵéÀ» ÀûÀýÇÑ µð·ºÅ丮¿¡ º¹»çÇÕ´Ï´Ù:

    cp bin/* /usr/local/bin/
    cp lib/lib* /usr/local/lib/
    cp include/* /usr/local/include/

  5. shaders µð·ºÅ丮¸¦ ¸¸µì´Ï´Ù. ÀÌ µð·ºÅ丮´Â ¸ðµç »ç¶÷µé¿¡°Ô ¾²±â ±ÇÇÑÀÌ ÁÖ¾îÁ®¾ß ÇÕ´Ï´Ù. ±×¸®°í´Â shader ÆÄÀÏÀ» ÀÌ µð·ºÅ丮¿¡ º¹»çÇÕ´Ï´Ù:

    mkdir /usr/local/shaders
    chmod 777 /usr/local/shaders
    cp shaders/*.sl* /usr/local/shaders/
    cp shaders/*.h /usr/local/shaders/
    cp examples/*.sl* /usr/local/shaders/
    cp examples/*.h /usr/local/shaders/

  6. ½Ã½ºÅÛ ·Î±×ÀÎ ÇÁ·ÎÆÄÀÏ(/etc/profile ¶Ç´Â ÀÌ¿Í °°Àº ÀÏÀ» ÇÏ´Â ÆÄÀÏ)À» ¿­¾î¼­ ¾Æ·¡ÀÇ ¶óÀÎÀ» Ãß°¡ÇÕ´Ï´Ù.

    export SHADERS=.:/usr/local/shaders

  7. .rendribrc ÆÄÀÏÀ» °¢°¢ÀÇ »ç¿ëÀÚ È¨µð·ºÅ丮¿¡ º¹»çÇÕ´Ï´Ù.

¸¸¾à À߸øµÇ¸é, Blue Moon Rendering Toolkit¿¡ µ¿ºÀµÈ README ÆÄÀÏÀ» ÂüÁ¶Çϰųª ±×µéÀÇ À¥ÆäÀÌÁö¸¦ º¸¼¼¿ä.


3.5. ±×·¡ÇÈ ¸ðµ¨·¯ÀÇ ¼³Ä¡

The Mops´Â °¢°¢ÀÇ »ç¿ëÀÚ(per-user basis)¿¡°Ô ¼³Ä¡ÇÒ ¼ö ÀÖ°í ¶Ç root¿¡ ÀÇÇÏ¿© ½Ã½ºÅÛ Àü¹ÝÀû(system-wide)À¸·Î ¼³Ä¡°¡ °¡´ÉÇÕ´Ï´Ù. À̹ø ¿¹¿¡¼­´Â, °ü¸®ÀÚ °èÁ¤ÀÌ ¾Æ´Ñ ±ÇÇÑÀ¸·Î ¼³Ä¡Çϴµ¥ À߸øµÈ °á°ú¸¦ ¾ç»êÇÕ´Ï´Ù. ¼³Ä¡°úÁ¤¿¡¼­ ÄÄÆÄÀÏÀÌ ½ÇÆÐ (missing a C header file) ÇÑ´Ù´Â °ÍÀ» ¾Æ½Ã±â ¹Ù¶ó¸ç, µû¶ó¼­ ¹Ì¸® ÄÄÆÄÀÏ µÇ¾î ÀÖ´Â ¹ÙÀ̳ʸ® ÆÄÀÏÀÌ ¾Æ·¡¿Í °°ÀÌ ¼³Ä¡µË´Ï´Ù.

  1. The Mops°¡ À§Ä¡ÇÒ µð·ºÅ丮º¸´Ù ÇÑ´Ü°è À§ÀÇ µð·ºÅ丮·Î °©´Ï´Ù. ¿¹¸¦ µé¾î, ¸¸¾à /usr/local/mops¸¦ ¿øÇÏ½Å´Ù¸é ¾Æ·¡ÀÇ ¸í·ÉÀ» µû¶óÇϼ¼¿ä.

    cd /usr/local

  2. mopsÀÇ ¾ÐÃàÀ» Ç®°í ±× µð·ºÅ丮·Î °©´Ï´Ù.

    tar zxf /usr/local/archives/mops-0.42d-BMRT26-linux.tar.gz
    cd mops

  3. ¾Æ·¡ÀÇ ÆÄÀϵéÀ» /usr/local/mops/src¿¡¼­ /usr/local/mops·Î ¿Å±é´Ï´Ù:

    mv src/crtmopssh.sh .
    mv src/mfio.so .
    mv src/mops .

  4. .mopsrc ÆÄÀÏÀ» Mops¸¦ »ç¿ëÇϱ⠿øÇÏ´Â °¢°¢ÀÇ »ç¿ëÀÚ È¨µð·ºÅ丮·Î º¹»çÇÕ´Ï´Ù. ¿¹¸¦ µé¾î, "jane"À̶ó´Â »ç¿ëÀÚ°¡ »ç¿ëÇϱ⸦ ¿øÇÏ¸é ¾Æ·¡¿Í °°ÀÌ ÇÕ´Ï´Ù.

    cp src/mopsrc /home/jane/.mopsrc

  5. /usr/local/lib/mops¸¦ »ý¼ºÇÏ°í buttons¿Í shaders¸¦ ¿Å±é´Ï´Ù:

    mkdir /usr/local/lib/mops/
    mv buttons/* /usr/local/lib/mops/
    mv shader/*.sl* /usr/local/shaders/

¸¸¾à ¹®Á¦°¡ ¹ß»ýÇϸé, The Mops¿Í µ¿ºÀµÈ README¿Í Setup.txt ÆÄÀÏÀ» ÂüÁ¶Çϰųª ȨÆäÀÌÁö¸¦ ÂüÁ¶ÇϽñ⠹ٶø´Ï´Ù.

root¿¡¼­ ·Î±×¾Æ¿ôÇÕ´Ï´Ù. ÀϹÝÀûÀº »ç¿ëÀÚ·Î ·Î±×ÀÎÇÏ°í ¾Æ·¡¿Í °°Àº ¹æ¹ýÀ¸·Î The MopsÀ» ½ÇÇàÇÕ´Ï´Ù.

/usr/local/mops/mops

¿©·¯ºÐÀº $HOME/mops µð·ºÅ丮 ³»¿¡ 3Â÷¿ø ¸ðµ¨À» ÀúÀåÇϱâ À§Çؼ­ models ¼­ºê µð·ºÅ丮¸¦ ¸¸µé°íÀÚ ÇÒ°Ì´Ï´Ù.


3.6. û¼ÒÇϱâ

¼³Ä¡°¡ ¿Ï·áµÇ¸é, ¿©·¯ºÐÀº ´õÀÌ»ó ÇÊ¿äÇÏÁö ¾Ê´Â ÆÄÀϵéÀ» Áö¿ï ¼ö ÀÖ½À´Ï´Ù.

cd /usr/local/archives/
rm -rf BMRT2.6
rm -rf Mesa-3.4.1

rm -rf ¸í·ÉÀ» »ç¿ëÇÒ ¶§ Á¶½ÉÇϽñ⠹ٶø´Ï´Ù. Á¦´ë·ÎµÈ µð·ºÅ丮¿¡ ÀÖ´ÂÁö, Áö¿ì°íÀÚ ÇÏ´Â ÆÄÀÏ ¶Ç´Â µð·ºÅ丮 À̸§ÀÌ ÀÖ´ÂÁö È®ÀÎÇϼ¼¿ä.


4. ±×¿Ü Á¤º¸µé

FAQ ¼½¼Ç ´ë½Å¿¡, ¿©±â¼­´Â ¸î¸î°³ÀÇ Á÷¸éÇÏ´Â ¹®Á¦µé¿¡ ´ëÇÑ Á¤º¸¸¦ Á¦°øÇÕ´Ï´Ù.


4.1. Lighting

ÃÖÃÊ·Î °¡Àå Å« ¹®Á¦´Â ¿Ö ¸ðµç °ÍµéÀÌ ´Ù °ËÀº»öÀΰ¡¸¦ ÇØ°áÇÏ°í ¾î¶»°Ô ¹°Ã¼µéÀ» ¹à°Ô ÇÒ°ÍÀΰ¡¿¡ ÀÖ½À´Ï´Ù. ¿©·¯ºÐÀÌ ¹°Ã¼¸¦ ¸ðµ¨¸µÇÏ´Â °¡»ó ¼¼°è¿¡¼­, ±× ¼¼°è´Â ¸Ç¹Ù´ÚºÎÅÍ »ý¼ºÇØ ÁÖ¾î¾ß ÇÕ´Ï´Ù. ¿©·¯ºÐÀÌ ºûÀÇ ±Ù¿øÀ» ÁÖ±â Àü±îÁö ±× ¼¼°è´Â ºûÀÌ ¾ø´Â ¼¼°èÀÔ´Ï´Ù. ºûÀÇ ±Ù¿øÀº ÁÖ¾îÁø ¹æÇâÀ¸·Î ºû³ª¸ç ±×µéÀÇ ¹æÇâ(¹°Ã¼ Ç¥¸éÀÇ ¼Ó¼º¿¡ µû¶ó)À¸·Î ¹°°ÇµéÀ» ¹àÈü´Ï´Ù. ¿©·¯ºÐÀÇ ºûÀÇ ±Ù¿øÀÌ ¾Æ·¡¿Í °°ÀºÁö È®ÀÎÇϱ⠹ٶø´Ï´Ù.

  1. ¿Ã¹Ù¸¥ ¹æÇâÀ» °¡¸£Å°´ÂÁö(ȸÀüÀ̳ª À̵¿).

  2. ºûÀÌ ¹°°ÇÀ» ±¸ºÐÇϱ⿡ ÃæºÐÈ÷ ¹àÀºÁö.


4.2. Tutorials

¸ðµ¨¸µ°ú ·»´õ¸µ ÆÐÅ°Áö¸¦ °¡Áö°í »ç¶÷µéÀÌ ÇÏ°í ½ÍÀº °¡Àå ±âº»ÀûÀÎ ÀÏÀº ±¸¸¦ À§Ä¡½ÃÅ°°í ºûÀ» ÁÖ°í °á°ú¸¦ º¸´Â °ÍÀÔ´Ï´Ù. ¾Æ·¡ÀÇ Æ©Å丮¾óÀº À̰͵éÀ» óÀ½¿¡ ¼³¸íÇÏ°í ÀÖ½À´Ï´Ù.

¾Æ·¡ÀÇ °ÍÀº The MopsÀÇ °­·ÂÇÑ Ã¹¹ø° Æ©Å丮¾óÀ» °¡Áö°í ÀÖ½À´Ï´Ù.


5. °ü·Ã »çÀÌÆ®

5.1. ±×·¡ÇÈ ¶óÀ̺귯¸®

Mesa - An OpenGL-compliant Graphics Library.


5.2. ±×·¡ÇÈ ·»´õ·¯

BMRT - The Blue Moon Rendering Toolkit.

POV-Ray - The Persistence of Vision Raytracer.


5.3. ±×·¡ÇÈ ¸ðµ¨·¯

The Mops - A 3D modelling package that uses BMRT.

Blender - Freeware modelling and rendering suite of tools.


5.4. ±×¿ÜÀÇ »çÀÌÆ®

¾Æ·¡ÀÇ °ÍµéÀº ¿©±â ºÐ·ù¿¡ Àû´çÇÑ °ÍÀº ¾Æ´ÏÁö¸¸ ¸¸¾à ¿©·¯ºÐÀÌ ÁøÁöÇÏ°Ô ¸®´ª½º ÄÄÇ»ÅÍ·Î 3Â÷¿ø ¸ðµ¨¸µ°ú ·»´õ¸µÀ» ÇÏ°íÀÚ ÇÑ´Ù¸é Àо¸¸ÇÑ °¡Ä¡°¡ ÀÖ´Â ³»¿ëµé ÀÔ´Ï´Ù.

3D Software for Linux - ÀÌ ¹®¼­ÀÇ ´ëºÎºÐÀÇ ¸µÅ©¿Í ´Ù¸¥ Á¤º¸µé.

3D Modelling Software for Linux - ¸ðµ¨¸µ°ú °ü·ÃµÈ ¼ÒÇÁÆ®¿þ¾î ÆÐÅ°Áö ¸µÅ©µé.

3D Modelling and Rendering using Linux - ÀÌ ¹®¼­°¡ ¿ä¾àÇÑ Ç׸ñ°ú ¼ÒÇÁÆ®¿þ¾îµé¿¡ ´ëÇؼ­ ¼³¸íÇÏ´Â Æ÷°ýÀûÀÎ »çÀÌÆ®.


6. °¨»çÀÇ ¸»

ÀÌ ¹®¼­¿¡¼­ ¼³¸íÇÏ´Â ¼ÒÇÁÆ®¿þ¾î ÆÐÅ°ÁöÀÇ °³¹ßÀڵ鿡 ´ëÇؼ­ Áø½ÉÀ¸·Î °¨»çÇÕ´Ï´Ù. ±× Á¦Ç°µéÀÇ ÁúÀº »ó¾÷ÀûÀÎ ¼öÁØÀÌÁö¸¸, °ø°³ ¼ÒÇÁÆ®¿þ¾îÀÇ Á¤½ÅÀ» ÁöÅ°°í ÀÖ½À´Ï´Ù. Á¤¸» ÀßÇÏ´Â ÀÏÀÔ´Ï´Ù!!


ID
Password
Join
You will be given a post of trust and responsibility.


sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2003-09-05 03:31:53
Processing time 0.0038 sec