{"id":31,"date":"2016-03-08T03:46:34","date_gmt":"2016-03-08T03:46:34","guid":{"rendered":"http:\/\/jaytheham.com\/tink\/?p=31"},"modified":"2016-09-13T03:46:17","modified_gmt":"2016-09-13T03:46:17","slug":"normals","status":"publish","type":"post","link":"http:\/\/jaytheham.com\/tink\/?p=31","title":{"rendered":"Normals"},"content":{"rendered":"<div id=\"attachment_32\" style=\"width: 635px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/jaytheham.com\/tink\/wp-content\/uploads\/2016\/03\/99_stallion_sr_a_lods.jpg\" rel=\"attachment wp-att-32\"><img aria-describedby=\"caption-attachment-32\" decoding=\"async\" loading=\"lazy\" class=\"size-large wp-image-32\" src=\"http:\/\/jaytheham.com\/tink\/wp-content\/uploads\/2016\/03\/99_stallion_sr_a_lods-1024x457.jpg\" alt=\"The 3 LoD models for the 1999 Stallion SR A\" width=\"625\" height=\"279\" srcset=\"http:\/\/jaytheham.com\/tink\/wp-content\/uploads\/2016\/03\/99_stallion_sr_a_lods-1024x457.jpg 1024w, http:\/\/jaytheham.com\/tink\/wp-content\/uploads\/2016\/03\/99_stallion_sr_a_lods-300x134.jpg 300w, http:\/\/jaytheham.com\/tink\/wp-content\/uploads\/2016\/03\/99_stallion_sr_a_lods-768x343.jpg 768w, http:\/\/jaytheham.com\/tink\/wp-content\/uploads\/2016\/03\/99_stallion_sr_a_lods-624x279.jpg 624w, http:\/\/jaytheham.com\/tink\/wp-content\/uploads\/2016\/03\/99_stallion_sr_a_lods.jpg 1200w\" sizes=\"(max-width: 625px) 100vw, 625px\" \/><\/a><p id=\"caption-attachment-32\" class=\"wp-caption-text\">The 3 LoD models for the 1999 Stallion SR A<\/p><\/div>\n<p>Happily the data I thought was normals turned out to be normals, which you can see rendered here. They&#8217;re most obviously used to show reflections on the cars.<\/p>\n<p>Each car has the hi-def model made of 25 individual parts, and three LoD models, in addition to 4 wheels and a few other entries with &lt;3 vertices. Not sure if those are used for something or just dummy data.<\/p>\n<p>I haven&#8217;t really looked at the wheel data yet, at the moment they&#8217;re displaying with the texture only covering half of the wheel, I guess the bottom half is meant to be a mirror of the top but I have to find out what causes this (or is it hard-coded? wheel textures have their own table).<br \/>\nStill no idea how a given model\/texture is assigned a palette, and I feel like there might be a problem with the palettes I&#8217;m inserting, for one model I&#8217;ve noticed the palette doesn&#8217;t seem to match the in-game one anymore.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Happily the data I thought was normals turned out to be normals, which you can see rendered here. They&#8217;re most obviously used to show reflections on the cars. Each car has the hi-def model made of 25 individual parts, and three LoD models, in addition to 4 wheels and a few other entries with &lt;3 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6,7],"tags":[8,2,9,4],"_links":{"self":[{"href":"http:\/\/jaytheham.com\/tink\/index.php?rest_route=\/wp\/v2\/posts\/31"}],"collection":[{"href":"http:\/\/jaytheham.com\/tink\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/jaytheham.com\/tink\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/jaytheham.com\/tink\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/jaytheham.com\/tink\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=31"}],"version-history":[{"count":3,"href":"http:\/\/jaytheham.com\/tink\/index.php?rest_route=\/wp\/v2\/posts\/31\/revisions"}],"predecessor-version":[{"id":35,"href":"http:\/\/jaytheham.com\/tink\/index.php?rest_route=\/wp\/v2\/posts\/31\/revisions\/35"}],"wp:attachment":[{"href":"http:\/\/jaytheham.com\/tink\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=31"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/jaytheham.com\/tink\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=31"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/jaytheham.com\/tink\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=31"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}