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

  • SEARCH
  • Home
  • 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 6561713
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:37:18+00:00 2026-05-25T13:37:18+00:00

I have an application that, to this point, is mostly DirectX 10 3D graphics.

  • 0

I have an application that, to this point, is mostly DirectX 10 3D graphics. Now we are wanting to generate some real-time 2D images to display on a portion of the screen. The 2D graphics will be generated by using raw data coming in from an external piece of hardware – each value will be translated into a pixel color and position.

I have looked at Direct2D integration options, but I don’t see a straightforward way to draw to a surface pixel-by-pixel, but rather just common lines and shapes.

I believe it would also be possible to do this with just Direct3D (no use of Direct2D), and just have a simple vertex for each pixel and draw it in orthogonal view.

Does using Direct2D improve efficiency at all when generating real-time 2D graphics? I am not wanting to use the shape tools so that is not really a selling point for me. Are there any other common practices for generating 2D graphics within a Direct3D application that would work better?

Any pointers would be greatly appreciated. Thank you.

  • 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-25T13:37:18+00:00Added an answer on May 25, 2026 at 1:37 pm

    The normal approach for drawing 2D graphics (UI etc.) in a D3D application is to store any bitmap image data you need in textures and draw textured 2D quads to display it. This gives you hardware acceleration of scaling, rotation, filtering, etc. for free.

    If you want pixel accurate reproduction of your source images you’ll need to ensure you take the screen resolution into account and draw your quads with the correct vertex positions. This is easier in Direct3D 10 than it was in Direct3D 9.

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

Sidebar

Related Questions

I have this application that need to do some things in protected paths (like
I have an AJAX Application that I have been working on. At this point
Complete C# newbie here, so cut me some slack. I have this application that
I have this application that will recurse all folders in a given directory and
Hi I have an application that operations like this.. Client <----> Server <----> Monitor
I have a Rack application that looks like this: class Foo def initialize(app) @app
I have an application that has a UITableView. This UITableView is populated by an
I have an application that used Macro. In this macro I would like to
I have an application that writes information to file. This information is used post-execution
I have an application that grabs a snapshot of another desktop. This process is

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.