{"id":43,"date":"2006-03-05T16:38:08","date_gmt":"2006-03-05T06:38:08","guid":{"rendered":"http:\/\/www.doolwind.com\/blog\/?p=41"},"modified":"2006-03-05T16:38:08","modified_gmt":"2006-03-05T06:38:08","slug":"fixing-the-environment","status":"publish","type":"post","link":"https:\/\/www.doolwind.com\/blog\/fixing-the-environment\/","title":{"rendered":"Fixing The Environment"},"content":{"rendered":"<p>So after doing some general testing of CIC I noticed that my environment mapping wasn&#8217;t actually working as it should be.\u00a0 I spent quite a bit of time looking through my code and the examples I had used when putting together my HLSL shader.\u00a0 The problem was the ray I was using to look into my environment map was wrong and so while it looked ok; it was just a coincidence that it looked similar to the expected result, when in fact it was completely wrong.\u00a0 I\u2019ve since updated that and when I get some spare time I will email the author of the code snippet I was referencing who also had the same problem.<\/p>\n<p>I\u2019ve also been working on the some multiplayer components ready for the alpha test in the next few weeks.\u00a0 You can now see which section (offence, defence etc) the other players in your ship are currently working in.\u00a0 That way if you know \u2018Bob\u2019 is working in defence there\u2019s a good chance you should hop into offence and start launching missile at the enemy.\u00a0 I\u2019ve also updated the AI so every player in the ship can turn on\/off the AI for each section of the ship and everyone can see the same current values.<\/p>\n<p>That\u2019s about it for now.\u00a0 I\u2019m trying to work out what I should do with the 3D models in the game.\u00a0 I\u2019d like to pay an artist to do some really nice models however I\u2019m not sure if it\u2019s worth doing at the moment.\u00a0 I\u2019ll leave my dodgy models for now, however if you know of anyone that might be interested please shoot me an email.\u00a0 Don\u2019t forget to sign up to the alpha test email list if you haven\u2019t done so already.\u00a0 I\u2019ll be putting up some tutorials on how to use CIC ready for the alpha test however I\u2019ll only be allowing those in the mailing list to download a copy of CIC and play it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So after doing some general testing of CIC I noticed that my environment mapping wasn&#8217;t actually working as it should be.\u00a0 I spent quite a bit of time looking through my code and the examples I had used when putting together my HLSL shader.\u00a0 The problem was the ray I was using to look into <a class=\"more-link\" href=\"https:\/\/www.doolwind.com\/blog\/fixing-the-environment\/\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[3],"tags":[],"class_list":["post-43","post","type-post","status-publish","format-standard","hentry","category-cic"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pgEc5-H","_links":{"self":[{"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/posts\/43","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/comments?post=43"}],"version-history":[{"count":0,"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/posts\/43\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/media?parent=43"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/categories?post=43"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/tags?post=43"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}