Offscreen rendering with antialiasing

oleg_babyak_at_yahoo.com
Date: 08/31/04


Date: 31 Aug 2004 04:41:11 -0700

Problem: I need offscreen rendering with antialiasing.

My steps:

I create a window that is not shown.

...
Rendering
...

After rendering I'm using following

pDevice->CreateOffscreenPlainSurface( width, height,
D3DFMT_A8R8G8B8, D3DPOOL_SYSTEMMEM, &pOffScreenSurface, NULL );
pDevice->GetRenderTarget( 0, &pRenderTargetSurface );
pDevice->GetRenderTargetData( pRenderTargetSurface,
pOffScreenSurface );

to copy data from render target into off screen surface( without
antialiasing ).

To turn antialiasing on I'm using multisampling
But in this case GetRenderTargetData failed (render target surface is
unlockable too)
In DirectX SDK Doc is mentioned that GetFrontBufferData method is the
only
way to capture an antialiased screen shot.

How can I solve my problem ?
( without using GetFrontBufferData, because I don't need a window on
the
screen )



Relevant Pages

  • Re: SDL roguelike example in C (or C++)
    ... Not much difference between blitting a bitmap and blitting text. ... > Does ttf support bitmap fonts? ... no bitmapped fonts - although the fastest rendering functions don't ... do antialiasing, which is the #1 gripe most people have with TTF or PS ...
    (rec.games.roguelike.development)
  • Re: [FreeType2] Disabling the antialiasing
    ... > Documentation for FreeType2 does not explain the procedure to disable TrueType ... > template places avatar images over some dark areas of the page. ... That's quite probably a web design issue, not an antialiasing issue. ... Are you rendering text to images? ...
    (freebsd-questions)
  • Re: Detecting MultiSampling override
    ... antialiasing without changing the applications which does the rendering. ... graphics drivers does the antialiasing without asking the program. ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Cello Speed Week Results
    ... Cello Speed Week!!!!!!! ... by bifurcating the rendering of the shape such that the varying rotation ... Note that this is a phat 900x900 window, ... OpenGL clipping. ...
    (comp.lang.lisp)
  • Re: R14sp3 and Mac OS X 10.4.2
    ... anything into the command window, ... >>> c) Graphics is really really slow. ... >> Graphics rendering times seem okay to me. ... >> Colorbars seem to export fine to PDF or EPS files, ...
    (comp.soft-sys.matlab)