Re: copying from second rendertarget to the backbuffer
From: nirva (nirva_at_discussions.microsoft.com)
Date: 07/09/04
- Previous message: Ian Boyd: "Re: Best Practices for Timing?"
- In reply to: Rich [Microsoft Direct3D MVP]: "Re: copying from second rendertarget to the backbuffer"
- Next in thread: Rich [Microsoft Direct3D MVP]: "Re: copying from second rendertarget to the backbuffer"
- Reply: Rich [Microsoft Direct3D MVP]: "Re: copying from second rendertarget to the backbuffer"
- Messages sorted by: [ date ] [ thread ]
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>
>
- Previous message: Ian Boyd: "Re: Best Practices for Timing?"
- In reply to: Rich [Microsoft Direct3D MVP]: "Re: copying from second rendertarget to the backbuffer"
- Next in thread: Rich [Microsoft Direct3D MVP]: "Re: copying from second rendertarget to the backbuffer"
- Reply: Rich [Microsoft Direct3D MVP]: "Re: copying from second rendertarget to the backbuffer"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|