Re: Technique for videoframe display

Tech-Archive recommends: Fix windows errors by optimizing your registry



This is much too slow. You have to load your image to a texture
surface, and then apply this texture to a primitive (a couple of
triangles that make your rectangular screen). This is much faster that
copying into the backbuffer.

.



Relevant Pages

  • Re: Fast mip-map generation
    ... Mip-Map Generation of this memory ... The next step is linear averaging, where you simply take 0.25*sum(four_source_pixels), possibly after ungamma-conversion of each of the source pixels. ... If you do go this route, then you should probably first convert the source texture to linear format, then generate all the reduced size texture before converting back to whatever format you want your texture to be in. ... load four source pixels into xmm0..xmm3. ...
    (comp.lang.asm.x86)
  • Re: Two simple meshes - memory gone
    ... I load two meshes, tiger.x and bigship1.x (both ... calling a method from an invalid ID3DXBuffer pointer if the model fails to ... name, but there can be materials that don't have a texture mapped to them, ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: Compressed textures
    ... then load the texture into a plain surface in system memory and use ... When a movie is small enough, I readit into system memory as a binary stream defining the texels of different frames. ... Whenever I need a new video frame in the texture, I lock the texture, write the bytes and unlock it. ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: Texture size&count
    ... I load onto OpenGL? ... There's no limit except the amount of RAM and pagefile. ... OpenGL texture test (create, check for errors, force a texture load, check ...
    (comp.graphics.api.opengl)
  • Re: How to manualy copy managed texture from systemem to real vide
    ... > Yes, we set D3DCREATE_MULTITHREADED flag. ... > Flying objects in my 3D scene jerk even if I load only one new texture. ... > VRAM) fully STOPS 3D accelerator WHILE it loads a new texture to VRAM. ...
    (microsoft.public.win32.programmer.directx.graphics)