XNA Creators Club Online
community forums

Search Forums

Page 1 of 2 (17 items) 1 2 Next >
  • Re: Leaderboard adding

    XNA doesnt support XBOX Live style Leaderboards.You could try to approximate it using this though: http://www.enchantedage.com/highscores Unless you mean a high score table in your own game rather than across the network?
    Posted to General (Forum) by Rinse on 10/9/2009
  • Re: Weird FlagsAttribute behavior

    It's bad form to modify the state of a class within get accessors. Its fine on my end if I just let it run; before using the View property the variable is BitFlag.All, afterwards it is (BitFlag.Bit2 | BitFlag.HiBits). When you are debugging the code and stepping through and things, the IDE will use the class' properties to show you what ...
    Posted to General (Forum) by Rinse on 9/29/2009
  • Re: Quick question about calculating screen position

    Awesome, just what I needed! Thanks a lot buddy! :)
    Posted to General (Forum) by Rinse on 8/12/2009
  • Re: Quick question about calculating screen position

    Ok so it seems I was missing a step. The worldViewProj matrix will not project to the screen space but to the camera's projection space.So in fact I think what we have is this: Out           WorldViewProj         In(X')    (m11, m12, m13, m14) (X)(Y') = (m21, m22, m23, m24) (Y)(W')   (m31, m32, m33, m34) (Z)(1)     (m41, m42, m43, ...
    Posted to General (Forum) by Rinse on 8/12/2009
  • Re: Quick question about calculating screen position

    Well yeah but if the entire 3rd row was 0 it wouldnt be an identity matrix cos M33 would not be 1. Edit: I can only assume the Z component of the output is not always 0. Is that so?
    Posted to General (Forum) by Rinse on 8/12/2009
  • Quick question about calculating screen position

    Hey everyone. Just trying to get my head round matrices and positions in projecting our 3d points to the 2d screen. Ok so our 3d coords are (x,y,z) and our 2d coords are (u,v). M is our WorldViewProjection matrix. So would the calculation look like this? Out           WorldViewProj         In(U)    (m11, m12, m13, m14) (X)(V) = (m21, m22, m23, ...
    Posted to General (Forum) by Rinse on 8/12/2009
  • Re: Maths help - finding a view matrix from output rather than camera position

    Hmm yeah you're right I did misread that bit! Ok well I'll give it a go and see what happens...Thanks guys! Edit: ha stumbled at the first post. If P is a matrix made of 4 vector3s, and therefore not square, how can it have an inverse? Or I guess the matrix u multiply with P to get I would not need to be square itself... my head hurts...
    Posted to Game Algorithms (Forum) by Rinse on 8/11/2009
  • Re: Maths help - finding a view matrix from output rather than camera position

    Thanks for the replies so far everybody :) but I'll try to explain the problem in a slightly clearer fashion. I dont know what the view matrix is, so I don't know what the inverse is.All I have is the 3d coordinates and the transformed 2d coordinates of 4 seperate points.From these I need to find the view matrix! Its slightly destroying my ...
    Posted to Game Algorithms (Forum) by Rinse on 8/11/2009
  • Maths help - finding a view matrix from output rather than camera position

    Hi everyone! I've been playing around with augmented reality techniques and have come across a bit of a hump, mostly because I didn't pay enough attention in maths class. If anyone doesn't know what AR is, its when you take live video footage and composite 3d graphics that orientate themselves to the image on top. So I've got my ...
    Posted to Game Algorithms (Forum) by Rinse on 8/10/2009
  • Re: Change enum state in a pointer parameter

    Hmm, you don't say what the nature of the problem is, but at first glance my guess is just a misformed function. public Vector2 moveCursor(ref statoProgramma correnteStatoProgramma)     {         keyboardState= Keyboard.GetState();   ...
    Posted to General (Forum) by Rinse on 12/4/2008
Page 1 of 2 (17 items) 1 2 Next >
var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/
DCSIMG