Camera effects

New Message Reply Date view Thread view Subject view Author view

Scott Herod (herod++at++evt.com)
Mon, 30 Nov 1998 16:11:07 -0700


Can someone suggests some methods to implement the
following effects?

  I draw performer objects on a canvas that has already
been drawn on with glDrawPixels. The performer objects
fly in front of the previously drawn image.

  One effect I want to achieve is to blend every thing,
including the background, away. I've tried doing it with
pfFog and pfEarthSky but I can't get the ESky to sit on
top of my previous image even by setting the ESky colors
to have 0.0f alpha value.

  I've tried putting a rectangular geoset in front of the
camera and setting it's color by hand to simulate fog but
if I also want to move the camera about I've got to move
the geoset so that it is always in front of the camera.
In addition I lose the depth effects of fog.

  The only thing that I can think of to do is adjust the
image being drawn as the background, but that is not an
option because of the design.

  Do I have to have channel->clear() call in a draw callback
to see the ESky? It certainly appears so. I'd really
like an ESky with no alpha.

  Second question. Any hints on creating a depth of field
or focal length effect? I'd like to be able to animate
adjusting the focal length of a camera.

Scott Herod
scott++at++evt.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Nov 30 1998 - 15:11:13 PST

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