<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3418231097369930802</id><updated>2011-11-28T00:35:09.305Z</updated><title type='text'>Steffanp's C and C# programming blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://steffanp.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3418231097369930802/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://steffanp.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Steffan Bo Pallesen</name><uri>http://www.blogger.com/profile/06443905862695223271</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3418231097369930802.post-4211290920755156206</id><published>2008-10-05T13:49:00.002+01:00</published><updated>2009-11-22T14:51:39.591Z</updated><title type='text'>College project</title><content type='html'>&lt;span style="" lang="EN-GB"&gt;The development of Nordic Realms is currently on hold. I have just started collage (studying computer science), and need to spend most of my time on another project. It is a remote desktop system that hopefully will turn into a school project. I am focusing on two things to make this application better then the other ones on the market:&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="" lang="EN-GB"&gt;It has to work across different platforms: Windows (XP/Vista), Linux, MacOS X, Solaris and maybe Unix&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="" lang="EN-GB"&gt; It has to be very easy to use. 95% of the remote desktop systems i have tried where extremely hard to setup.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="" lang="EN-GB"&gt;The project is coming along very well. The application can take control over Windows and Linux machines, but it is very slow and unstable.

Here is a screenshot of the application, where i have taken control over my own computer. As you can see, it generates a "Tunnel effect".
&lt;/span&gt;&lt;div style="text-align: center;"&gt;&lt;span style="" lang="EN-GB"&gt;.&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_rF25Odr4d-g/SOi4c6E7e-I/AAAAAAAAAFg/xKHJz_lSBLE/s1600-h/desktop.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 487px; height: 304px;" src="http://1.bp.blogspot.com/_rF25Odr4d-g/SOi4c6E7e-I/AAAAAAAAAFg/xKHJz_lSBLE/s320/desktop.JPG" alt="" id="BLOGGER_PHOTO_ID_5253651772093463522" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3418231097369930802-4211290920755156206?l=steffanp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://steffanp.blogspot.com/feeds/4211290920755156206/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3418231097369930802&amp;postID=4211290920755156206' title='36 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3418231097369930802/posts/default/4211290920755156206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3418231097369930802/posts/default/4211290920755156206'/><link rel='alternate' type='text/html' href='http://steffanp.blogspot.com/2008/10/collage-project_05.html' title='College project'/><author><name>Steffan Bo Pallesen</name><uri>http://www.blogger.com/profile/06443905862695223271</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_rF25Odr4d-g/SOi4c6E7e-I/AAAAAAAAAFg/xKHJz_lSBLE/s72-c/desktop.JPG' height='72' width='72'/><thr:total>36</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3418231097369930802.post-7362447311325099181</id><published>2008-07-09T03:01:00.005+01:00</published><updated>2008-07-09T04:05:00.734+01:00</updated><title type='text'>Working on Nordic Realms 0.3.0</title><content type='html'>&lt;span style="" lang="EN-GB"&gt;I have decided not to release any more patches for the Nordic Realms tech-demo (version 0.2.x). I am currently working on the first playable (well.. Somewhat playable) version of the game (0.3.0). It will feature things like a skill system, one playable class (Warrior), a great amount of items, more NPC's, more quests, improved networking, much improved GUI, geo-mipmapping and more animations.

A great 3D-artis has joined the team, but because we lack a 2D-artist, development of version 0.3.0 will go somewhat slow. Especially pixel art will be needed, so if you have experience in crafting small images, send us an email.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3418231097369930802-7362447311325099181?l=steffanp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://steffanp.blogspot.com/feeds/7362447311325099181/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3418231097369930802&amp;postID=7362447311325099181' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3418231097369930802/posts/default/7362447311325099181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3418231097369930802/posts/default/7362447311325099181'/><link rel='alternate' type='text/html' href='http://steffanp.blogspot.com/2008/07/working-on-nordic-realms-030.html' title='Working on Nordic Realms 0.3.0'/><author><name>Steffan Bo Pallesen</name><uri>http://www.blogger.com/profile/06443905862695223271</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3418231097369930802.post-74940676545396176</id><published>2008-06-28T15:34:00.001+01:00</published><updated>2008-06-28T15:45:50.799+01:00</updated><title type='text'>Nordic Realms version 0.2.1 Tech-demo released!</title><content type='html'>&lt;span&gt;I have released the first official version of the game. It is a tech-demo, so it will only give you an idea of how the final game will look. Hurry to the &lt;a href="http://sfponline.dk/index.php?option=com_content&amp;amp;task=view&amp;amp;id=27&amp;amp;Itemid=41"&gt;website&lt;/a&gt; and download it.&lt;/span&gt; &lt;p&gt;Since this is the first release, i have little knowledge of how the game will perform on different computers, so i would like everyone to take "The benchmark test". This test can be started by executing the game launcher, clicking "Options", and then clicking "Benchmark system". The result of the test will automatically be sent to our server.&lt;/p&gt; &lt;p&gt;If you find a bug in the game, please write a bug report on the forum (Crash bugs will automatically be reported to our server).&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3418231097369930802-74940676545396176?l=steffanp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://steffanp.blogspot.com/feeds/74940676545396176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3418231097369930802&amp;postID=74940676545396176' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3418231097369930802/posts/default/74940676545396176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3418231097369930802/posts/default/74940676545396176'/><link rel='alternate' type='text/html' href='http://steffanp.blogspot.com/2008/06/nordic-realms-version-021-tech-demo.html' title='Nordic Realms version 0.2.1 Tech-demo released!'/><author><name>Steffan Bo Pallesen</name><uri>http://www.blogger.com/profile/06443905862695223271</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3418231097369930802.post-6241496073466688804</id><published>2008-06-20T16:22:00.002+01:00</published><updated>2008-06-20T16:31:22.972+01:00</updated><title type='text'>Geo-mipmapping, texture-mipmapping and animation</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-GB"&gt;I have currently been working on geo-mipmapping and texture-mipmapping. This is important if you want to view great distances of terrain, without using a lot of processing power. As you can see in the video bellow, this feature is not complete yet. You can switch between low level terrain and height level terrain, but this does not happen automatically, and you can only have one detail level at a time. This problem will be fixed soon.
I have finally managed to get my animations to work in XNA. In the start i used Blender to animate our models, but i had a very hard time getting the animations to play in XNA. Now i use XSI MOD tool, and getting animations to play in XNA is a lot easier.

Enjoy this video showing LOD (Geo-mipmapping and texture-mipmapping) and animation:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  

&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/-AjNwaB93os&amp;hl=en"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/-AjNwaB93os&amp;hl=en" type="application/x-shockwave-flash" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3418231097369930802-6241496073466688804?l=steffanp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://steffanp.blogspot.com/feeds/6241496073466688804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3418231097369930802&amp;postID=6241496073466688804' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3418231097369930802/posts/default/6241496073466688804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3418231097369930802/posts/default/6241496073466688804'/><link rel='alternate' type='text/html' href='http://steffanp.blogspot.com/2008/06/geo-mipmapping-texture-mipmapping-and.html' title='Geo-mipmapping, texture-mipmapping and animation'/><author><name>Steffan Bo Pallesen</name><uri>http://www.blogger.com/profile/06443905862695223271</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3418231097369930802.post-186918212136390823</id><published>2008-05-11T19:53:00.006+01:00</published><updated>2008-05-11T20:07:15.155+01:00</updated><title type='text'>Nordic Realms video - XNA MMORPG</title><content type='html'>&lt;p class="MsoNormal"&gt;As you know i have been working on a game called Nordic Realms (website: &lt;a href="http://www.sfponline.dk"&gt;www.sfponline.dk&lt;/a&gt;). I have not invested a whole lot of time into it yet, but i am getting closer to a serious release. There is still a lot of technical stuff that needs to be done, before i can implement story and role-playing game play. The game already support a lot of things like Battle system, Quest system, NPC system so making a playable release in the next month is not unrealistic.
I had made a small "tech preview release", but i removed it again since it was "illegal". Apparently you can't make an MMORPG without the permission of the Danish state (i live in &lt;st1:country-region st="on"&gt;&lt;st1:place st="on"&gt;Denmark&lt;/st1:place&gt;&lt;/st1:country-region&gt;).

Well enjoy this video from the game. The screen "blinks" a bit, but that is just the recording software.&lt;/p&gt;


&lt;object height="355" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/44OVbfqJTxM&amp;amp;hl=en"&gt;&lt;param name="wmode" value="transparent"&gt;&lt;embed src="http://www.youtube.com/v/44OVbfqJTxM&amp;amp;hl=en" type="application/x-shockwave-flash" wmode="transparent" height="355" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3418231097369930802-186918212136390823?l=steffanp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://steffanp.blogspot.com/feeds/186918212136390823/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3418231097369930802&amp;postID=186918212136390823' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3418231097369930802/posts/default/186918212136390823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3418231097369930802/posts/default/186918212136390823'/><link rel='alternate' type='text/html' href='http://steffanp.blogspot.com/2008/05/nordic-realms-video.html' title='Nordic Realms video - XNA MMORPG'/><author><name>Steffan Bo Pallesen</name><uri>http://www.blogger.com/profile/06443905862695223271</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3418231097369930802.post-1526463274143370278</id><published>2008-04-01T19:26:00.006+01:00</published><updated>2008-12-11T10:46:34.995Z</updated><title type='text'>Announcing Nordic Realms</title><content type='html'>Hi.
I have been trying to create a little online RPG with my game engine (Peoples SDK), and the result is pretty good. You can't do much in the game, but so far i have mostly focused on graphics. I have created a quick website for the game (&lt;a href="http://www.sfponline.dk/"&gt;http://www.sfponline.dk&lt;/a&gt;), so that you can check some of the screenshots. I don't have a working demo yet, so you can only enjoy the screen's.

&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_rF25Odr4d-g/R_J_mUhXfrI/AAAAAAAAAD0/NG1o_xkJed8/s1600-h/img5.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 553px; height: 413px;" src="http://1.bp.blogspot.com/_rF25Odr4d-g/R_J_mUhXfrI/AAAAAAAAAD0/NG1o_xkJed8/s320/img5.jpg" alt="" id="BLOGGER_PHOTO_ID_5184346417377279666" border="0" /&gt;&lt;/a&gt;
&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_rF25Odr4d-g/R_J_bUhXfqI/AAAAAAAAADs/xaGrGvwbNr4/s1600-h/img4.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 555px; height: 415px;" src="http://1.bp.blogspot.com/_rF25Odr4d-g/R_J_bUhXfqI/AAAAAAAAADs/xaGrGvwbNr4/s320/img4.jpg" alt="" id="BLOGGER_PHOTO_ID_5184346228398718626" border="0" /&gt;&lt;/a&gt;
&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_rF25Odr4d-g/R_J_LEhXfpI/AAAAAAAAADk/EoDLmUssTeg/s1600-h/img6.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 552px; height: 412px;" src="http://4.bp.blogspot.com/_rF25Odr4d-g/R_J_LEhXfpI/AAAAAAAAADk/EoDLmUssTeg/s320/img6.jpg" alt="" id="BLOGGER_PHOTO_ID_5184345949225844370" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3418231097369930802-1526463274143370278?l=steffanp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://steffanp.blogspot.com/feeds/1526463274143370278/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3418231097369930802&amp;postID=1526463274143370278' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3418231097369930802/posts/default/1526463274143370278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3418231097369930802/posts/default/1526463274143370278'/><link rel='alternate' type='text/html' href='http://steffanp.blogspot.com/2008/04/announcing-nordic-realms.html' title='Announcing Nordic Realms'/><author><name>Steffan Bo Pallesen</name><uri>http://www.blogger.com/profile/06443905862695223271</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_rF25Odr4d-g/R_J_mUhXfrI/AAAAAAAAAD0/NG1o_xkJed8/s72-c/img5.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3418231097369930802.post-7035040549984749727</id><published>2008-02-21T06:27:00.013Z</published><updated>2008-12-11T10:46:35.756Z</updated><title type='text'>Peoples SDK screenshots</title><content type='html'>&lt;p class="MsoNormal"&gt;Hi again.&lt;/p&gt;&lt;p class="MsoNormal"&gt;Half a year ago, i was working on an MMO engine, which turned out to be quite good. However, in the past months i have not had time to develop it further, but now things have changed. I have improved and expanded the engine so that it now supports better terrain rendering, better material system, AI and much more. I am also renaming the engine to Peoples SDK, since it can be used for much more then just MMO's, and it is not just cold bin libraries anymore, it also contains programs like a world editor and a patch manager. I am now releasing a little eye-candy from the engine, so you can see what kind of graphics it supports. The first three screenshots are with directional lighting, and the last is with dynamic lighting:&lt;/p&gt;  &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_rF25Odr4d-g/R70cBRK7BBI/AAAAAAAAAAw/nsxPZzrZJ-E/s1600-h/pic1.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 445px; height: 356px;" src="http://4.bp.blogspot.com/_rF25Odr4d-g/R70cBRK7BBI/AAAAAAAAAAw/nsxPZzrZJ-E/s320/pic1.JPG" alt="" id="BLOGGER_PHOTO_ID_5169318755405857810" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_rF25Odr4d-g/R70cvhK7BGI/AAAAAAAAABY/SoTr3VKVHCw/s1600-h/pic3.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 447px; height: 357px;" src="http://1.bp.blogspot.com/_rF25Odr4d-g/R70cvhK7BGI/AAAAAAAAABY/SoTr3VKVHCw/s320/pic3.JPG" alt="" id="BLOGGER_PHOTO_ID_5169319549974807650" border="0" /&gt;&lt;/a&gt;
&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_rF25Odr4d-g/R70cbRK7BEI/AAAAAAAAABI/-vD1WxRDKzc/s1600-h/pic2.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 449px; height: 358px;" src="http://4.bp.blogspot.com/_rF25Odr4d-g/R70cbRK7BEI/AAAAAAAAABI/-vD1WxRDKzc/s320/pic2.JPG" alt="" id="BLOGGER_PHOTO_ID_5169319202082456642" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_rF25Odr4d-g/R70czBK7BHI/AAAAAAAAABg/ENEBkqkBpZ4/s1600-h/pic4.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 450px; height: 358px;" src="http://3.bp.blogspot.com/_rF25Odr4d-g/R70czBK7BHI/AAAAAAAAABg/ENEBkqkBpZ4/s320/pic4.JPG" alt="" id="BLOGGER_PHOTO_ID_5169319610104349810" border="0" /&gt;&lt;/a&gt;
Btw. i am tired of using the terrain textures from remiers site, so if you have some nice terrain textures you would like to share, please send them to my e-mail (steffan88@gmail.com).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3418231097369930802-7035040549984749727?l=steffanp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://steffanp.blogspot.com/feeds/7035040549984749727/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3418231097369930802&amp;postID=7035040549984749727' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3418231097369930802/posts/default/7035040549984749727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3418231097369930802/posts/default/7035040549984749727'/><link rel='alternate' type='text/html' href='http://steffanp.blogspot.com/2008/02/peoples-sdk-screenshots.html' title='Peoples SDK screenshots'/><author><name>Steffan Bo Pallesen</name><uri>http://www.blogger.com/profile/06443905862695223271</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_rF25Odr4d-g/R70cBRK7BBI/AAAAAAAAAAw/nsxPZzrZJ-E/s72-c/pic1.JPG' height='72' width='72'/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3418231097369930802.post-8072129709057328149</id><published>2008-01-09T17:11:00.000Z</published><updated>2008-12-11T10:46:35.915Z</updated><title type='text'>3D model collision</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-GB"&gt;For a long time, 3D collision has been the biggest problem I have faced in the field of game development. XNA comes with the BoundingBox and BoundingSphere classes that provide a very fast collision solution. However, these classes do not give you very accurate collision detection when applied to 3D models, because they do not check each triangle in the model.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-GB"&gt;The solution to this problem is writing a CollisionMesh class. This class will be will be used to check Model vs. Model collision, using the model’s triangles.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-GB"&gt;However, the kind of collision checking is very costly, so it is important to minimize the amount of times we use this method. We can do this by using the BoundingBox class, to check if two models are even close to each other. If model1 and model2’s bounding boxes don’t collide, there is no reason to make the very costly triangle collision test.&lt;/span&gt;  &lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-GB"&gt;Also, it is a good idea to use a low-poly version of you 3D model for collision testing, depending on how accurate your collision needs to be.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;      &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-GB"&gt;For a concrete example of this collision theory, download &lt;a href="http://files.filefront.com/ModelCollisionzip/;9519346;/fileinfo.html"&gt;this sample&lt;/a&gt;&lt;/span&gt;&lt;span style="" lang="EN-GB"&gt;. Here is a short walkthrough, on how to use the CollisionMesh class:&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-GB"&gt;Creating a CollisionMesh is very simple:&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;
&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-GB"&gt;

&lt;/span&gt;
&lt;span style="" lang="EN-GB"&gt;

&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;
&lt;pre class="csharpcode"&gt;
Model MyModel = Content.Load&amp;lt;Model&amp;gt;(&lt;span class="str"&gt;"MyModel"&lt;/span&gt;);
CollisionMesh collisionMesh;
collisionMesh = CollisionMesh.FromModel(MyModel, Vector3.Zero, Vector3.Zero);
CollisionMesh.RefreshMatrix();&lt;/pre&gt;

After this, use the following code to check if a movment with the movmentVector, will result in a collision:
&lt;/span&gt;&lt;/p&gt;

&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;
&lt;pre class="csharpcode"&gt;
Vector3 movmentVector = &lt;span class="kwrd"&gt;new&lt;/span&gt; Vector3(1,0,0);
bool result = collisionMesh.Move(movmentVector, otherCollisionMesh);
collisionMesh.RefreshMatrix();&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_rF25Odr4d-g/R4dJw0VRJHI/AAAAAAAAAAU/NXX75KxKD44/s1600-h/Untitled.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://2.bp.blogspot.com/_rF25Odr4d-g/R4dJw0VRJHI/AAAAAAAAAAU/NXX75KxKD44/s320/Untitled.jpg" alt="" id="BLOGGER_PHOTO_ID_5154169401579218034" border="0" /&gt;&lt;/a&gt;


&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3418231097369930802-8072129709057328149?l=steffanp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://steffanp.blogspot.com/feeds/8072129709057328149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3418231097369930802&amp;postID=8072129709057328149' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3418231097369930802/posts/default/8072129709057328149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3418231097369930802/posts/default/8072129709057328149'/><link rel='alternate' type='text/html' href='http://steffanp.blogspot.com/2008/01/3d-model-collision.html' title='3D model collision'/><author><name>Steffan Bo Pallesen</name><uri>http://www.blogger.com/profile/06443905862695223271</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_rF25Odr4d-g/R4dJw0VRJHI/AAAAAAAAAAU/NXX75KxKD44/s72-c/Untitled.jpg' height='72' width='72'/><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3418231097369930802.post-474390035472063884</id><published>2007-12-19T12:24:00.001Z</published><updated>2007-12-20T23:30:14.726Z</updated><title type='text'>Making a Real Time Strategy game</title><content type='html'>&lt;p class="MsoNormal" style=""&gt;&lt;span style="" lang="EN-GB"&gt;I am currently making an RTS from scratch using &lt;/span&gt;&lt;a href="http://msdn2.microsoft.com/en-us/express/aa975050.aspx"&gt;&lt;span style="" lang="EN-GB"&gt;visual C# 2005&lt;/span&gt;&lt;/a&gt;&lt;span style="" lang="EN-GB"&gt; and &lt;/span&gt;&lt;a href="http://creators.xna.com/default.aspx"&gt;&lt;span style="" lang="EN-GB"&gt;XNA GSE 2.0&lt;/span&gt;&lt;/a&gt;&lt;span style="" lang="EN-GB"&gt;. I will be sharing some of the experience I get while working on this project, so if you are interested in RTS development, you should check out this blog. Here is a list of things that will be talking about in my blog, but don’t be surprised if other things pop out.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="" lang="EN-GB"&gt;Advanced world editor&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="" lang="EN-GB"&gt;Binary level format
&lt;/span&gt;&lt;/li&gt;&lt;u1:p&gt;&lt;/u1:p&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="" lang="EN-GB"&gt;Terrain rendering&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;u1:p&gt;&lt;/u1:p&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="" lang="EN-GB"&gt;Terrain culling&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;u1:p&gt;&lt;/u1:p&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="" lang="EN-GB"&gt;3D modelling&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;u1:p&gt;&lt;/u1:p&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="" lang="EN-GB"&gt;Unit AI&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;u1:p&gt;&lt;/u1:p&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="" lang="EN-GB"&gt;Dynamic 3D Path finding&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;u1:p&gt;&lt;/u1:p&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="" lang="EN-GB"&gt;Networking (using System.Net)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="" lang="EN-GB"&gt;This is not an “RTS ONLY” blog, so you might see other XNA related stuff as well. If you are new to XNA and C#, I can recommend &lt;a href="http://www.riemers.net/eng/Tutorials/xnacsharp.php"&gt;Riemers XNA tutorials&lt;/a&gt;, &lt;a href="http://creators.xna.com/default.aspx"&gt;XNA creators club&lt;/a&gt; (They have great code samples) and &lt;a href="http://www.ziggyware.com/"&gt;Ziggyware&lt;/a&gt; (for the latest XNA news)&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style=""&gt;
&lt;span style="" lang="EN-GB"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-GB"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3418231097369930802-474390035472063884?l=steffanp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://steffanp.blogspot.com/feeds/474390035472063884/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3418231097369930802&amp;postID=474390035472063884' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3418231097369930802/posts/default/474390035472063884'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3418231097369930802/posts/default/474390035472063884'/><link rel='alternate' type='text/html' href='http://steffanp.blogspot.com/2007/12/making-real-time-strategy-game.html' title='Making a Real Time Strategy game'/><author><name>Steffan Bo Pallesen</name><uri>http://www.blogger.com/profile/06443905862695223271</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
