Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (NewbieZorro, TipmyPip, 1 invisible), 19,045 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Generating waves in water #40928
02/13/05 03:19
02/13/05 03:19
Joined: May 2004
Posts: 66
Brazil
key_46 Offline OP
Junior Member
key_46  Offline OP
Junior Member

Joined: May 2004
Posts: 66
Brazil
i am trying to create a Water shader that creates waves in a specified vector, here is my idea image:



ADPA Ataque Dos Pôneis Assassinos! Atack Of Killer Ponys! ADPA(R) all rights reserved
Re: Generating waves in water [Re: key_46] #40929
02/13/05 03:30
02/13/05 03:30
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline
Expert
Matt_Aufderheide  Offline
Expert
M

Joined: Oct 2003
Posts: 4,131
i suppose this can be done by passing a position vector to a material skill. As for actually creating the ripple, the best way i can think of is to have an enviromental bump map, and another bump map overlayed on it that animates and moves according to the position vector. I dont have code for this but i assume you could modify one of the existing shaders with a lot of work.

Re: Generating waves in water [Re: key_46] #40930
02/13/05 22:16
02/13/05 22:16
Joined: May 2004
Posts: 66
Brazil
key_46 Offline OP
Junior Member
key_46  Offline OP
Junior Member

Joined: May 2004
Posts: 66
Brazil
but i think the best way is give the position and a other skill with the wave force and let the shader compute the normals and dispersion


ADPA Ataque Dos Pôneis Assassinos! Atack Of Killer Ponys! ADPA(R) all rights reserved
Re: Generating waves in water [Re: key_46] #40931
02/14/05 07:08
02/14/05 07:08
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline
Expert
Matt_Aufderheide  Offline
Expert
M

Joined: Oct 2003
Posts: 4,131
I seriously doubt that would be a fast way, to generate a normalmap on the fly.

Re: Generating waves in water [Re: key_46] #40932
02/14/05 13:17
02/14/05 13:17
Joined: Dec 2001
Posts: 2,172
Portugal - Brazil
XNASorcerer Offline
Expert
XNASorcerer  Offline
Expert

Joined: Dec 2001
Posts: 2,172
Portugal - Brazil
Is this what you mean?


Re: Generating waves in water [Re: XNASorcerer] #40933
02/14/05 13:42
02/14/05 13:42
Joined: Nov 2004
Posts: 56
S
shock Offline
Junior Member
shock  Offline
Junior Member
S

Joined: Nov 2004
Posts: 56
thiat effect looks cool. can u explain what exactly r u doing for that effect.

Re: Generating waves in water [Re: key_46] #40934
02/14/05 17:21
02/14/05 17:21
Joined: May 2004
Posts: 66
Brazil
key_46 Offline OP
Junior Member
key_46  Offline OP
Junior Member

Joined: May 2004
Posts: 66
Brazil
uau! this is realy what i need!


ADPA Ataque Dos Pôneis Assassinos! Atack Of Killer Ponys! ADPA(R) all rights reserved
Re: Generating waves in water [Re: XNASorcerer] #40935
02/15/05 17:31
02/15/05 17:31
Joined: May 2004
Posts: 66
Brazil
key_46 Offline OP
Junior Member
key_46  Offline OP
Junior Member

Joined: May 2004
Posts: 66
Brazil
Can You Release the CODE?


ADPA Ataque Dos Pôneis Assassinos! Atack Of Killer Ponys! ADPA(R) all rights reserved
Re: Generating waves in water [Re: key_46] #40936
02/16/05 06:51
02/16/05 06:51
Joined: Dec 2001
Posts: 2,172
Portugal - Brazil
XNASorcerer Offline
Expert
XNASorcerer  Offline
Expert

Joined: Dec 2001
Posts: 2,172
Portugal - Brazil
This is not my code. I am only trying to help you to explain what you want.
the screenshot is from a game of plastation 2.

Re: Generating waves in water [Re: key_46] #40937
02/17/05 13:40
02/17/05 13:40
Joined: Dec 2001
Posts: 2,172
Portugal - Brazil
XNASorcerer Offline
Expert
XNASorcerer  Offline
Expert

Joined: Dec 2001
Posts: 2,172
Portugal - Brazil
Maybe you can use the code from the water sample from OGRE.
http://www.ogre3d.org/



Page 1 of 2 1 2

Moderated by  Blink, Hummel, Superku 

Gamestudio download | 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