Visual Studio .NET2003¤ÈMSDN Library(ºÇ¾®)¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¡¤
Python2.4¤Ï¥¤¥ó¥¹¥È¡¼¥ë¸å
¥·¥¹¥Æ¥à´Ä¶ÊÑ¿ô¤ÎPath¤ò¤¤Á¤ó¤È»ØÄꤷ¤¿¡£
C:\Python24;C:\Python24\Scripts;
ºÆµ¯Æ°¤·¤¿¤é¡¤
>viewer.py demo1.py
OpenGLɽ¼¨¤·¤¿¡£
´û¤Ëalpha5¤Ï¼ê¤ËÆþ¤é¤Ê¤¤¤¬,¤Þ¤È¤á¤Æ¤ß¤¿¡£
¢£¢£Cgkit¤Î¥¤¥ó¥¹¥È¡¼¥ë¤Ë¤Ä¤¤¤Æ¢£¢£
¡Python-2.3.5.exe¤ò¥¤¥ó¥¹¥È¡¼¥ë
¢PyProtocols-0.9.3.win32-py2.3.exe
£PIL-1.1.5.win32-py2.3.exe
¤pygame-1.6.win32-py2.3.exe
¥cgkit-2.0.0alpha5.win32-py2.3.exe
¦Pixie-1.7.6-Setup.exe
§Sample¤òC:\Python23¤Ë¥³¥Ô¡¼¤¹¤ë¡£
¨¥Þ¥¤¥³¥ó¥Ô¥å¡¼¥¿¤ò±¦¥¯¥ê¥Ã¥¯¤·¡¢
¡Ö¥×¥í¥Ñ¥Æ¥£¡×¢ª¡Ö¾ÜºÙÀßÄê¡×
¢ª¡Ö´Ä¶ÊÑ¿ô¡×¢ª¡Ö¥·¥¹¥Æ¥à´Ä¶ÊÑ¿ô¡×¤ÎPath¤ò¥¯¥ê¥Ã¥¯
¡ÖÊÔ½¸¡×¤ò²¡¤·¤Æ¡ÖÊÑ¿ôÃ͡פ˼¡¤Îʸ¤òÄɲ乤롣
;C:\Python23;C:\Python23\Scripts
¢£¢£
©¥³¥Þ¥ó¥É¥×¥í¥ó¥×¥È¤Ç
Open GLɽ¼¨¤µ¤ì¤¿¤éÀ®¸ù!!
>Viewer.py helloworld.py
ªRenderingɽ¼¨
RenderMan Renderer "Pixie"¤ò»È¤Ã¤Æ¤¤¤ë¡£
>Render.py -r pixie helloworld.py
--------------------------------------
cgkit-2.0.0alpha6.win32-py2.3.exe¤¬¥À¥¦¥ó¥í¡¼¥É¤Ç¤¤ë¤±¤É¡¤Render.py¤Ç¥¨¥é¡¼¤¬½Ð¤Æ¤·¤Þ¤¦¡£¤¦¤Þ¤¯¥ì¥ó¥À¥ê¥ó¥°¤Ç¤¤Ê¤¤¡£
¤è¤Ã¤Æ¥Ð¡¼¥¸¥ç¥ó¥À¥¦¥ó¤·¤¿¡£
Python2.4¤Ç¤ÎCgkit2.0alpha7¤ÏÌÌÇò¤¤¡£
grow.py¤Ç¤ÎÎý½¬¡£RiCurves()¤Î½ñ¤Êý¤òÊÙ¶¯¤·¤Ê¤¤¤È¡£
Àè¶î¼Ô¤ÎÏÀʸ¤¬Æɤá¤ë¤è¤¦¤Ë´·¤ì¤Ê¤¤¤È¡¦¡¦¡¦²ÝÂê¤Ï¤¿¤¯¤µ¤ó¡£
Visual Studio¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¤ê¤·¤Æ,ÂçÁû¤®¤·¤¿PyProtocols¤À¤±¤É¡¤
Python¤Ë¤Ï¡¤egg¤È¤¤¤¦¤Î¤¬¤¢¤ë¤Î¤Ç¤¹¤Í¡£
¥Í¥Ã¥È¤«¤éõ¤·¤Æ¤¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¯¤ì¤ëÊØÍø¥Ä¡¼¥ë
ez_setup.py¤¬¤¢¤ë¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¤«¡£
¤Þ¤º¡¤Python2.4¤ò¥¤¥ó¥¹¥È¡¼¥ë
¤¤¤í¤¤¤í¤Ê¥â¥¸¥å¡¼¥ë¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¡£
PyProtocol¤ÏWindowsÍѤΥ¤¥ó¥¹¥È¡¼¥é¤¬¤Ê¤¤¤Î¤Ç¡¤Á°²óÂçÊѤÀ¤Ã¤¿¡£
º£²ó¤Ï
C:\Python24>python ez_setup.py
¤È¤ä¤ë¤È¡¤easy_install¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¯¤ì¤ë¡£
¸å¤Ï¡¤Path¤äPythonPath¤òÀßÄꤷ¤Æ¡¤ºÆµ¯Æ°¡£
¤¢¤é¤«¤¸¤á½àÈ÷¤·¤Æ¤ª¤¤¤¿PyProtocols-0.9.3-py2.4-win32.egg¤Îegg¤òC:\Python24¤Ë¤ª¤¤¤Æ¤ª¤¯¡£
³¤¤¤Æ¡¤
C:\Python24\Scripts>easy_install C:\Python24\PyProtocols-0.9.3-py2.4-win32.egg
¤¢¤Ã¤±¤Ê¤¯¥¤¥ó¥¹¥È¡¼¥ë´°Î»¡£
¤³¤ì¤Ç¡¤CGkit¤¬»È¤¨¤Þ¤¹¡£