{"id":14983,"date":"2022-05-24T22:14:21","date_gmt":"2022-05-24T14:14:21","guid":{"rendered":"https:\/\/www.bookcard.net\/wordpress\/?p=14983"},"modified":"2022-05-24T22:18:56","modified_gmt":"2022-05-24T14:18:56","slug":"skybox","status":"publish","type":"post","link":"https:\/\/www.bookcard.net\/wordpress\/skybox\/","title":{"rendered":"SKYBOX\u5929\u5e55"},"content":{"rendered":"<figure id=\"attachment_14985\" aria-describedby=\"caption-attachment-14985\" style=\"width: 1280px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2022\/05\/skybox.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-14985\" src=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2022\/05\/skybox.jpg\" alt=\"\u5929\u5e55SKYBOX\" width=\"1280\" height=\"800\" srcset=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2022\/05\/skybox.jpg 1280w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2022\/05\/skybox-300x188.jpg 300w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2022\/05\/skybox-768x480.jpg 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/a><figcaption id=\"caption-attachment-14985\" class=\"wp-caption-text\">\u5929\u5e55SKYBOX<\/figcaption><\/figure>\n<figure id=\"attachment_14988\" aria-describedby=\"caption-attachment-14988\" style=\"width: 1280px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2022\/05\/skybox_.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-14988\" src=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2022\/05\/skybox_.jpg\" alt=\"\u5929\u5e55SKYBOX\" width=\"1280\" height=\"800\" srcset=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2022\/05\/skybox_.jpg 1280w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2022\/05\/skybox_-300x188.jpg 300w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2022\/05\/skybox_-768x480.jpg 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/a><figcaption id=\"caption-attachment-14988\" class=\"wp-caption-text\">\u5929\u5e55SKYBOX<\/figcaption><\/figure>\n<p>\u300e\u5929\u5e55SKYBOX\u300f\u6307\u5de8\u7acb\u65b9\u9ad4, \u4fc2\u5167\u7c60\u8cbc\u5929\u5e55\u7d0b\u7406,\u300e\u5929\u5e55\u7d0b\u7406\u300f\u53ef\u80fd\u4fc2\u300e\u5730\u5e73\u7dda\u300f\u300e\u5ba4\u5167\u300f\u300e\u5b87\u5b99\u300f. \u300e\u5929\u5e55SKYBOX\u300f\u539f\u3e03\u82073D\u76f8\u6a5f\u4f4d\u7f6e\u91cd\u5408. \u4fc2\u9060\u7747\u6642\u6b63\u786e.<\/p>\n<p>\u7531\u9678\u5e45\u7d0b\u7406\u300e\u9876\u300f\u300e\u5e95\u300f\u300e\u524d\u300f\u300e\u5f8c\u300f\u300e\u5de6\u300f\u300e\u53f3\u300f\u7d44\u6210. \u4ee5\u524d\u300e\u5929\u5e55SKYBOX\u300f\u7d0b\u7406\u5206\u9678\u5e45\u4f4d\u5716\u5b58\u6a94.<\/p>\n<p>\u9678\u5e45\u4f4d\u5716\u5b58\u4fc2\u55ae\u58f9\u300e\u7d0b\u7406\u300f\u6548\u7387\u66f4\u9ad8. \u5c06\u300e\u7d0b\u7406\u300f\u5e73\u5206\u62fe\u9678\u7b49\u5206. \u8db3\u591f\u64fa\u4e24\u7d44\u300e\u5929\u5e55\u300f\u7d0b\u7406. \u300e\u65e5\u982d\u300f\u300e\u665a\u9ed1\u300f\u5404\u58f9. \u4f3c\u4e0a\u5716\u5481.<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"192\">\u7d0b\u7406\u7d22\u5f15:0~15<\/td>\n<td width=\"192\">\u300e\u65e5\u982d\u300f<\/td>\n<td width=\"192\">\u300e\u665a\u9ed1\u300f<\/td>\n<\/tr>\n<tr>\n<td width=\"192\">\u9876up<\/td>\n<td width=\"192\">0<\/td>\n<td width=\"192\">8<\/td>\n<\/tr>\n<tr>\n<td width=\"192\">\u5e95dn<\/td>\n<td width=\"192\">1<\/td>\n<td width=\"192\">9<\/td>\n<\/tr>\n<tr>\n<td width=\"192\">\u524dft<\/td>\n<td width=\"192\">7<\/td>\n<td width=\"192\">15<\/td>\n<\/tr>\n<tr>\n<td width=\"192\">\u540ebk<\/td>\n<td width=\"192\">5<\/td>\n<td width=\"192\">13<\/td>\n<\/tr>\n<tr>\n<td width=\"192\">\u5de6lt<\/td>\n<td width=\"192\">6<\/td>\n<td width=\"192\">14<\/td>\n<\/tr>\n<tr>\n<td width=\"192\">\u53f3rt<\/td>\n<td width=\"192\">4<\/td>\n<td width=\"192\">12<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5b9a\u7fa9\u300e\u5929\u5e55SKYBOX\u300f<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"288\">typedef struct SKYBOX_TYP {<\/td>\n<td width=\"288\"><\/td>\n<\/tr>\n<tr>\n<td width=\"288\">VECTOR3D\u00a0 pos;<\/td>\n<td width=\"288\">\u4f4d\u7f6e<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">VECTOR3D\u00a0 rot;<\/td>\n<td width=\"288\">\u65cb\u8f49<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">TEXTURE_PTR texture;<\/td>\n<td width=\"288\">\u5929\u5e55\u7eb9\u7406<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">float\u00a0\u00a0\u00a0\u00a0 size;<\/td>\n<td width=\"288\">\u5929\u5e55\u5927\u7ec6<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">\/\/TEXTURE_REGION region[16];<\/td>\n<td width=\"288\">\u7eb9\u7406\u533a\u57df<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">VECTOR3D\u00a0 vertex_array[36]\u00a0\u00a0 ;<\/td>\n<td width=\"288\">\u5929\u5e55\u9876\u70b9<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">VECTOR2D\u00a0 texCoord_array[36] ;<\/td>\n<td width=\"288\">\u5929\u5e55\u7d0b\u7406<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">}SKYBOX, *SKYBOX_PTR;<\/td>\n<td width=\"288\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u624b\u30a8\u6784\u5efa\u300e\u5929\u5e55SKYBOX\u300f\u7acb\u65b9\u9ad4\u300e3D\u9802\u3e03\u300f\u540c\u300eUV\u7d0b\u7406\u300f. \u6b63\u65b9\u5f62\u4ee5\u4e24\u4e09\u89d2\u5f62\u7d44\u6210. \u7d0b\u7406\u5de6\u4e0a\u89d2[u0, v0], \u7d0b\u7406\u53f3\u4e0b\u89d2[u1,v1].\u5929\u5e55\u5927\u7ec6\u300esize\u300f.<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"288\">\u5929\u300eUV\u7d0b\u7406\u300f<\/td>\n<td width=\"288\">\u300exyz\u9802\u3e03\u300f<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[0]=[u1, v1]<\/td>\n<td width=\"288\">vertex_array[0]=[-size, size, -size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[1]=[u0, v1]<\/td>\n<td width=\"288\">vertex_array[1]=[size, size, -size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[2]=[u0, v0]<\/td>\n<td width=\"288\">vertex_array[2]=[size, size, size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[3]=[u1, v1]<\/td>\n<td width=\"288\">vertex_array[3]=[-size, size, -size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[4]=[u0, v0]<\/td>\n<td width=\"288\">vertex_array[4]=[size, size, size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[5]=[u1, v0]<\/td>\n<td width=\"288\">vertex_array[5]=[-size, size, size]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"288\">\u5730\u300eUV\u7d0b\u7406\u300f<\/td>\n<td width=\"288\">\u300exyz\u9802\u3e03\u300f<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[6]=[u1, v1]<\/td>\n<td width=\"288\">vertex_array[6]=[size, -size, -size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[7]=[u0, v1]<\/td>\n<td width=\"288\">vertex_array[7]=[-size, -size, -size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[8]=[u0, v0]<\/td>\n<td width=\"288\">vertex_array[8]=[-size, -size, size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[9]=[u1, v1]<\/td>\n<td width=\"288\">vertex_array[9]=[size, -size, -size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[10]=[u0, v0]<\/td>\n<td width=\"288\">vertex_array[10]=[-size, -size, size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[11]=[u1, v0]<\/td>\n<td width=\"288\">vertex_array[11]=[size, -size, size]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"288\">\u524d\u300eUV\u7d0b\u7406\u300f<\/td>\n<td width=\"288\">\u300exyz\u9802\u3e03\u300f<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[12]=[u0, v0]<\/td>\n<td width=\"288\">vertex_array[12]=[-size, -size, -size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[13]=[u1, v0]<\/td>\n<td width=\"288\">vertex_array[13]=[size, -size, -size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[14]=[u1, v1]<\/td>\n<td width=\"288\">vertex_array[14]=[size, size, -size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[15]=[u0, v0]<\/td>\n<td width=\"288\">vertex_array[15]=[-size, -size, -size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[16]=[u1, v1]<\/td>\n<td width=\"288\">vertex_array[16]=[size, size, -size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[17]=[u0, v1]<\/td>\n<td width=\"288\">vertex_array[17]=[-size, size, -size]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"288\">\u540e\u300eUV\u7d0b\u7406\u300f<\/td>\n<td width=\"288\">\u300exyz\u9802\u3e03\u300f<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[18]=[u0, v0]<\/td>\n<td width=\"288\">vertex_array[18]=[size, -size, size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[19]=[u1, v0]<\/td>\n<td width=\"288\">vertex_array[19]=[-size, -size, size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[20]=[u1, v1]<\/td>\n<td width=\"288\">vertex_array[20]=[-size, size, size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[21]=[u0, v0]<\/td>\n<td width=\"288\">vertex_array[21]=[size, -size, size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[22]=[u1, v1]<\/td>\n<td width=\"288\">vertex_array[22]=[-size, size, size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[23]=[u0, v1]<\/td>\n<td width=\"288\">vertex_array[23]=[size, size, size]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"288\">\u53f3\u300eUV\u7d0b\u7406\u300f<\/td>\n<td width=\"288\">\u300exyz\u9802\u3e03\u300f<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[24]=[u1, v0]<\/td>\n<td width=\"288\">vertex_array[24]=[size, -size, size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[25]=[u1, v1]<\/td>\n<td width=\"288\">vertex_array[25]=[size, size, size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[26]=[u0, v1]<\/td>\n<td width=\"288\">vertex_array[26]=[size, size, -size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[27]=[u1, v0]<\/td>\n<td width=\"288\">vertex_array[27]=[size, -size, size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[28]=[u0, v1]<\/td>\n<td width=\"288\">vertex_array[28]=[size, size, -size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[29]=[u0, v0]<\/td>\n<td width=\"288\">vertex_array[29]=[size, -size, -size]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"288\">\u5de6\u300eUV\u7d0b\u7406\u300f<\/td>\n<td width=\"288\">\u300exyz\u9802\u3e03\u300f<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[30]=[u1, v0]<\/td>\n<td width=\"288\">vertex_array[30]=[-size, -size, -size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[31]=[u1, v1]<\/td>\n<td width=\"288\">vertex_array[31]=[-size, size, -size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[32]=[u0, v1]<\/td>\n<td width=\"288\">vertex_array[32]=[-size, size, size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[33]=[u1, v0]<\/td>\n<td width=\"288\">vertex_array[33]=[-size, -size, -size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[34]=[u0, v1]<\/td>\n<td width=\"288\">vertex_array[34]=[-size, size, size]<\/td>\n<\/tr>\n<tr>\n<td width=\"288\">texCoord[35]=[u0, v0]<\/td>\n<td width=\"288\">vertex_array[35]=[-size, -size, size]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u300e\u5929\u5e55SKYBOX\u300f\u6307\u5de8\u7acb\u65b9\u9ad4, \u4fc2\u5167\u7c60\u8cbc\u5929\u5e55\u7d0b\u7406,\u300e\u5929\u5e55\u7d0b\u7406\u300f\u53ef\u80fd\u4fc2\u300e\u5730\u5e73\u7dda\u300f\u300e\u5ba4\u5167\u300f\u300e\u5b87\u5b99\u300f. \u300e\u5929\u5e55SK &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.bookcard.net\/wordpress\/skybox\/\" class=\"more-link\">\u7e7c\u7e8c\u95b1\u8b80 <span class=\"screen-reader-text\">SKYBOX\u5929\u5e55<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,62,51,11,13],"tags":[2,50,3,10],"class_list":["post-14983","post","type-post","status-publish","format-standard","hentry","category-android","category-opengl","category-windows","category-algorithm","category-pc","tag-android","tag-opengl","tag-windows","tag-algorithm","entry"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/posts\/14983","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/comments?post=14983"}],"version-history":[{"count":3,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/posts\/14983\/revisions"}],"predecessor-version":[{"id":14990,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/posts\/14983\/revisions\/14990"}],"wp:attachment":[{"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/media?parent=14983"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/categories?post=14983"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/tags?post=14983"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}