Is there any way to automatically clone the contents of one window to another

Hi,

I have some code which displays some stimuli on a screen. The code
needs to run on both a single monitor and in a multiple monitor
environment where the monitors are configured for dual view - i.e.
PTB3 etc. seems them as separate screens - clone mode is not an option.

Is there any easy way of getting PTB3 to automatically clone output
from a target screen to the other screens in a multi-monitor set up.

If not can I put in a feature request for this.

Thanks a lot,

Regards,

Matthew.
Matthew,

The most "automatic" way I can think of,
and that is ready to use right now,
is to first draw your stimuli in an offscreen window,
and than copy its contents to whatever many screens you like.

Many of the available demos in the PsychDemos directory , such as e.g. alphaImageDemo,
will show you how to use offscreenwindows/textures.

Gr.
frans

--- In psychtoolbox@yahoogroups.com, "empedia" <dexterm@...> wrote:
>
> Hi,
>
> I have some code which displays some stimuli on a screen. The code
> needs to run on both a single monitor and in a multiple monitor
> environment where the monitors are configured for dual view - i.e.
> PTB3 etc. seems them as separate screens - clone mode is not an option.
>
> Is there any easy way of getting PTB3 to automatically clone output
> from a target screen to the other screens in a multi-monitor set up.
>
> If not can I put in a feature request for this.
>
> Thanks a lot,
>
> Regards,
>
> Matthew.
>
Why is clone mode not an option? That's usually the most
simple and most efficient approach to this.

Apart from that, Frans suggestion is the way to go.

I don't really see a need to support such a feature, given
that clone mode is a good solution.

-mario

--- In psychtoolbox@yahoogroups.com, "franswcornelissen" <f.w.cornelissen@...> wrote:
>
> Matthew,
>
> The most "automatic" way I can think of,
> and that is ready to use right now,
> is to first draw your stimuli in an offscreen window,
> and than copy its contents to whatever many screens you like.
>
> Many of the available demos in the PsychDemos directory , such as e.g.
alphaImageDemo,
> will show you how to use offscreenwindows/textures.
>
> Gr.
> frans
>
> --- In psychtoolbox@yahoogroups.com, "empedia" <dexterm@> wrote:
> >
> > Hi,
> >
> > I have some code which displays some stimuli on a screen. The code
> > needs to run on both a single monitor and in a multiple monitor
> > environment where the monitors are configured for dual view - i.e.
> > PTB3 etc. seems them as separate screens - clone mode is not an option.
> >
> > Is there any easy way of getting PTB3 to automatically clone output
> > from a target screen to the other screens in a multi-monitor set up.
> >
> > If not can I put in a feature request for this.
> >
> > Thanks a lot,
> >
> > Regards,
> >
> > Matthew.
> >
>