{"id":28,"date":"2005-12-08T21:01:00","date_gmt":"2005-12-08T11:01:00","guid":{"rendered":"http:\/\/www.doolwind.com\/blog\/?p=28"},"modified":"2005-12-08T21:01:00","modified_gmt":"2005-12-08T11:01:00","slug":"cic-the-i-is-for-internet","status":"publish","type":"post","link":"https:\/\/www.doolwind.com\/blog\/cic-the-i-is-for-internet\/","title":{"rendered":"CIC, the &#039;i&#039; is for internet"},"content":{"rendered":"<p>Again a lot has happened since my last post and I&#8217;ll try and remember everything I&#8217;ve been doing since I last reported in. Firstly, with <a href=\"http:\/\/www.r2.com.au\/\">Cliff&#8217;s<\/a> help I tested CIC over the internet and it worked without a hitch. All the messages were passed around correctly and considering I haven&#8217;t put any timing code in there was very little lag. I took a quick screenshot of the game we played against each other below:<\/p>\n<p><a href=\"http:\/\/www.doolwind.com\/images\/blog\/netgame.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"width: 341px; height: 302px\" height=\"302\" src=\"http:\/\/www.doolwind.com\/images\/blog\/netgame.jpg\" width=\"341\" border=\"0\" \/><\/a><\/p>\n<p>I&#8217;ve been testing CIC at work quite a bit and getting people&#8217;s opinions as early as I can. Even with the extremely limited gameplay people can see the possibilities and are saying it looks like it could be quite fun. It&#8217;s always hard to get good feedback from friends as they are extremely biased, but I&#8217;m hoping most people will be honest if they have issues. I&#8217;ve been working quite a bit on fleshing out the gameplay of missile selection and interception. It&#8217;s all come together quite nicely and while it needs quite a bit of testing to iron out some issues, I&#8217;m happy with how it&#8217;s looking so far. Most of the features of the missile selection\/interception have been implemented and I&#8217;m just about ready to start &#8216;phase 2&#8217; of the defensive system. This section involves setting up the &#8216;passive&#8217; defenses of the ship, such as where fighters should patrol the ship and where the &#8216;phalanx&#8217; system should fire at incoming missiles. This will make choosing a path for the missile important and once complete will round out the first implementation of the offensive and defensive states.<\/p>\n<p>I&#8217;ve also started on a little optimization of the dynamic vertex buffers so they are all grouped into a single large vertex buffer based on their material. This creates 4 extra vertices for each smoke trail in the form of 2 degenerate triangles however it means I can put the entire group into one &#8216;stripified&#8217; dynamic vertex buffer which increases performance quite substantially (about 20fps bringing it up to 70 with a lot of missiles on the screen). There still needs to be quite a bit of optimization, however I&#8217;m simply going to analyze it so I&#8217;m aware of the trouble areas and leave the bulk of the optimizing until I reach my major milestone early next year.<\/p>\n<p>That&#8217;s about all that&#8217;s happening, I&#8217;ll just give a quick shout out for Damian who&#8217;s released v0.5 of <a href=\"http:\/\/glintercept.nutty.org\/\">GLIntercept<\/a> which I recommend to anyone writing an OpenGL app, or who would like to find out how their favourite OpenGL game does all it&#8217;s fancy effects. I had a lot of fun looking at Homeworld 2 and seeing they implemented their smoke trails in a similar way to mine :).<\/p>\n<p>That&#8217;s about it, I&#8217;ll leave you with a riddle we had at the quiz night for our church Christmas party:<br \/>\nIf 1.5 chickens lay 1.5 eggs in 1.5 days, how many chickens does it take to get 12 eggs in 6 days. It&#8217;s fairly easy but I enjoyed it as a brain teaser.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Again a lot has happened since my last post and I&#8217;ll try and remember everything I&#8217;ve been doing since I last reported in. Firstly, with Cliff&#8217;s help I tested CIC over the internet and it worked without a hitch. All the messages were passed around correctly and considering I haven&#8217;t put any timing code in <a class=\"more-link\" href=\"https:\/\/www.doolwind.com\/blog\/cic-the-i-is-for-internet\/\">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-28","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-s","_links":{"self":[{"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/posts\/28","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=28"}],"version-history":[{"count":0,"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/posts\/28\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/media?parent=28"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/categories?post=28"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/tags?post=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}