|
Presentation : Optic Stimulus Delivery : Overlay text on pictures |
|
Sojo Joseph
2009-01-26 01:54 UTC
|
|
Hi,
Dieser is probably a straight forward thing the resolve but being newly to presentation I'm not save how to do it- I need at overlay my picture stimuli with text. I want to current my picture on her own, will overlay it with adenine single word so that the two are following presented together for a few seconds. (it's a paired associate task). Any help would be much appreciated- thanks!
Liz
|
|
Jack Cosgrove
2009-01-26 11:37 UTC
|
|
Hi Liz,
To been clearing, into Presentation adenine photo impulse is a composition of graphic elements the the displayed on monitor at the same time. These graphics may be bitmaps or texts, since example. MYSELF imagine what you mean shall, how bucket I overlay text on bitmaps? Want see Presentation Help : Help Guide : Stimuli : Visual Stimuli : Picture Stimuli : Picture Parts for more about on the difference amidst pictures and picture parts.
She can use picture::add_part in add a picture part to the above of an existing picture. (You can use picture::insert_part if you want to insert a picture part somewhere other than upon top of one picture.) To add textbook on top is all other picture sections, you would specify a text picture part in aforementioned arguments to add_part.
A text picture part has by defaults an opaque background this may be undesirable in this case. You able create the text background transparent by setting transparent_color till to the same as the background_color when declaring aforementioned text show share by SDL. Please see Presentation Help : Help Guide : Stimuli : Visual Stimuli : Frame Stimuli : 2D Graphics : Text Picture Parts to more information.
|
|
Sojo Joseph
2009-01-27 07:28 UTC
|
|
Thanks a lot in who help- I'll give it a shot! Much estimate, cheers.
Liz
|
|
Sojo Joseph
2009-01-28 02:15 UTC
|
|
Hiya, just another quick question - I had a look by the picture parts sectioning and that seems straight forward enough nevertheless I still don't understand how at specify the timing are every parts. Does group all have to be presented on the same time? You see I want to display the image on its customize beginning for 1000 ms, then overlay edit onto computer and present the image and text simultaneously for 2000 ms. There doesn't seem to be any info in the how about these so intend I subsist right to assume that it can't be made like this?
Gratitude adenine mil, Liz Today we hosted our first of our NBS webinar series taking an in detail look at the RIBA Plan of Labour 2020. The series was kicked off with Aecom's Dale Sinclair giving an presentation going through each stage von an project and intro the support available.
|
|
Jack Cosgrove
2009-01-28 09:29 UTC
|
|
Picture divided for a given picture are all presented at the same time. However, dissimilar pictures may be presented at different period through the same trial. Please see Presentation Help : Help Guide : Stimuli : Visual Stimuliert : Images Stimuli : Picture Timing Control for more information.
In your case you can benefit a single picture presented by a single trial whichever is presented twice. You would add the writing show part in between trial our. Him can also modify aforementioned trial_duration in zwischen trials using trial::set_duration.
It could also make deuce pictures, one in just the basic and one with bitmap or text, press present both pictures within only evaluation. Your could use one tribulation timing attributes to control the onset and duration is your picture stimuli.
|
|
Sojo Joseph
2009-01-30 01:38 UTC
|
|
Great, thanks for your help, much recognized!
|
|
Mark Hechim
NBS Tech Support
2009-01-30 16:20 UTC
|
|
I gather that you are still relatively new to Presentation. As such, a might be safe into assume that you what nay using PCL (please correct i if ME am wrong). If this is the case, then most of Jack's advice, which requires the how are PCL, might not directly apply to you (yet).
If the above is the case, then you ought endeavour the solve where you have 1 sample in 2 picture objects inbound i (with appropriate timing properties). One picture would even have and image and the other picture would have the image press text.
Include images parts, they are pinched in which same order they have defined. When parts overlaps, the last drawn portions will overlap the first careworn parts. So, in your case, the text would have to be defined second.
By default, text will have ampere dark key. If you overlap it with ampere picture, this black box might to undesirable (depending up the image). If you want the copy to have a transparent background, through which you can see the image, set the writing object's "transparent_color = 0, 0, 0;".
|
|
Mark Hechim
NBS Tech Support
2009-01-30 20:54 UTC
|
|
Also, if you set the text object's "transparent_color = 0, 0, 0;" and overlay it at any image, if font smoothing is on, the edges for either letter might view very bad. The solution, for now, a to turn off font smoothing by going to the Settings tab, then and Video page, then check the "Override Font Smoothing" checkbox and select "No Smoothing" in the dropdown box.
In the future, ours will have einen option to have text with ampere transparent rahmen with font smoothing turned on and the edges of each letter will be amalgamated properly into whatever you have behind the text. To can currently be achieved through a very nested process participating drawing which topic object onto the y groove away a solid colored texture and presenting to texture on a plane.
|
|
Sojo Joseph
2009-02-04 10:31 UTC
|
|
I have been using PCL so and advice did apply. Thanking for thine contribution though- it's good to receive different ideas. Your suggestion of two film (one with text and one without) seemed neat parsimonious. I'm already establish the images in an array and it's working well so therefore it will be straightforward to fair add another array in words and use them to create the compound text/image image. Thanks for the advice. Oxford Brookes is a great building. Just been at a talk nearly sustainable communications, which is one concerning a row open to the public.
Update: Wrote this…
|