[visionegg] Re: black screen
- From: Mark Halko <mhalko@xxxxxx>
- To: visionegg@xxxxxxxxxxxxx
- Date: Fri, 18 Mar 2005 13:21:00 -0500
A common question:
set the parameter like so:
screen.parameters.bgcolor = (0.0, 0.0, 0.0, 0.0)
This is in the following demos:
az_el_grid.py
convert3d_to_2d.py
displayText.py
dots.py
dots_simple_loop.py
lib3ds-demo.py
makeMovie.py
makeMovie2.py
mouseTarget.py
mouseTarget_user_loop.py
multi_stim.py
put_pixels.py
quicktime.py
target.py
The code :
screen = get_default_screen()
generates a default Screen object
http://www.visionegg.org/reference/VisionEgg.Core.Screen-class.html
You can manipulate parameters of objects by referencing them with dot
notation
MyObject.parameters.MyParameter
print MyObject.parameters.MyParameter
will print the value of the parameter
MyObject.parameters.MyParameter = NewValue
sets the parameter to a new value
On Mar 18, 2005, at 12:42 PM, Darren Weber wrote:
Hi,
the construct
screen = get_default_screen()
creates a gray screen. The reference documentation for the screen
class indicates that it has a bgcolor parameter. I've tried a number
of ways to set it, without success. How do we set this parameter? I
want, bgcolor = (0.0, 0.0, 0.0), rather than the default gray.
Best, Darren
======================================
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: black screen
- From: Darren Weber
- References:
- [visionegg] black screen
- From: Darren Weber
Other related posts:
- » [visionegg] black screen
- » [visionegg] Re: black screen
- » [visionegg] Re: black screen
- » [visionegg] Re: black screen
- » [visionegg] Re: black screen
- » [visionegg] Re: black screen
Hi,
the construct
screen = get_default_screen()
creates a gray screen. The reference documentation for the screen class indicates that it has a bgcolor parameter. I've tried a number of ways to set it, without success. How do we set this parameter? I want, bgcolor = (0.0, 0.0, 0.0), rather than the default gray.
Best, Darren ====================================== 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
- [visionegg] Re: black screen
- From: Darren Weber
- [visionegg] black screen
- From: Darren Weber