[visionegg] Re: moving aperture
- From: Andrew Straw <astraw@xxxxxxxxxxx>
- To: visionegg@xxxxxxxxxxxxx
- Date: Wed, 20 Sep 2006 11:25:15 -0700
Hi Jim,
I suggest making your aperture using a .png with an alpha channel. Then
see the alpha_texture.py demo to show how to display this. Finally, if
you want to move the aperture, you'll have to adjust the position
parameter of your aperture-containing texture. Something like
mouseTarget.py should get you on the right track.
Cheers!
Andrew
Jim Magnuson wrote:
> I'm brand new to vision egg, and getting stymied about how to do the
> following task.
>
> What I want to do is display an image or text in a viewport, but then
> hide all but a small aperture (e.g., an oval with gaussian edges),
> and then move the aperture around.
>
> If anyone has advice or example code to share, I'd be grateful.
>
> Thanks,
>
> jim
>
> ======================================
> The Vision Egg mailing list
> Archives: http://www.freelists.org/archives/visionegg
> Website: http://www.visionegg.org/mailinglist.html
======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html
- Follow-Ups:
- [visionegg] Re: moving aperture
- From: adam naples
- References:
- [visionegg] moving aperture
- From: Jim Magnuson
Other related posts:
- » [visionegg] moving aperture
- » [visionegg] Re: moving aperture
- » [visionegg] Re: moving aperture
- » [visionegg] Re: moving aperture
- [visionegg] Re: moving aperture
- From: adam naples
- [visionegg] moving aperture
- From: Jim Magnuson