Re: Help: Render Static Complex Background Object

New Message Reply Date view Thread view Subject view Author view

MLM Veraart (Veraart++at++fel.tno.nl)
Tue, 20 Apr 1999 15:39:50 +0200


IG wrote:
> Hi
> I am using Performer 2.1 on a ONYX.I hav two questions:
>
> 1.My project include render Static Complex Background Objects, because the Camera never moved, I wish only rend
> the backround once and every time just renew the moving simple Objects. Can anybody give me some suggestion?

Render the complex background. Read back the frame buffer, in the
draw callback. For every frame you want to draw with simple objects
perform a glWritePixels() or use the frame buffer contents as a texture
and draw a simple quad that fills the whole viewport.
This can be done with two pfScenes, one complex and one with a quad
and the simple objects. Switch pfScene-s for the pfChannel.

>
> 2. When rendering the Static Scene, I wish to use Anti-Alias to render the lines better, but I don't know how (my
> workstation don't have multi sampling hardware).

You can render the background at twice the resolution, with 4 of axis
frustums. And then downscaling these images and concatenating them to
get an anti-aliased version.

Mario

>
> sincerely
>
> Hui


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Apr 20 1999 - 06:39:00 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.