[visionegg] Re: black screen

OK, thanks.  I figured that the word 'parameters' was superfluous, so
screen.bgcolor should suffice.  Sorry I did not look at all demos in
the 5 mins I took to look into this problem.


On Fri, 18 Mar 2005 13:21:00 -0500, Mark Halko <mhalko@xxxxxx> wrote:
> 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
>
======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

Other related posts: