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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T16:47:50+00:00 2026-06-11T16:47:50+00:00

I am currently writing and application to test human vision. As the program currently

  • 0

I am currently writing and application to test human vision. As the program currently stands I am I using VB.Net and DirectX 9 to present a stimulus on the screen on demand. By on demand I simply mean that the renderscene method that contains the code to draw the stimulus and has the device.present call does not exist in a separate thread that constantly draws a frame whenever it can. I just call the renderscene method whenever I need to change the stimulus which is no more then about once a sec and usually even less. Is this considered bad form? I am having some trouble figuring out how to handle DeviceLostExceptions (for example after an alt-Tab or ctrl-alt-delete) because most of the example code I have found assumes program is continually rendering the scene. NOTE: I know DX for managed code is depreciated and I plan on rewriting the display code with slimdx when I get the chance.

  • 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-11T16:47:52+00:00Added an answer on June 11, 2026 at 4:47 pm

    There is nothing wrong with this approach per se.

    It is simply unusual because DirectX is usually used for games, and in games, you generally need to redraw the scene constantly, as fast as possible, no matter what. (things are typically always moving on the screen, and the game has to be as responsive as possible).

    But if you don’t need this responsiveness, and if your scene is mostly static, then there’s nothing wrong with rendering only when the contents to be rendered change.

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

Sidebar

Related Questions

I'm currently writing an application using Vala that requires me to send data over
I'm currently writing a billing application using EF 5 Code First, and I'm running
I am writing a basic application to test the behavior of the accelerometer. Currently
I'm writing specflow tests using Watin, for an Asp.Net MVC application which uses T4MVC.
I'm currently writing an application in ASP.NET/C#, where the user needs to be able
I'm currently writing a unit test project using the version 4.6.1 (Windows Vista +
I am using XStudio- a test management application and it currently contains my testcase
I'm currently writing an application that displays a lot , and I mean, a
I am currently writing an application where the user has, at some point, to
I am currently writing an application which requires me to call GetWindowText on arbitrary

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.