XNA Creators Club Online
Page 1 of 1 (2 items)
Sort Posts: Previous Next

Bad XNAViewer framerate (resolved)

Last post 03-14-2008 5:08 PM by Alexandre Jean Claude. 1 replies.
  • 03-13-2008 9:15 PM

    Bad XNAViewer framerate (resolved)

    Referring to this tutorial: http://blogs.msdn.com/dawate/archive/2008/02/05/building-a-3d-game-in-xna-from-scratch-free-video-tutorial-series-now-available.aspx

    I'm following along with the Dan Waters Guitar Matey tutorials, but when I build the SOFTIMAGE_XNAViewer solution with my own model (190 polys), I get a constant 3 - 4 FPS in the XNAViewer. I've done everything exactly how Mr. Waters does in the tutorials, but can't figure out why I have such a horrible framerate.

    screenshot: http://i87.photobucket.com/albums/k134/hale550/problem-1.jpg

    I think I have more than one texture projection, which is why it's off, but I'll worry about that later.


    My hardware:
    3.0 GHz Pentium(R)D CPU
    1GB of ram
    ATI Radeon X700 pro (256 MB) video card

    EDIT: I went back and deleted the extra hardware projection and it fixed the problem. If anyone else is getting bad frame rates and messed up texture projections, this is probably your issue.


  • 03-14-2008 5:08 PM In reply to

    Re: Bad XNAViewer framerate

    You can also try turning off antialiasing (line 4), by default it's on in the XSI_XNAViewer sample code:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
            public Game1()
    {
    graphics = new GraphicsDeviceManager(this);
    graphics.PreferMultiSampling = false;

    // use this for 720P

    graphics.PreferredBackBufferWidth = 1280;
    graphics.PreferredBackBufferHeight = 720;

    /*
    // for NTSC, use a 4:3 ratio
    graphics.PreferredBackBufferWidth = 720;
    graphics.PreferredBackBufferHeight = 480;
    */

    content = new ContentManager(Services);
    }

     

    Alexandre Jean Claude Autodesk/Softimage
Page 1 of 1 (2 items) Previous Next