XNA Creators Club Online
foros de la comunidad

Search Forums

Page 1 of 2 (19 items) 1 2 Next >
  • Re: When set the RenderTarget to a offscreen, the current BackBuffer's graph will be lost?

    step 2: Set the current RenderTarget to a RenderTarget RT1. step 3: Draw many things to RT1 with a pixel shader add: switch to second RenderTarget RT2 (think of this as locking RT1 how it is for a texture grab and going back to drawing on it wipes that out) step 4: Get the texture T1 of the RenderTarget (RT1) step 5: Draw T1 to RT2 ...
    Posted to General (Forum) by Shivoa on 28/06/2009
  • Re: vsync and triple buffering

    Through several friends with a real passion for vsync (surprisingly not all old PC gamers, who are by now very used to forcing vsync in drivers if they decide to avoid tearing), I know there are quite a few 360 titles that drop vsync.  The first couple of years of Ubisoft output were plagued with it (making some titles unplayable to people ...
    Posted to XNA Framework (Forum) by Shivoa on 28/06/2009
  • Re: Rotating Rectangle (once more)

    If you're using a SpriteBatch Draw() then there is an overload (or few) which takes float rotation.  It also needs you to set the Vector2 origin, which I think defaults to Vector2.Zero = top left of image for the calls that don't explicitly pass it.  Passing this as half texture width/height* will get a texture to rotate about ...
    Posted to Game Algorithms (Forum) by Shivoa on 26/06/2009
  • Re: Texture2D.GetData() on the 360

    Yep, that's my current implementation, using a bit of extra memory to duplicate the same data but in array format rather than a texture.  I just find it a bit weird that I can grab Color data from a texture 10k times per frame on a lower end PC (ATi 2400 graphics card) without issue but the 360 hits a brick wall before getting or even a ...
    Posted to XNA Framework (Forum) by Shivoa on 26/06/2009
  • Texture2D.GetData() on the 360

    Hi, I expect this gets asked now and then but a quick search didn't bring up any recent answers that spelt it out. Does the 360 support this method (specifically using the rect version for grabbing a pixel of texture data)?  Ok, it runs and grabs the data accurately but it would seem that it can't do it in a timely manner.  ...
    Posted to XNA Framework (Forum) by Shivoa on 26/06/2009
  • Re: staying motivated

    I was thinking about this recently, mainly as a mild form of procrastination, and realised that I've spend a significant percentage of my time in the last few weeks rewriting and 'improving' my old code rather than writing new stuff.  Of course you need some housekeeping as your code base expands and there are times where you have ...
    Posted to General (Forum) by Shivoa on 24/06/2009
  • Re: Strange Visual C# 2008 EE behaviour

    Update(for anyone with similar issues/finding this with a forum search): I think I've tracked down what is going on thanks to actually reading the error reports being generated.  My solution is split into two projects, 360 and x86 (as I imagine a lot of XNA solutions are).  While they may share the same files they are not ...
    Posted to General (Forum) by Shivoa on 23/06/2009
  • Re: OpenMP style threading

    The best guide to rolling your own I've read through was at Ziggyware but I haven't seen any completed projects you can drop into XNA.  That guide does provide source (and even if you don't think it worth reading thoroughly it does end with some good links to the presentations it was based on) so I suppose you could take that as a ...
    Posted to General (Forum) by Shivoa on 22/06/2009
  • Re: Advice for a Game Dev

    I think it's wrong to say you couldn't make an RTS (in any style) with HL or the Source engine.  Give me source code access (ie a full license) for the source engine and I could definitely make an AoE style RTS in 2D or 3D, but it would take a very long time.  There isn't a lot of the Source engine that would be helpful to ...
    Posted to General (Forum) by Shivoa on 22/06/2009
  • Strange Visual C# 2008 EE behaviour

    Hi, I'm getting some slightly weird behaviour from VS on my current game project.  Not the end of the world but I thought I'd check to make sure it isn't a well known issue with a fix procedure. I have a public static class in my namespace for storing global variables I need (possibly not the best OO practice but I'm ...
    Posted to General (Forum) by Shivoa on 22/06/2009
Page 1 of 2 (19 items) 1 2 Next >