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. Graphics
  4. How to implement a teleprompter?

How to implement a teleprompter?

Scheduled Pinned Locked Moved Graphics
graphicsgame-devcsharpwinformstutorial
2 Posts 2 Posters 4 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.
  • B Offline
    B Offline
    beatles1692
    wrote on last edited by
    #1

    Hi I'm working on a teleprompter software (that flips a given text and lets the user to scroll it pixel by pixel) I tried GDI+ using C# .Each time the user wants to scroll the text an image of the current lines is made.Then the image is rotated and loaded into a pciture box. Unfortunately this procedure is very slow. I like to ask if there is anyway that I can do the same thing using DirectX or OpenGL (I've already searched the ineternet but I couldn't find any answer) Is there any other way that I can show the text upside down and let the user to scorll it? Thanks a lot

    E 1 Reply Last reply
    0
    • B beatles1692

      Hi I'm working on a teleprompter software (that flips a given text and lets the user to scroll it pixel by pixel) I tried GDI+ using C# .Each time the user wants to scroll the text an image of the current lines is made.Then the image is rotated and loaded into a pciture box. Unfortunately this procedure is very slow. I like to ask if there is anyway that I can do the same thing using DirectX or OpenGL (I've already searched the ineternet but I couldn't find any answer) Is there any other way that I can show the text upside down and let the user to scorll it? Thanks a lot

      E Offline
      E Offline
      El Corazon
      wrote on last edited by
      #2

      beatles1692 wrote:

      I like to ask if there is anyway that I can do the same thing using DirectX or OpenGL (I've already searched the ineternet but I couldn't find any answer)

      Actually, you probably did, but didn't realize its use. Using a render-to-texture method for the text, you can with either directX or OpenGL (I am only familiar with OpenGL), render your text to a texture "off screen" this is your graphical text, you can then position and scroll it and then reset the texture and position coordinates when the next line comes up. The net effect is the appearance of single pixel, continuous scrolling. Alternately, you can just render the text to a quad surface as texture fonts and then just scroll the quads off the screen while adding new ones below. (See lesson 17[^] the demo doesn't do what you want, but is capable of doing what you want when you learn the technique.

      _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

      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