Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/06/23 11:29
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
7 registered members (fairtrader, Quad, miwok, Martin_HH, AndrewAMD, alibaba, dpn), 581 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Puslating effect #90239
09/16/06 01:37
09/16/06 01:37
Joined: Apr 2005
Posts: 795
U.S.A. Michigan
exile Offline OP
User
exile  Offline OP
User

Joined: Apr 2005
Posts: 795
U.S.A. Michigan
I am trying to achieve an electric pulsating effect for a sword in my game. This is sort of hard to explain, but it needs to start off as a little ripple on the hilt of my blade and expand out from there. Think like a Jacobs Ladder. I have included pictures of the image that is being used and the effect I am trying to achieve. Any ideas?




And here is an actual video showing what I hope to achieve.

Video

Re: Puslating effect [Re: exile] #90240
09/18/06 07:15
09/18/06 07:15
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline
Senior Expert
ello  Offline
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
if you find your desired effect in here:
http://www.earthcontrol.de/downloads/demos/epilepsyI/epilepsy.zip
i can search the according shader on my harddrive


www.earthcontrol.de
quoted: We want to maintain a clean, decent, American family suited forum look... which means you may post zombies or chainsaw massacres, but no erotic.
Re: Puslating effect [Re: ello] #90241
09/19/06 01:13
09/19/06 01:13
Joined: Sep 2006
Posts: 99
BS, Germany
Storm_Mortis Offline
Junior Member
Storm_Mortis  Offline
Junior Member

Joined: Sep 2006
Posts: 99
BS, Germany
why do you want to use a shader for that?
why donīt use a simple u/v shift function like this:

while(1)
{
my.v += 3*time;
my.u = random(x); //x= your skin/sprite pixels
wait(1);
}
maybe you have to change u and v (long time no use)

so, now you only need a lightning texture and put it on a model.
maybe itīs not the most beautyfull way to do that, but it should work
i think

try it,
Mortis


it found a voice ... now it needs a body
Re: Puslating effect [Re: Storm_Mortis] #90242
09/19/06 07:03
09/19/06 07:03
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline
Senior Expert
ello  Offline
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
Quote:

why do you want to use a shader for that?
why donīt use a simple u/v shift function like this:




well, just because you can , and because you can blend the effect with a environment reflection and so on... it just looks better

Re: Puslating effect [Re: ello] #90243
09/19/06 08:40
09/19/06 08:40
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline
Expert
Matt_Aufderheide  Offline
Expert
M

Joined: Oct 2003
Posts: 4,131
Ello is right obviously.. you can say the same thing about any effect.. like why use a shader for water surface when you can just scroll a wave texture around?


Sphere Engine--the premier A6 graphics plugin.
Re: Puslating effect [Re: Matt_Aufderheide] #90244
09/19/06 20:59
09/19/06 20:59
Joined: Sep 2006
Posts: 99
BS, Germany
Storm_Mortis Offline
Junior Member
Storm_Mortis  Offline
Junior Member

Joined: Sep 2006
Posts: 99
BS, Germany
hmm, of cause are you 2 right - but ... ithing that a water shader ist much better
than a ugly watertextur what is scrolling - there is a bigger difference than here

but another question to this, is a shader effect for this faster or slower than my
way??

you must now im an fully noob in this shader things


it found a voice ... now it needs a body
Re: Puslating effect [Re: Storm_Mortis] #90245
09/19/06 21:30
09/19/06 21:30
Joined: Aug 2005
Posts: 1,185
Ukraine
Lion_Ts Offline
Serious User
Lion_Ts  Offline
Serious User

Joined: Aug 2005
Posts: 1,185
Ukraine
Quote:

why do you want to use a shader for that?
why donīt use a simple u/v shift function like this:
while(1)
{
my.v += 3*time;
my.u = random(x); //x= your skin/sprite pixels
wait(1);
}
maybe you have to change u and v (long time no use)




because of
Quote:

The undocumented texture shifting by u,v parameters was discontinued for models (it still works for sprites). For texture shifting apply the fx_uvspeed action from the mtlFX template, which is faster and easier to use than u,v parameters. The uv shifting effect also works with the Standard and Extra editions.


-from A6.50 compatibility notes

Re: Puslating effect [Re: Lion_Ts] #90246
09/19/06 22:12
09/19/06 22:12
Joined: Sep 2006
Posts: 99
BS, Germany
Storm_Mortis Offline
Junior Member
Storm_Mortis  Offline
Junior Member

Joined: Sep 2006
Posts: 99
BS, Germany
oh, i didnīt take a look at the A6.50 compatibility notes
maybe i should, thx


it found a voice ... now it needs a body

Moderated by  Blink, Hummel, Superku 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1