My MSN

Click OK to add this content

 
Content Preview: rss
-+BasicEffect: Lights / Part 1
942 days ago
BasicEffect is not that basic, if you take another look at it! It has lots of properties and with addition of PerPixelLighting it's nice 'n' quick solution for rendering models. This article was written to show you how just a few lines of code can make your render stand out..Of course as title suggest, we're going to stick to lighting, at least in this article.. So basicEffect.enableDefaultLighting() gives you standard lighting rig which, honestly, in lot of cases work just fine: But what if you wanted to render a model at night, or scene with one source of light, what then? Using DirectionalLight would be ideal if you ask me, so why not try it.. basicEffect.DirectionalLight0.Enabled = true; basicEffect.DirectionalLight0.Direction = new Vector3(0.2f, 0.0f, 0.5f); basicEffect.DirectionalLight0.DiffuseColor = new Vector3(0.2f, 0.4f, 0.2f); So after you've added these lines of code, which simply define diffuse color and light's source's direction.. ...
-+Blog Images
942 days ago
No description is available for this feed.
-+How to implement GameService?
948 days ago
If you're working on a game that is made of several GameComponents, and you find out that "Skybox" component needs access of Matrix world, view and projection founded inside "Camera" component, then you're pretty much in trouble if you don't know how GameService works! Trying to make a instance of the Camera component (in this case) in Skybox, is simply impossible - because Camera component requires us to pass a game reference to it..Trying few other ways will fail as well.. That's where GameServices comes into play.A game service is nothing more than a simply interface, which you can use for passing fields, methods..Now there another problem occurs - wait we can't use fields in Interfaces right? Well that's not really a problem when you have the field you want into component itself.. Below is the example of using Player's (component) view Matrix inside Skybox (component): // Player Component public interface ...
-+Update(Skybox) && Information(Game)
956 days ago
Hello, today I'm going to show you some features that has been added to the game, as well as give out more information about game and...well you'll see! First thing first, here's what this post is mainly all about - Skybox has been added! It has been painful and tendious task I must admit because this is first time I ever done it..But it was worth it! ( Environment you see here isn't really for space game right? But that can be changed with a click of a mouse! ) As you can see, the ship is still the same, even tho I said I'm going to change it as soon as possible..Well I thinked so "I'm 3D artist so it won't be a problem." But it's actually.I'm not going to do any 3D graphics for this game for simply reason - there's a big chance that next morning I'm not going to open the XNA, instead I will open Maya (3D modeling package I was working in).. FAQ - Well not that many many peoples have asked me this, but I guess that are the questions you might be interested to ...
-+Update - Interfaces, Menu
958 days ago
Alright, here's another update - this time onto interfaces! I through I wouldn't be able to make such images in photoshop, but apparently I was wrong Game got nice(if you ask me) startup screen: As well as simple HUD: And of course pause mode so you can rest: Gameplay have not been changed, except from fixing few bugs here and there, and implementing smooth movement which really doesn't deserve some attention..Next step is make point system, and start working onto game itself - implementing shooting, enemies.. Cheers till next update!
© 2009 MicrosoftMicrosoft