Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Hooking up Direct3D... but which one ?

Hooking up Direct3D... but which one ?

Scheduled Pinned Locked Moved C / C++ / MFC
questiongame-devhelptutorial
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    seq
    wrote on last edited by
    #1

    Hello, Im trying to write an applicatn which would draw upon a fullscreen game some text (a simple in-game text), and I came across the information I should hook up Direct3D functions and this is what I did using an example (hooking up CreateDirect9Device), but this function is executed only once at the beginning, and I am wondering which function should I hook so that I would be able to draw the text inside a already running game ? (And then how can I write the text ? with what commands ?) Its very important to me, and I would appreciate any help in that. Regards, Pawel

    A 1 Reply Last reply
    0
    • S seq

      Hello, Im trying to write an applicatn which would draw upon a fullscreen game some text (a simple in-game text), and I came across the information I should hook up Direct3D functions and this is what I did using an example (hooking up CreateDirect9Device), but this function is executed only once at the beginning, and I am wondering which function should I hook so that I would be able to draw the text inside a already running game ? (And then how can I write the text ? with what commands ?) Its very important to me, and I would appreciate any help in that. Regards, Pawel

      A Offline
      A Offline
      Andy Moore
      wrote on last edited by
      #2

      Well, you can use Direct3D to draw 2D or 3D text to the screen in a game. Once you have the Direct3D device pointer you can call methods on it. So, you just need to do some research on the Direct3D API to figure out which functions you need to accomplish your task.

      Deus caritas est

      S 1 Reply Last reply
      0
      • A Andy Moore

        Well, you can use Direct3D to draw 2D or 3D text to the screen in a game. Once you have the Direct3D device pointer you can call methods on it. So, you just need to do some research on the Direct3D API to figure out which functions you need to accomplish your task.

        Deus caritas est

        S Offline
        S Offline
        seq
        wrote on last edited by
        #3

        thx I found the answer. // IDirect3D::PResent and Flip

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups