www.komoto.org ã® OpenGLå ¥é sample09 ã PyOpenGL 㨠PIL ã§åç¾ãåä½ãããã«ã¯ãã®2ã¤ã®ã©ã¤ãã©ãªã¨ texture2.ppm ãå¿ è¦ã ãã¯ã¹ãã£ãä½æããã«ã¯ PIL ã§ç»åãèªã¿è¾¼ãã§ã tostring() ã§ãã¤ãåã«ç´ãã¦ãã glTexImage2D ã«ãããã° OK ãã¤ã¾ã PIL ãèªããç»åå½¢å¼ãªãã°ãã¯ã¹ãã£ã¨ãã¦ã¤ãããããªãªã¸ãã«ã§ã¯ Cè¨èªã§ PPMç»åãããã°ã£ã¦èªãã§ããã®ã«å¯¾ãã¦ã PIL ã 㨠Image.open ããã ãããã¯ã PIL ã¯ä¾¿å©ãããã # coding: utf-8 u""" åè OpenGL Programing ãµã³ãã«ï¼ ãããããã http://www.komoto.org/opengl/sample09.html ããã PyOpenGL + PIL ã«ç§»æ¤ãã¦ã¿ã "
{{#tags}}- {{label}}
{{/tags}}