{"version":"1.0","published":"2005-10-01 07:11:03","author_url":"https://blog.hatena.ne.jp/tetsuya32/","author_name":"tetsuya32","categories":["3D"],"image_url":null,"width":"100%","url":"https://tetsuya32.hatenadiary.org/entry/20051001/1128118263","type":"rich","provider_url":"https://hatena.blog","title":"CMesh\u3092\u5909\u66f4\u3057\u3088\u3046(3)","provider_name":"Hatena Blog","height":"190","blog_url":"https://tetsuya32.hatenadiary.org/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftetsuya32.hatenadiary.org%2Fentry%2F20051001%2F1128118263\" title=\"CMesh\u3092\u5909\u66f4\u3057\u3088\u3046(3) - good enough?\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"SVertex\u3092\u3070\u3089\u3057\u3066\u4f7f\u3046\u304b\u3001\u305d\u308c\u3068\u3082\u3053\u306e\u307e\u307e\u4f7f\u3046\u304b\u3002\u73fe\u5728\u3001SVertex\u306f\u3053\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002 struct SVertex { Vector3d position; // \u4f4d\u7f6e Vector3d normal; // \u6cd5\u7dda Vector2d tex_uv; // \u30c6\u30af\u30b9\u30c1\u30e3\u306e\u5ea7\u6a19 unsigned int color; // \u8272 };\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3059\u308b\u969b\u306b\u306f\u3053\u306e\u307b\u3046\u304c\u6271\u3044\u3084\u3059\u3044\u306e\u3067\u3059\u304c\u3001gl*Pointer()\u3092\u4f7f\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u9802\u70b9\u306f\u9802\u70b9\u3001\u6cd5\u7dda\u306f\u6cd5\u7dda\u3067\u9023\u7d9a\u3057\u3066\u3044\u306a\u3044\u3068\u9ad8\u901f\u5316*1\u3067\u304d\u305a\u3001glInterleavedArrays()\u3092\u4f7f\u3063\u3066\u3044\u308b\u306e\u3068\u540c\u3058\u3053\u3068\u306b\u306a\u308b \u306a\u3093\u3066\u3044\u3046\u306e\u3092\u8aad\u3093\u3060\u3053\u3068\u304c\u3042\u2026","blog_title":"good enough?"}