Re: Desktop visual effect

2013-01-18 Thread Klaus on-rev
Hi Pete,

Am 18.01.2013 um 20:08 schrieb Peter Haworth p...@lcsql.com:

 I'm probably missing something obvious but I can't get the visual effect
 command to do anything.
 
 I issue the visual effect command right before opening a stack, hoping that
 the stack would appear according to the chosen effect, but no matter which
 effect I choose, the stack appears without the visual effect

Yep, visual effects do not work with stacks!

To fake a dissolve effect, use a repeat loop to set the blendlevel 
instead.
Not tested, but the idea sounds doable :-)

 Pete
 lcSQL Software http://www.lcsql.com

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Desktop visual effect

2013-01-18 Thread Peter Haworth
OK, thanks Klaus.  Will it work if I go to a card in the stack instead of
the stack?
Pete
lcSQL Software http://www.lcsql.com


On Fri, Jan 18, 2013 at 11:13 AM, Klaus on-rev kl...@major.on-rev.comwrote:

 Hi Pete,

 Am 18.01.2013 um 20:08 schrieb Peter Haworth p...@lcsql.com:

  I'm probably missing something obvious but I can't get the visual effect
  command to do anything.
 
  I issue the visual effect command right before opening a stack, hoping
 that
  the stack would appear according to the chosen effect, but no matter
 which
  effect I choose, the stack appears without the visual effect

 Yep, visual effects do not work with stacks!

 To fake a dissolve effect, use a repeat loop to set the blendlevel
 instead.
 Not tested, but the idea sounds doable :-)

  Pete
  lcSQL Software http://www.lcsql.com

 Best

 Klaus

 --
 Klaus Major
 http://www.major-k.de
 kl...@major.on-rev.com


 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Desktop visual effect

2013-01-18 Thread Scott Rossi
Stacks don't appear on the desktop with visual effects -- these are used
when navigating between cards, or stacks within an already open stack.

One simulated effect I've done is to create a loop that progressively sets
the blendLevel of a stack, which results in fading the stack in (or out
of) the desktop.

On the Mac side, there is (was?) a Core image effects sampler that allows
you to use system level transitions between images.  I could swear I
remember seeing Kevin Miller demonstrate the use of Core effects applied
to the reveal of a stack at a RunRev conference.  But when asking about it
much later, nobody could recall if (or how) it was done, so maybe it was
just a dream (even if this worked it would be Mac only).

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design




On 1/18/13 11:08 AM, Peter Haworth p...@lcsql.com wrote:

I'm probably missing something obvious but I can't get the visual effect
command to do anything.

I issue the visual effect command right before opening a stack, hoping
that
the stack would appear according to the chosen effect, but no matter which
effect I choose, the stack appears without the visual effect

Pete
lcSQL Software http://www.lcsql.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Desktop visual effect

2013-01-18 Thread Peter Haworth
Thanks Scott.  I guess I'll have a go at the blendlevel fade trick.
Pete
lcSQL Software http://www.lcsql.com


On Fri, Jan 18, 2013 at 11:18 AM, Scott Rossi sc...@tactilemedia.comwrote:

 Stacks don't appear on the desktop with visual effects -- these are used
 when navigating between cards, or stacks within an already open stack.

 One simulated effect I've done is to create a loop that progressively sets
 the blendLevel of a stack, which results in fading the stack in (or out
 of) the desktop.

 On the Mac side, there is (was?) a Core image effects sampler that allows
 you to use system level transitions between images.  I could swear I
 remember seeing Kevin Miller demonstrate the use of Core effects applied
 to the reveal of a stack at a RunRev conference.  But when asking about it
 much later, nobody could recall if (or how) it was done, so maybe it was
 just a dream (even if this worked it would be Mac only).

 Regards,

 Scott Rossi
 Creative Director
 Tactile Media, UX Design




 On 1/18/13 11:08 AM, Peter Haworth p...@lcsql.com wrote:

 I'm probably missing something obvious but I can't get the visual effect
 command to do anything.
 
 I issue the visual effect command right before opening a stack, hoping
 that
 the stack would appear according to the chosen effect, but no matter which
 effect I choose, the stack appears without the visual effect
 
 Pete
 lcSQL Software http://www.lcsql.com
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 



 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Desktop visual effect

2013-01-18 Thread Alejandro Tejada
Hi Pete,


Peter Haworth wrote
 Thanks Scott.  I guess I'll have a go at the blendlevel fade trick.

Please, check this source code in a stack and the executable Demo
posted by Chipp Walter in this mail list. Visit his webpage and look
for the following text:

http://www2.altuit.com/webs/altuit2/RunRev/Downloads.htm

Splash Screen Stack
This stack creates a very interesting splash screen effect -- sorta like 
Kai Krause's MetaCreations programs used to do. It's actually quite simple, 
but the effect is astounding. All the code is in the stack script. Notice 
the translucent butterfly wings. Feel free to use as you like. 
The executable is Windows only, but the effect should work on Macs as 
well (use the .rev stack)

Download Windows Executable (.zip)

Splash Screen Source Code
One of the interesting things about this Splash Screen window is the way 
it fades on. You can download the source code by clicking the link button
below.

Have a nice weekend!

Al




--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Desktop-visual-effect-tp4659122p4659135.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Desktop visual effect

2013-01-18 Thread Peter Haworth
Thanks Alejandro, I'll take a look.
Pete
lcSQL Software http://www.lcsql.com


On Fri, Jan 18, 2013 at 12:27 PM, Alejandro Tejada
capellan2...@gmail.comwrote:

 Hi Pete,


 Peter Haworth wrote
  Thanks Scott.  I guess I'll have a go at the blendlevel fade trick.

 Please, check this source code in a stack and the executable Demo
 posted by Chipp Walter in this mail list. Visit his webpage and look
 for the following text:

 http://www2.altuit.com/webs/altuit2/RunRev/Downloads.htm

 Splash Screen Stack
 This stack creates a very interesting splash screen effect -- sorta like
 Kai Krause's MetaCreations programs used to do. It's actually quite simple,
 but the effect is astounding. All the code is in the stack script. Notice
 the translucent butterfly wings. Feel free to use as you like.
 The executable is Windows only, but the effect should work on Macs as
 well (use the .rev stack)

 Download Windows Executable (.zip)

 Splash Screen Source Code
 One of the interesting things about this Splash Screen window is the way
 it fades on. You can download the source code by clicking the link button
 below.

 Have a nice weekend!

 Al




 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/Desktop-visual-effect-tp4659122p4659135.html
 Sent from the Revolution - User mailing list archive at Nabble.com.

 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Desktop visual effect

2013-01-18 Thread Scott Rossi
Alejandro:  One issue with the stack you referenced is the technique
relies on a screen capture of the desktop, which is no longer necessary
since LiveCode can create actual translucent windows.  Any PNG image that
contains transparency will work, simply by setting the windowShape of the
stack to the id of the source image.

Chipp's stack was great for the time it was developed, but I'm sure he
would agree there are easier ways to create the same effect these days :-)

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design




On 1/18/13 12:27 PM, Alejandro Tejada capellan2...@gmail.com wrote:

Hi Pete,


Peter Haworth wrote
 Thanks Scott.  I guess I'll have a go at the blendlevel fade trick.

Please, check this source code in a stack and the executable Demo
posted by Chipp Walter in this mail list. Visit his webpage and look
for the following text:

http://www2.altuit.com/webs/altuit2/RunRev/Downloads.htm

Splash Screen Stack
This stack creates a very interesting splash screen effect -- sorta like
Kai Krause's MetaCreations programs used to do. It's actually quite
simple, 
but the effect is astounding. All the code is in the stack script. Notice
the translucent butterfly wings. Feel free to use as you like.
The executable is Windows only, but the effect should work on Macs as
well (use the .rev stack)

Download Windows Executable (.zip)

Splash Screen Source Code
One of the interesting things about this Splash Screen window is the way
it fades on. You can download the source code by clicking the link button
below.

Have a nice weekend!

Al




--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Desktop-visual-effect-tp465
9122p4659135.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Desktop visual effect

2013-01-18 Thread Robert Sneidar
You have strange dreams. In mine, scantily clad beautiful women seem to 
magically show up. But hey, to each his own! ;-)

Bob


On Jan 18, 2013, at 11:18 AM, Scott Rossi wrote:

 But when asking about it
 much later, nobody could recall if (or how) it was done, so maybe it was
 just a dream (even if this worked it would be Mac only).
 
 Regards,
 
 Scott Rossi
 Creative Director
 Tactile Media, UX Design


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Desktop visual effect

2013-01-18 Thread Peter Haworth
Folks,
Thanks for all the suggestions.  I have found that I can get the effect I
want by using a hidden group and show/hide it when appropriate with the
visual effects.  Didn't have to use a stack at all.
Pete
lcSQL Software http://www.lcsql.com


On Fri, Jan 18, 2013 at 12:58 PM, Scott Rossi sc...@tactilemedia.comwrote:

 Alejandro:  One issue with the stack you referenced is the technique
 relies on a screen capture of the desktop, which is no longer necessary
 since LiveCode can create actual translucent windows.  Any PNG image that
 contains transparency will work, simply by setting the windowShape of the
 stack to the id of the source image.

 Chipp's stack was great for the time it was developed, but I'm sure he
 would agree there are easier ways to create the same effect these days :-)

 Regards,

 Scott Rossi
 Creative Director
 Tactile Media, UX Design




 On 1/18/13 12:27 PM, Alejandro Tejada capellan2...@gmail.com wrote:

 Hi Pete,
 
 
 Peter Haworth wrote
  Thanks Scott.  I guess I'll have a go at the blendlevel fade trick.
 
 Please, check this source code in a stack and the executable Demo
 posted by Chipp Walter in this mail list. Visit his webpage and look
 for the following text:
 
 http://www2.altuit.com/webs/altuit2/RunRev/Downloads.htm
 
 Splash Screen Stack
 This stack creates a very interesting splash screen effect -- sorta like
 Kai Krause's MetaCreations programs used to do. It's actually quite
 simple,
 but the effect is astounding. All the code is in the stack script. Notice
 the translucent butterfly wings. Feel free to use as you like.
 The executable is Windows only, but the effect should work on Macs as
 well (use the .rev stack)
 
 Download Windows Executable (.zip)
 
 Splash Screen Source Code
 One of the interesting things about this Splash Screen window is the way
 it fades on. You can download the source code by clicking the link button
 below.
 
 Have a nice weekend!
 
 Al
 
 
 
 
 --
 View this message in context:
 
 http://runtime-revolution.278305.n4.nabble.com/Desktop-visual-effect-tp465
 9122p4659135.html
 Sent from the Revolution - User mailing list archive at Nabble.com.
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 



 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Desktop visual effect

2013-01-18 Thread Peter M. Brigham
On Jan 18, 2013, at 2:18 PM, Scott Rossi wrote:

 One simulated effect I've done is to create a loop that progressively sets
 the blendLevel of a stack, which results in fading the stack in (or out
 of) the desktop.

Here's from the script of the first card of a splash stack that I use:

on openstack
   fadeIn
end openstack

on closeStack
   fadeOut
end closeStack

on fadeIn
  repeat with n = 100 down to 0
set the blendlevel of this stack to n
wait 7 millisecs
  end repeat
  pass openstack
end fadeIn

on fadeOut
   unlock screen
   repeat with n = 0 to 100
  set the blendlevel of this stack to n
  wait 7 millisecs
   end repeat
   set the blendlevel of this stack to 100
end fadeOut

Adjust the wait period ad lib.

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode