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 8596197
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T00:37:08+00:00 2026-06-12T00:37:08+00:00

I am trying to render a wireframe 3D Model using SlimDX. After googling I

  • 0

I am trying to render a wireframe 3D Model using SlimDX.

After googling I only found advanced topics, not how to draw wireframe in SlimDX.
They say I have to use a shader to do it.

Since I am new to DirectX, I do not really understand HLSL.

How can I draw it? If it really requires to use a shader, can anyone give me an example or hints?

  • 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-06-12T00:37:09+00:00Added an answer on June 12, 2026 at 12:37 am

    Since you use Direct3D 11, you will need to use shaders to draw anything (fixed function got removed from directx10).

    For wireframe you indeed need to set rasterizer state, here is an example (i also removed culling in there:

    RasterizerStateDescription rsd = new RasterizerStateDescription()
    {
        CullMode = CullMode.None,
        DepthBias = 0,
        DepthBiasClamp = 0.0f,
        FillMode = FillMode.Wireframe,
        IsAntialiasedLineEnabled = false,
        IsDepthClipEnabled = false,
        IsFrontCounterclockwise = false,
        IsMultisampleEnabled = false,
        IsScissorEnabled = false,
        SlopeScaledDepthBias = 0.0f             
    };
    

    Then to apply this state,

    RasterizerState rs = RasterizerState.FromDescription(device, rsd);
    device.ImmediateContext.Rasterizer.State = rs;
    

    After I admit there’s not that many tutorials for SlimDX, for c++ there is

    http://www.rastertek.com/tutdx11.html

    You’ll at least be able to find some basic shader examples in there.

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

Sidebar

Related Questions

Trying to render a sphere using isgl3d. The problem is that only say 75%
I'm trying to render only a flash message without a redirect or render after
I am trying to render a very complex model using json file. The size
Im trying to render a non power of 2 texture using a model class
I am trying to render a model in Direct3D using DrawIndexedPrimitives . However, I
I've been trying to render a webpage using the Adobe Flex / Flash builder
I'm trying to render to a texture, then draw that texture to the screen
I am trying to render an activity feed kind of an UI using a
I'm trying to render a cube using an array of 8 vertices and an
I'm trying render data in my Jqgrid, but it is just not showing up.

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.