2007-01-01ãã1å¹´éã®è¨äºä¸è¦§
http://www.microsoft.com/japan/msdn/directx/Releasenotes/dxreadmeNov07J.aspx ã©ããã§dmusicc.hã¨ãç¡ãã¯ãã ã
ã³ã³ãã¤ã«ãã¦å®è¡ãã㨠d3dx10d_35.dllãè¦ã¤ãããªãã£ãããããã®ã¢ããªã±ã¼ã·ã§ã³ã解ãã§ãã¾ããã§ãããã¢ããªã±ã¼ã·ã§ã³ãã¤ã³ã¹ãã¼ã«ãç´ãã¨ãã®åé¡ã¯è§£æ±ºãããå ´åãããã¾ããã¨ãåºã¦ããã http://d.hatena.ne.jp/toburau/20071014 ãªã³â¦
DirectX9ã§DirectX8ã®ãµã³ãã«ãåãã試ãã¦ã¿ãã å°ããå¤æ´ããã°ããã¨åãæ§åã include #include <d3d8.h> #include <d3dx8.h>#include <d3d9.h> #include <d3dx9.h> æå¾ã«8ã®ã¤ãåã¨ãé¢æ° 9ã«å¤ãã¨ã LPDIRECT3D8 LPDIRECT3DDEVICE8 Direct3DCreate8(D3D_SDK_VERSION) å¼æ°å¤ãã£</d3dx9.h></d3d9.h></d3dx8.h></d3d8.h>â¦
ãã«ãæé http://www.wxwidgets.org/ ã§wxMSWã®ã½ã¼ã¹ãã²ãããã¦ããã OpenGLãæå¹ã«ãã build\msw\config.vc USE_OPENGL = 1include\wx\msw\setup.h #define wxUSE_GLCANVAS 1 ãã«ã build\msw\wx.dswãéãã é©å½ãªã½ãªã¥ã¼ã·ã§ã³æ§æãé¸æãã(â¦
http://dame.dyndns.org/misc/llahp/?q=ANEVJqlqG9Y-sB4&n=ousttrueèªåã®åè¦ããã®ã¾ã¾ç¾ãã¦ããã¾ãã perlã§ããã°ã©ãã³ã°ãå§ããã®ã ããã¾ãã¡ã¡ããã¨ç解ã§ããªãã£ããã¨ã ã¯ããã¦ã¾ã¨ãã«ãã¹ã¿ã¼ããã®ãrubyã ã£ããã¨ã ã§ãä»äºã§ã¯VBScrâ¦
ã¡ã¿ã»ã³ã¤ã¢ã§xå½¢å¼ã§ä¿åãããã®ãèªã¿è¾¼ãã§ã¿ãã ãã¯ã¹ãã£ããã¾ãè²¼ããã 赤ãã¨ããã®ã¿ãã¯ã¹ãã£ã絶対ãã¹ã«ãã¦ããã ãããã«ããã¾ã ããããã
ãã¾ããããªãã£ãåå ã¯ã¡ã¿ã»ã³ã§Xãã¡ã¤ã«ã«ã¨ã¯ã¹ãã¼ãããã¨ãã®ããæ¹ããããããªãã£ããã¨ã ã£ãã Xå½¢å¼ã§ä¿åããã¨ãã¯UVãããã³ã°ã«ãã§ãã¯ããã®ã¨æ質è¨å®ã§ãã¯ã¹ãã£ã®ãã¹ãç¸å¯¾ãã¹ã絶対ãã¹ã«ã㦠ã¡ã¿ã»ã³ã®ãããã³ã°ç»åãã©ã«â¦
DirectXã²ã¼ã ã°ã©ãã£ãã¯ã¹ããã°ã©ãã³ã° Ver. 2.0ä½è : N2Factoryåºç社/ã¡ã¼ã«ã¼: ã½ãããã³ã¯ã¯ãªã¨ã¤ãã£ãçºå£²æ¥: 2004/10/30ã¡ãã£ã¢: åè¡æ¬è³¼å ¥: 6人 ã¯ãªãã¯: 156åãã®ååãå«ãããã° (18件) ãè¦ãç©ãã§ãã£ãã®ãèªã¿å§ãã
ããããªãã®ãéä¸ã§æ¾ç½®ãã¦ãããæ°ãåããã®ã§DirectXãå¼ãå§ããã ãã£ããåªæãå¤ãã®ã§å¤§å¤ã ã幸ãDirectXæå¤ã¯ããç¨åº¦ãããã®ã§ãªãã¨ããªãããã ã¨ãããããªã³ã¯ãã dsound.lib dinput8.lib dxerr9.lib d3dx9.lib d3d9.lib 追å dxguidâ¦
ãªãããªã¤ãã§ã«æä½ã¡ã¢ ãªãã¸ã§ã¯ãã®ãã¼ã«ã«åº§æ¨ã表示ããæ¹æ³ Transform Orientation(Alt + Space)ãLocalã«ãã æ°åã§è¦ã (n)ã§æ°å¤å ¥åã表示ãã ãã¼ã«ã«åº§æ¨ã«æ£å¯¾ãã ãªãã¸ã§ã¯ãã¢ã¼ãã§(num *) ãªãã¸ã§ã¯ãã®åæãã¼ã«ã«åº§æ¨ ãªãã¸ã§â¦
http://luna.loop-net.co.jp/blog/htanaka/2006/11/16/1163610720000.html ããã¼ã¹ã«ã¨ãããããã©ã¼ã¢ãã£ãã¡ã¤ã¢ãèªåçã«é©ç¨ãããããã«ãã¦ã¿ãã ããã°ãã°Mikotoã§åãåºããé£çªmqoã®ãããã¬ã³ããªã³ã°ã¨ããã§ãããã ãã ãããBlenderã§â¦
ãããããã¯ã¾ãã¾ããã ã¾ããlist.reverse()ãç ´å£çã¡ã½ããã§ããç¹ã§ã²ã¨ã¯ã¾ãã 次ã«ãreversed()ãã¤ãã¬ã¼ã¿ãè¿ãã¨ããã§ãµãã¯ã¾ãã lambdaãé§ä½¿ãã¦ãªãã¨ããããã¨ãããã ãããã http://inforno.net/articles/2007/05/13/python-reveâ¦
ãã¼ã³ã¨ã¢ã³ã«ã¼ã®ä»è¾¼ã¿ãããã¼ãºä»ãã¾ã§ãã£ã¦ã¿ãã Mikotoã®ãã¼ã³ã®ä»çµã¿ãç解ããã®ã«æ°æéãã¢ã³ã«ã¼ãä½ãã®ã«ãæ°æéããã£ãã ã¢ã¼ã·ã§ã³ä½ãã¨ããã¾ã§ã¯è¾¿ãçããã ããã¦åããã¾ã§ããããªãã£ãã¢ããªã³ã°ã®åé¡ç¹ãããããå´åºãâ¦
ãã¯ã¹ãã£ä½æ¥ãªããã§æè¿Windosã§GIMPã使ãå§ããã®ã ããããã®ããã©ã«ãã®ã¹ã¯ãªããã¯schemeã§ããschemeã§lispã®æãã«å°éãããã®ããã¾ãã¾ãªã®ã§ããä»åã¯ä½¿ãæ¹ã®ããã£ã¦ããpythonã使ããã¨ã«ãããããpython-fuã¸ã®éã¯ãã¤ãã¼ã§è¥å¹²ãâ¦
æ°ã¹ã¿ã¤ã«ã¯ã©ã¹(ãã¼ã¸ã§ã³2.2ããç»å ´ããnew-style class)å½¢å¼ã§ã®ã¯ã©ã¹å®£è¨ã objectãã«ã¼ãã¨ãã¦ãç¶æ¿ããã class BaseClass(object): def __init__(self): print self æ°ã¹ã¿ã¤ã«ã¯ã©ã¹ã§ããããæ©è½ã追å ããã(__slots__ã¨ã)ã®ã§ ã¨ãããâ¦
http://hp.vector.co.jp/authors/VA029732/warabimp/ ã§ã¬ã³ããªã³ã°ãã¦ã¿ãã ããã¨ãããããæãã«ã¯ãªã£ã¦ããããã
æãçããã¤ãã§ã«é ãæ¹é ãã¦ãããããããéããã®ã«ãªã£ã¦ããã ä»å¾ã®äºå®ã¨ãã¦ã¯UVå±éãã¦ãã¯ã¹ãã£æãã¦ãã¼ã³ä»è¾¼ãã çµãããè¦ãã¦ããªãã
Qtã®æ å ±ããªãå°ãªãæãã§ãã ãªãã§ãPyQtã®ãç¹ã«PyQt4ã®ãï½æåã®ä¸æ©ã¨ãã¦ã¯ããã®ãã¥ã¼ããªã¢ã«è¨äºãããã£ãã http://programming.it-cafe.jp/pyqt4tutorial/pyqt001.htmlC++ã®æ¹ã®Qt4æ¥æ¬èªããã¥ã¡ã³ã http://linux-life.net/program/cc/qtâ¦
以åã«ç·´ç¿ã«ä½¿ã£ãè³ã¨ä½ãçºæãã¦åä½ããã http://www.3dtotal.com/ffa/tutorials/max/joanofarc/body1.asp ãè¦ã¦ä½ã£ãä½ã¯å¦ã«ãã¤ã¹ããã£ãã¤ãããã§ã«ãªã£ã¦ããã®ã§ã ï¼é 身ãããã«èª¿æ´ãã¦ããå¹³å¦ã«ãªãããã«èµ·ä¼ãæ¸ãããã è¸ã¨ãï½ ãâ¦
ä»æ¥ã¯ããã°ã©ã ã¯ä¼ã¿ã«ãã¦éä¸ã¾ã§ä½ã£ã¦ãã£ãé ã«é«ªãä¹ãã¦ã¿ããçåæ¹å¼ã§é«ªãã¯ã¹ãã£ã¼ã¡ã¼ã«ã¼ã使ç¨ã http://natukin.hp.infoseek.co.jp/kami.htmlãã¾ã¾ã§ã®ä¸ã§ã¯æ ¼æ®µã«ãã·ã«ãªã£ãããªãã ã¨ããããæ°ã«å ¥ããªãã¦ãæå¾ã¾ã§ä¸åº¦å®éãâ¦
æ å ±åéããã¤ã¤PyQtã®ä½¿ç¨ãéå§ãæ¤ç´¢ããã¨ãã¯ãããPyQt4ã¨ãã¹ãããã ã¨ããããOpenGLã®ä½¿ãæ¹ã調ã¹ã¦ã¿ãã pyqtã®OpenGLãµã³ãã«hellogl.pywã®ã³ã¼ããæ¸ãããªãã解èªã QGLWidgetã¯ã©ã¹ãOpenGLãæ±ãã¯ã©ã¹ã§ãããç¶æ¿ãã¦ãä¸è¨ã®ã¡ã½ãâ¦
http://www.riverbankcomputing.co.uk/pyqt/download.php ããã¤ã³ã¹ãã¼ã©ãã²ãããã¦ãã¦ãã£ã¦ã¿ãã Windowsã®æ¹ã¯ãã¤ããªããã±ã¼ã¸ãå®è¡ãããããã£ã¨ã¤ã³ã¹ãã¼ã«ã§ããã ãµã³ãã«ããã°ã©ã ãåããã¦ãããããã¨è¯ãããªã®ã§PyQtã試ãã¦ã¿ãâ¦
glutã§ã¯ã¡ã¨æ©è½ä¸è¶³ã«ãªã£ã¦ããã®ã§Xã¨Windows両æ¹ã§åãpython GUIãé¸å®ãã¦ããã®ã ãã Tkinterã®OpenGLã使ãã®ã«å¤±æãã(ToglãWindowsã«ã¤ã³ã¹ãã¼ã«ããã®ãé£èªãããã ã£ã)ã®ã¨ã Gentooã§Qtã®ã³ã³ãã¤ã«ãä¸åã«çµãããªããã使ã£ããã¨ã®â¦
# -*- coding: utf-8 -*- from Tkinter import * from tkFont import * class App(Frame): def __init__(self, master=None): Frame.__init__(self, master) self.pack() self.init() def init(self): self.master.title("æ¥æ¬èªã¿ã¤ãã«") # label ä½æããâ¦
ãµããã·ã³ã®Gentooã§glutã¹ã¯ãªããã試ãã¦ã¿ããã¨æã£ããPILãç¡ãã¨è¨ããããããã£ã¨ $ easy_install PIL ãããã¨æã£ããsetuptoolsãå ¥ã£ã¦ããªãã¿ããã ã£ãã emergeã使ããã«ãã¼ã ãã£ã¬ã¯ããªã§è§£æ±ºããæ¹åã§ä½æ¥ã ç´ä½æ²æãçµã¦ãããªâ¦
WindowsXPä¸ã®OpenGLããªããæç»ã«1ç§ä»¥ä¸ããã£ã¦å¼ã£ãããæãããã ãã¼ãã¦ã§ã¢çãªåé¡ãããããªãã ãã¾ãåãã¦ããã¨ãã¯ããã®ã ããä¸åå¼ã£ãããã¨å½¢ç¶ã®è¤éãã«é¢ãããé ã¾ãã Blenderã§ãã¡ã¿ã»ã³ã§ãglutã§ãçç¶ãåºã¦ãã®ã§ç°å¢ã®â¦
ããã¨ã©ã®è¨èªã§ããã®æã®æ å ±ã¯èª¿ã¹ã«ããã®ã ãããã£ã±ãã ãã¶æéåã£ãã __main__ã¨ãããã±ã¼ã¸ãimportã®è¾ºããé¢é£ãã¦ããã¨æã£ããã ãã©å¾®å¦ã«ã¯ããã¦ãã¦ãªããªãè¦ã¤ãããã ã°ãã¼ãã«åå空é globals()["HOGE"] ãã¼ã«ã«åå空é locâ¦
ã¯ã©ã¹å®ç¾©æã«ã¯ã¨ãããã__slots__ãæ¸ãã¦ããã perlã®use strictãvbã®Option Explicitã«å¹æµããæ©è½ã¨ã¿ããã©ããªãã ããã class Sample(object): """ã¯ã©ã¹ã³ã¡ã³ã """ __slots__=[] def __init__(self): """ã³ã¡ã³ã """ None ãã¨ãè¨äºãä¸â¦
glLoadIdentityã ã¨GL_PROJECTIONã§å·¦ä¸ã(-1, -1)ã§å³ä¸ã(1, 1)ã§ãã£ãã®ã gluOrth2D(0, window_width, 0, window_height)ã§èª¿æ´ãããã§ãã(å·¦ä¸åç¹)ã def printString(text, x, y): global fontOffset, window_width, window_height glMatrixMode(Gâ¦
ã ãã¶æãåºãã¦ããã æ¨æ¥ä½ã£ããã©ã³ã表示ã使ã£ã¦ã¿ãã Windowãµã¤ãºãå¤æ´ããã¨è¡ééãå¤ãã£ã¦ãã¾ã£ã¦ãã¾ãã¡ãªãã¨ãå¤æã åç´ã«glRasterPosã§æå®ããã ãã§ã¯ã ããã ãªããä½ç½®ãåºå®ããæ¹çãå¿ è¦ã ã ãã¨glutã ã¨ãã¦ã¹ãã¤ã¼ã«ãâ¦