Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 15 Jan 2011
Offline Last Active Apr 10 2011 01:25 AM

Posts I've Made

In Topic: No problems

15 February 2011 - 01:10 AM

Took a bit of screwing round with cullmode for me too. My code is:

 protected override void Initialize()
            RasterizerState temp = new RasterizerState();
        	temp.CullMode = CullMode.None;

        	GraphicsDevice.RasterizerState = temp;


Yours seems like a more elegant way of doing it though. Although i only set the cullmode once at the start because i thought there may have been a slight performance impact setting it every draw call.

In Topic: Registered to another console

06 February 2011 - 12:36 AM

When you run the newest download of game studio connect and it is in the 'waiting for connection' screen, have you tried pressing 'Y' to reset all connections? it will generate a new key for use between your new console and your dev PC.

I havent had use a new console yet so i havent come across this message, but maybe this helps :)

In Topic: what is a 'Sealed partial class'

03 February 2011 - 11:38 PM

okay i think i get it :) thanks.

How come it costs less if you mark an overridden virtual method as sealed? what is the difference, when its all compiled and its obviously not going to be overridden anymore wouldnt the compiler just treat a sealed and non-sealed method the same?

In Topic: Quick question on effects

03 February 2011 - 11:33 PM

I don't think it is a technique, in the sense that we have to loop through the basic effect techniques and apply each one.

According to this link Standard Lighting Rig

When calling effect.EnableDefaultLighting(); a number of default positioned lights are added to the effect so that the model it is applied to gets lit in a nice way, with a back light, fill light, and a key light.

I came across this link BasicEffect Lighting also which shows how you can play around with the values of the default lights in the BasicEffect and change positions and colors etc.

In Topic: XNA Workshop Member Introductions!

18 January 2011 - 12:44 AM

Hi all,

I'm Lee, 28 years old, and have been playing round with all kinds of programming over the last many years in my spare time. I used to do web application development with .NET, and have been trying to learn XNA over the last year or so on and off. I joined this workshop in the hopes that the more structured and social environment will help me stay motivated and just be an all round better learning tool than fumbling my way through it with no direction or goal.