Graphics °æ (¾«»ªÇø)
·¢ÐÅÈË: jun (¡î×ÓÒ¹¡î), ÐÅÇø: Graphics
±ê Ìâ: openGLÇóÖú
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (Sat Jan 9 11:39:16 1999), תÐÅ
СµÜ³õ´Î½Ó´¥openGL,Óм¸¸öÎÊÌâÏëÇë½Ì¸÷λ´óϺ
1¡£ÔÚMFC¿ò¼ÜÖУ¬ÈçºÎÔÚCVIEWÖÐÓÃopenGLÏÔʾһ¸öBMPͼÏñ£¿
ÎÒ²é¹ýOPENGL RED BOOK £¬ÆäÖÐÓÐglDrawPixels(),¿ÉÎÒ²»Çå³þÈçºÎÓã¬
ÓÈÆäÓÖÇ£É浽ʲôcolorbufferÖ®ÀàµÃÎÊÌ⣬¸ãµÃÎÒºÃÔΡ£ÄÇλ´óϺ×ö¹ýÀàËÆ
¹¤×÷£¬Çë´Í½Ì¡£¡
£
2¡£ÈçºÎÓÃopneGLʵÏÖÀàËÆPHOTOSHOP²ãµÄ¸ÅÄ¾ßÌå˵¾ÍÊÇÕâÑù£¬ÏëʵÏÖÁ½¸ö²ã
MAINLAYER,OVERLAYER,ÎÒ¿ÉÒÔÔÚMAINLAYERÖлæԴͼ£¬ÔÚOVERLAYERÉÏ»Ïߣ¬¾ØÐÎ
ʲôµÄ£¬Èç¹ûËù»µÄͼÐβ»ÂúÒ⣬¾ÍË¢ÐÂOVERLAYER²ã£¬¶ø²»±ØË¢ÐÂMAINLAYER²ã
ÁíÍâ¿ÉÒÔÔÚOVERLAYERÉÏ×öÊ°È¡£ ÎÒÖªµÀÔÚSGIÉÏÓÃGL¿ÉÒÔʵÏÖÕâÖÖ¶à²ãµÄ²Ù×÷£¬
µ«ÔÚ95ÏÂÓÃopenGLÈçºÎʵÏÖ£¿Çå´óϺ²»ÁßÖ¸½Ì£¬Íò·Ö¸Ðл£¡£
--
ONE FOR ALL , ALL FOR ONE
¡ù À´Ô´:¡¤BBS ˮľÇ廪վ bbs.net.tsinghua.edu.cn¡¤[FROM: 166.111.68.228]
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã bbs.hit.edu.cn£®[FROM: sunup.bbs@bbs.net.ts]
·¢ÐÅÈË: jun (¡î×ÓÒ¹¡î), ÐÅÇø: Graphics
±ê Ìâ: Re: openGLÇóÖú
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (Sat Jan 9 11:53:35 1999), תÐÅ
¡¾ ÔÚ defencer (ÇåµÀ·ò) µÄ´ó×÷ÖÐÌáµ½: ¡¿
: СµÜ³õ´Î½Ó´¥openGL,Óм¸¸öÎÊÌâÏëÇë½Ì¸÷λ´óϺ
: 1¡£ÔÚMFC¿ò¼ÜÖУ¬ÈçºÎÔÚCVIEWÖÐÓÃopenGLÏÔʾһ¸öBMPͼÏñ£¿
: ÎÒ²é¹ýOPENGL RED BOOK £¬ÆäÖÐÓÐglDrawPixels(),¿ÉÎÒ²»Çå³þÈçºÎÓã¬
: ÓÈÆäÓÖÇ£É浽ʲôcolorbufferÖ®ÀàµÃÎÊÌ⣬¸ãµÃÎÒºÃÔΡ£ÄÇλ´óϺ×ö¹ýÀàËÆ
: ¹¤×÷£¬Çë´Í½Ì¡£¡
: £
: 2¡£ÈçºÎÓÃopneGLʵÏÖÀàËÆPHOTOSHOP²ãµÄ¸ÅÄ¾ßÌå˵¾ÍÊÇÕâÑù£¬ÏëʵÏÖÁ½¸ö²ã
: MAINLAYER,OVERLAYER,ÎÒ¿ÉÒÔÔÚMAINLAYERÖлæԴͼ£¬ÔÚOVERLAYERÉÏ»Ïߣ¬¾ØÐÎ
: ʲôµÄ£¬Èç¹ûËù»µÄͼÐβ»ÂúÒ⣬¾ÍË¢ÐÂOVERLAYER²ã£¬¶ø²»±ØË¢ÐÂMAINLAYER²ã
: ÁíÍâ¿ÉÒÔÔÚOVERLAYERÉÏ×öÊ°È¡£ ÎÒÖªµÀÔÚSGIÉÏÓÃGL¿ÉÒÔʵÏÖÕâÖÖ¶à²ãµÄ²Ù×÷£¬
: µ«ÔÚ95ÏÂÓÃopenGLÈçºÎʵÏÖ£¿Çå´óϺ²»ÁßÖ¸½Ì£¬Íò·Ö¸Ðл£¡£
ÄãÒªÓÃglDrawPixels()»¸öͼÏó£¬ÄÇÒ»¶¨Òª°ÑËüת»»³É
RGB¸ñʽºó²ÅÄÜÓÃÕ⺯Êý¡£
ÎÒ×Ô¼ºÓÃdelphi±àÁ˸öת»»¹¤¾ß£¬¶ÔС·ùͼ»¹¿ÉÒÔÓá£
µÈÍêÉƺóÔÙ¸øÄãÂÞ
ÎÒ¶ÔopenglÁ˽ⲻÉÙ£¬µ«ÊÇûÓÐÌý˵¶à²ãµÄ²Ù×÷¹ý£¬
²»ºÃÒâ˼£¬^_*
--
¡ù À´Ô´:¡¤BBS ˮľÇ廪վ bbs.net.tsinghua.edu.cn¡¤[FROM: 202.38.219.66]
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã bbs.hit.edu.cn£®[FROM: sunup.bbs@bbs.net.ts]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
Ò³ÃæÖ´ÐÐʱ¼ä£º2.633ºÁÃë