{"id":1128,"date":"2014-04-28T20:10:52","date_gmt":"2014-04-28T18:10:52","guid":{"rendered":"http:\/\/labalec.fr\/erwan\/?p=1128"},"modified":"2014-04-29T10:34:32","modified_gmt":"2014-04-29T08:34:32","slug":"xna-a-3d-camera","status":"publish","type":"post","link":"https:\/\/labalec.fr\/erwan\/?p=1128","title":{"rendered":"XNA : Article 25 &#8211; a 3D camera"},"content":{"rendered":"<p>A cool <a href=\"https:\/\/www.youtube.com\/watch?v=XkpZLzT5OV4&#038;feature=youtube_gdata_player\" target=\"_blank\">video <\/a>on youtube I have seen today around a 3D camera in XNA, well explained.<br \/>\nC# code source given <a href=\"http:\/\/phstudios.com\/forums\/index.php?\/topic\/65-xna-first-person-camera-tutorial-source-code\/\" target=\"_blank\">here<\/a>.<\/p>\n<p>I have decided to translate to Vb.Net and to distribute the full project <a href=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/04\/XNA_CAMERA_3D.zip\">here<\/a>.<\/p>\n<p>It goes as is :<br \/>\n&#8211;<strong>declare<\/strong> a camera object, a floor object and basiceffect in your mail class<br \/>\n&#8211;<strong>initialise<\/strong> these variables (and add the cam to the game components)<br \/>\n&#8211;<strong>draw<\/strong> the floor while passing the cam and the basiceffet as parameters<\/p>\n<p>A quick video to demonstrate it (or watch the original video).<\/p>\n<div style=\"width: 695px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-1128-1\" width=\"695\" height=\"417\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/04\/XNA_CAMERA_3D-28-04-2014-20-01-31.mp4?_=1\" \/><a href=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/04\/XNA_CAMERA_3D-28-04-2014-20-01-31.mp4\">https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/04\/XNA_CAMERA_3D-28-04-2014-20-01-31.mp4<\/a><\/video><\/div>\n","protected":false},"excerpt":{"rendered":"<p>A cool video on youtube I have seen today around a 3D camera in XNA, well explained. C# code source given here. I have decided to translate to Vb.Net and to distribute the full project here. It goes as is : &#8211;declare a camera object, a floor object and basiceffect in your mail class &#8211;initialise <a href='https:\/\/labalec.fr\/erwan\/?p=1128' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35],"tags":[],"class_list":["post-1128","post","type-post","status-publish","format-standard","hentry","category-xna","category-35-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/1128","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1128"}],"version-history":[{"count":6,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/1128\/revisions"}],"predecessor-version":[{"id":1136,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/1128\/revisions\/1136"}],"wp:attachment":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1128"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1128"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}