Mario Veraart (rioj7++at++fel.tno.nl)
Tue, 1 Dec 1998 12:51:39 +0100 (MET)
You can get the effect you want by drawing the rectangle in the post
draw function. You draw a HeadUpDisplay with only this rectangle.
If you setup a different view transformation, ortho and ranging from
-1 to 1 for x and y, it is much easier to draw the rectangle.
>
> 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.
clear() draws the ESky when it is attached to the channel, otherwise
it just clears with a background color of black.
For the alpha question: try a visual without an alpha plane.
>
> 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
Mario
This archive was generated by hypermail 2.0b2 on Tue Dec 01 1998 - 03:55:56 PST