Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6536237
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:28:06+00:00 2026-05-25T10:28:06+00:00

I have been following the MSDN documentation on how to render a model with

  • 0

I have been following the MSDN documentation on how to render a model with a basic effect.

Which is neat. I can change the rendering to display in wireframe by adding the following line to the example code, before the DrawModel method’s double loop:

GraphicsDevice.RasterizerState = WIREFRAME_RASTERIZER_STATE;

Where I’ve initialized WIREFRAME_RASTERIZER_STATE in the constructor as

RasterizerState WIREFRAME_RASTERIZER_STATE = new RasterizerState() { CullMode = CullMode.None, FillMode = FillMode.WireFrame };

Is there an equally easy addition/modification I can make to display just the vertices in the imported model? From my understanding, Wireframe mode tells XNA to render lines instead of triangles, but unfortunately the RasterizerState method that I used above doesn’t have a fill mode that displays just the vertices (it’s SOLID or WIREFRAME).

Given that most of the draw functionality is hidden in the MSDN example, I was hoping someone could direct me as to how to simply render the points without connecting them.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T10:28:07+00:00Added an answer on May 25, 2026 at 10:28 am

    FillMode.Point was removed in XNA 4.0. This blog post describes why, and provides work-arounds.

    In your situation you will probably find that you have to process the model data to generate actual triangles to render in place of points.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been using the following CSS to apply an effect at the bottom
I have been following the example on the bottom of this page: http://msdn.microsoft.com/en-us/library/microsoft.windows.controls.ribbon.ribbonapplicationmenu.auxiliarypanecontent.aspx to
I have been reading about try/finally on MSDN and found out following code. They
I have been working with the following code published on msdn: http://msdn.microsoft.com/en-us/library/fx6588te.aspx I understand
I have been following some MVC tutorials that connect to a sql mdf database
I have been following the usage of JavaScript for the past few years, and
I have been following the following post on using multiple ItemTemplates in a ListView
Hi I am quite new to php but i have been following some tutorials
Recently I have started playing with jQuery, and have been following a couple of
I'm new to NHibernate... I have been following this NHibernate Tutorial from Gabriel Schenker

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.