Re: copying from second rendertarget to the backbuffer

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: nirva (nirva_at_discussions.microsoft.com)
Date: 07/09/04

  • Next message: Jakob NIelsen: "Re: stop texture from interpolating"
    Date: Thu, 8 Jul 2004 21:16:01 -0700
    
    

    dont i have to re-render the background also then? the background takes too long to render in pieces :-( isnt there a way to cache is completely rendered and then blit it onto the bg before i use your advice of using a texture to draw the fg?

    the bg will have no alpha because it is the bg! only the fg needs alpha

    "Rich [Microsoft Direct3D MVP]" wrote:

    > [Please do not mail me a copy of your followup]
    >
    > "=?Utf-8?B?bmlydmE=?=" <nirva@discussions.microsoft.com> spake the secret code
    > <A8AF312F-400C-4EC3-BCCF-FE1CDE1FEEA4@microsoft.com> thusly:
    >
    > >i want to take the foreground and have it fade in, or slide out from the edge.
    > >
    > >what is the best way to do this?
    >
    > Use a texture for the foreground image, particularly if you want
    > blending since StretchRect/UpdateSurface doesn't do blending.
    > --
    > "The Direct3D Graphics Pipeline"-- code samples, sample chapter, FAQ:
    > <http://www.xmission.com/~legalize/book/>
    > Pilgrimage: Utah's annual demoparty
    > <http://pilgrimage.scene.org>
    >


  • Next message: Jakob NIelsen: "Re: stop texture from interpolating"

    Relevant Pages

    • Re: how can I get alphablending without textures
      ... When you setup the right render and texture states for using the diffuse ... It looks like you are somehow try to do the blending yourself. ... how can I get alphablending without textures ... Alpha blending happens in the frame buffer. ...
      (microsoft.public.win32.programmer.directx.graphics)
    • Re: Transparent rendering
      ... I am trying to render a triangle surface mesh with transparency (no ... (blending, depth mask, blend function, and z-sorting) ... // using gluProject with camera parameters ... You don't need alpha testing for blending. ...
      (comp.graphics.api.opengl)
    • Re: alpha blending on floating point rendertarget
      ... Did anyone manage to get alpha blending working on these FP textures? ... Depending on the geometry to render, ... Start having the data to be the DST of a blening operation in a texture ... methods to split scenes with higher depth complexity. ...
      (microsoft.public.win32.programmer.directx.graphics)
    • Re: Using D3D to render controls with the VMR9
      ... I'm trying to use the IVMRMixerBitmap9 interface with a D3D surface to do the blending. ... This works with a static bitmap that i load into a surface created in SystemMemory. ... The problem is i want to be able to render a scene into the surface that i am blending with the video and can't figure out the correct way of doing it... ...
      (microsoft.public.win32.programmer.directx.video)
    • Re: blending equation (for additive blending)
      ... When picture overlap, the blending is ... as if the bottom picture is not there (although it has been ... For the record (Additive blending for external keyer): ... <Render here> ...
      (comp.graphics.api.opengl)