3rd Party Models/Media Chat / ocean and water

Author
Message
spudnick
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 3rd Dec 2013 19:03 Edited at: 7th Feb 2015 07:58
Hi all i have been tweeking around with the water system and want to make better looking ocean and water.



Note i have not created the shader it part of the fpcr one. all i have done is tweeked it and given extra bump maps.



here is a kit for those who want to see the first of my water enhancements.

The files are zipped with a read me file inside.

just pop the files into fpsc reloaded\files\effectbank\reloaded folder



Also scroll down to see my little tutorial.

here are 2 zip folders the first one is my first and the second one is with different bump maps and water speeds.



Enjoy
PM
spudnick
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 3rd Dec 2013 19:05 Edited at: 17th Dec 2013 14:49
picture of water effect



What i done was just created a new bump map and changed the values in the Basic_water.fx file



Just to say The float FresnelBias setting was set to float FresnelBias = 0.6f; for this picture.



Also changed other settings to create the right water movement.



so you have more waves and a denser water reflection and more movement. and more height map.

PM
granada
Forum Support
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 3rd Dec 2013 19:38
I will give this a try later,thank you .



Dave

AMD Phenom(tm)IIx6 1090t Processor 3.20 GHS

8.00 GB memory Windows 7 64 bit

Nvida Geforce GTX 580
PM
Emrys
11
Years of Service
User Offline
Joined: 4th Nov 2013
Location: UK
Posted: 3rd Dec 2013 19:42
Wow that's great ! Thanks
PM
spudnick
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 3rd Dec 2013 20:23 Edited at: 15th Dec 2013 20:11
Night time and reflection of moon light

i have lowered the reflection value as did notice when in strong daylight or lighting i should say, is that the water reflected more of a gold colour,

i have looked around at the water in all angles and all seems fine now.

The float FresnelBias setting was set to float FresnelBias = 0.5f;



just thought i would share my glitch



Looks rather nice if i do say so

PM
rolfy
18
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 4th Dec 2013 02:46 Edited at: 4th Dec 2013 02:46
Nice work. looks pretty cool
spudnick
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 5th Dec 2013 18:38 Edited at: 15th Dec 2013 20:16
Just tweeked water to make it more dense when you create deep water



The float FresnelBias setting was set to float FresnelBias = 0.3f;



sorry for bad image as created it on a low spec laptop.

Vista 32 bit

Duo core 1.6 ghz

2 gig ram

Intel 965 gfx

PM
Atlantis
14
Years of Service
User Offline
Joined: 20th Sep 2010
Location: Wasteland
Posted: 6th Dec 2013 01:50
Your water looks excellent, Spudnik.



Water (to me) can make or break some good scenery. I bought Unity Pro just to get the good water effects. I'm switching to FPSCR because it's a bit of a mess trying to get all the scripts (PRG Kit, UniStorm, AI Kit, etc) to play nice together.



I'd like to see FPSCR get water foam along the shores as well to make it a bit more realistic along the shorelines.
PM
spudnick
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 6th Dec 2013 23:42 Edited at: 7th Dec 2013 00:29
Thank you all for nice comments.



Quote: "I'd like to see FPSCR get water foam along the shores as well to make it a bit more realistic along the shorelines."




Well Atlantis, i did make such entities for spsc x9 version using some one else's bits of stuff and so when i get my head around how to get it working into FPSCR i shall have it posted here, but will have to ask the person who i used a part to make it happen, im sure he will allow me to use a file of his.



here is a vid using my water ripple and wash, well thats what i call it.

but for the ocean i will add more froth/foam.

http://www.youtube.com/watch?v=PGPLOVtrKZQ



so basicly i can create different shapes to go around rocks and straight entities to put where needed, and thus keeping the frame rate down too.



Anyway i will keep at it to get working in FPSCR for all to enjoy.
PM
AuShadow
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 2nd Dec 2013
Location: Australia
Posted: 7th Dec 2013 03:35
This is excellent and I can't wait to see how this will look in my scenes, thankyou for making this available to all of us
AuShadow
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 2nd Dec 2013
Location: Australia
Posted: 7th Dec 2013 05:43 Edited at: 7th Dec 2013 06:00
Hey i just tried this out and was just wondering if there's any way to slow down the water movements as its seems that the water is moving very fast, i recorded it on fraps and am in the process of uploading the video now if you would like to see what i mean (hopefully its up by the time this gets posted as i seem to be having a very slow upload speed at the moment).



Aside from the speed of the water movement though it does look fantastic and does add a bit more to the scene then the original water package



anyway heres the link: http://youtu.be/5l6qmrvh_uc



p.s at current upload rate probably be uploaded by around 2pm at UTC +8
spudnick
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 7th Dec 2013 20:55
Hi AuShadow.



Im away this weekend but when i get back on monday i shall modify the shader file to create five different water speeds so should help those change it to suite there scene and of course yours



im very pleased you and others like this.
PM
spudnick
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 10th Dec 2013 16:48 Edited at: 6th Dec 2014 20:27
Ok Locate and go into The game creators\Fpsc reloaded\files\effectbank\reloaded\

And open/edit file ( water_basic.fx )



Best to download and use Notepad++ Rather than use NotePad as its better and shows the line numbers. and can save file types as they are.



ok Now locate this part in the file.



//-----------------

// tweaks

//-----------------

float2 WaterScale = { 5.0f , 5.0f};

float WaterBump = 0.6f;

float FresnelBias = 0.1f;

float FresnelScale = 1.0f;//1.5f;

float2 Speed1 = { -0.05, 0.0 };

float2 Speed2 = { 0.01, -0.01 };

float2 Speed3 = { -0.001, 0.001 };

float4 WaterTint = { 0.5f, 0.5f, 0.5f, 0.1f };



Where it says

float2 Speed1 = { -0.05, 0.0 };



You can change the 5 from 1 to 9 well you can change to whatever realy but will be extreme.



you can also change values in float2 speed2 = { 0.1, -0.01 };



as this changes the speed and direction of the water on the ( X ) axis

Basiscly left to right or back and forth, as depends on wear your facing



float FresnelBias =



This feature changes how clear the water looks, for example if you would like to see through the water and see the ground then raise the value, please Note if to high then you wont see the water at all, as it will disappear.



Water4 Watertint

is where you change the colour,

on the fist 3 groups of numbers is where you add your colour numbers,

and how much reflection is on the last group, i call groups as 0.7f, as its easy to corrispond to, and so and the higher the value is more and lower is less.

See my colour chart below for the numbers to insert/change



As default it is



Float4 WaterTint = { 0.7f, 0.7f, 0.7f, 0.1f };



but found it to much for my liking as water is not a mirror and only takes on light reflection, Meaning if water is still and the light spectrum meets the the requirement of the water density/surface tension then you will get a good reflection, just thought to mention



Hope this tut will help!
PM
granada
Forum Support
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 10th Dec 2013 21:01
Many thanks spudnick,i will play later .



Dave

AMD Phenom(tm)IIx6 1090t Processor 3.20 GHS

8.00 GB memory Windows 7 64 bit

Nvida Geforce GTX 580
PM
AuShadow
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 2nd Dec 2013
Location: Australia
Posted: 11th Dec 2013 06:49
Yes, thankyou greatly I'll be trying this tonight
spudnick
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 24th Dec 2013 20:15 Edited at: 29th Dec 2013 02:34
Slow moving water with high reflection from sky and big ripples.



PM
spudnick
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 28th Dec 2013 13:15 Edited at: 28th Dec 2013 13:17
Hi all i have added more different water_basic.fx files that has fast and slow settings and one way direction as well as mixed, and even a sunset effect for you to tryout.



the files are in the download at the top of this post.

here is a sunset effect. no lighting added.

PM
spudnick
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 29th Dec 2013 15:20 Edited at: 29th Dec 2013 15:21
Well i was bored today so thought to create a new bump map and a modified water shader and so here is the results.

PM
spudnick
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 29th Dec 2013 15:24
new files are in a zip and are in the download to this post.

have fun
PM
AuShadow
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 2nd Dec 2013
Location: Australia
Posted: 29th Dec 2013 15:27
Nice, I hope to have a play around with your water effects soon. When I do I'll post another video demo. With people developing all this stuff now in the very early stages of reloaded its going to be amazing what we can build further down the road in 2014
spudnick
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 29th Dec 2013 21:17 Edited at: 30th Dec 2013 22:24
hi Aushadow.

i have been trying to make water foam but at the moment i cant see how to get Nomal map and height map and bump maps working to gether to work with transparency, so if there is anyone out there can aid us in doing this



or even create some foam water,

then it will put the icing on the cake so to speak.
PM
AuShadow
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 2nd Dec 2013
Location: Australia
Posted: 3rd Jan 2014 09:14 Edited at: 3rd Jan 2014 09:17
Hey the Water effects look great especially liking the slow moving for a lake, put together a quick island demo vid of the slower effect.



spudnick
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 3rd Jan 2014 23:20
Nice video AuShadow, the water moves great in your scene, if you need further hep like how to change water colour for differant scenes then im more happy to help



I was hopeing to get one done also but my production pc has stopped working on one of my 8gig ram so bought another ram and now windows just hangs on startup. anyway im having a problem atm



And on this laptop fpscr has stopped working so even more problems.

Never the less will get sorted,
PM
AuShadow
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 2nd Dec 2013
Location: Australia
Posted: 4th Jan 2014 05:39
That's a shame to hear, hopefully your back up and running soon
AuShadow
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 2nd Dec 2013
Location: Australia
Posted: 12th Jan 2014 05:44
looks like your water effects are quite popular got 284 hits on the new video and a sub from Richard Vanner
spudnick
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 13th Jan 2014 02:17
thats mostly down to you Aushadow for making a nice video.

Still have not got pc working, I spent £80 on another rm chip, but it sems it the motherboard is not accepting it, so its a case of another motherboard.



i thought about getting the latest motherboard, but i dont wont to install all my software as cost mega bucks, and so the old versions i have are not available, only newer one that would cost me more, well i wont go in al detail but hence i need to get a used board the same, then dont have to reinstall everything, i could do it on a new board if migrate, but some time get probs migrating.



Anyway hopfully in the next few days i shall be well into making different oceans and lakes as well as foam effects,



As for the foam tho it seems like there is a transpency problem, and also the water physics is not showing water movements from active entities, for example, when you walk in the water there are no ripples or even when you shoot or drop items into it, so it looks like im stuck atm until that feature is active in the engine,



I have all in place ready to make such foam and water movement.



All i can say is keep an Eye on this post and as soon as its possible it will be here, in the mean time i shall create more types of water, ickuding colour, reflection/density types and so on.
PM
spudnick
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 16th Jan 2014 21:13 Edited at: 16th Jan 2014 22:03
Hi followers. Defy inspired me to put together a Colour chart with codes as after spending hours looking on the net for a conversion tool to help out, i know you can devide the RGB values to get results but for simplicity here is this one to help.



Just add the colour code to the

float4 WaterTint = { 0.5f, 0.5f, 0.5f, 0.1f }

in your Water_basic.fx

only change the first 3 groups thus keeping the last one the same



example

float4 WaterTint = { 1.0f, 0.0f, 0.0f, 0.1f }

will give you red



PM
wildman4
10
Years of Service
User Offline
Joined: 18th Jan 2014
Location: South Carolina
Posted: 22nd Jan 2014 13:05
Great info here, I will also be giving it a try! Thanks spudnick!
PM
spudnick
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 5th Feb 2014 00:30 Edited at: 15th Feb 2014 10:36
Still working on entity foam, but for now i have been tweaking more to look better on ocean scene. so i have made another high wave bump map, also making some other bump maps for still and fast moving water like river and streams,

see what you all think of this ocean,



I will get some youtube vids done when I have a chance to show vids with different settings.





PM
J0linar
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 3rd Feb 2010
Location: Vienna, AT
Posted: 5th Feb 2014 01:41 Edited at: 5th Feb 2014 01:42
hey that looks really nice,

you might wanna check this out





Note: This is not reloaded, its just ment as a visual guide for spudnick

http://www.youtube.com/watch?v=nv89chmj6b4

http://j0linar.blogspot.co.at/
PM
spudnick
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 10th Feb 2014 01:51 Edited at: 10th Feb 2014 01:53
Hi all I have managed to get some white swirls like foam in the ocean and some sun speckles on the water as it moves,

and also got rid of the square edging around the water edge! and also made the water edge a bit more transparent as when water gets thin/low it loses its density.

a bit more tweaking and i will post the modified water shader as im working out on how to get another normal map to animate in same shader, so if any one can help then please help us thx.



And thank you for all for support and feed back.



PM
spudnick
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 22nd Feb 2014 00:14 Edited at: 23rd Feb 2014 12:04
Hi all here is my latest update.

first off here is a vid on youtube.

and in next post is another shader improvement.

Any problems using it then please let me know and I will see what I can do to improve it.



In the download link off here is a picture of my FPSCR settings



Note i have the distant set to 18, as this hides the square edging of the map and makes it look like a normal land arc view. if that makes sense

if you see in the distance it is lighter as this is shallow and thus shows different light,and in the middle it very deep and close to player you can see the water density is thin thus allowing you to see the bottom,



Tip!

if you use dark ground for deep water and sand for shallow you wil find that you get a better looking water colour contrast.



I did find using sand for all the bottom of the ocean gave it a pail look,



As a rule for all my water effects even in FPSC DX9 and DX10 and also here FPFCR is deep water should be a dark ground and shallow should be lighter,

Example, if you have a nice tropical sexy beach with palm trees, then adjust colour to suit and use sand for shallow water, and have the water set to about heght of character.



https://www.youtube.com/watch?v=o5EnJ2y4PAo&list=UUammnrUqGdKXB8Dtpzk4vpg&feature=c4-overview
PM
spudnick
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 22nd Feb 2014 00:28 Edited at: 22nd Feb 2014 00:31
here is the 2nd kit off my water mod.

it is in a zip file with a readme doc inside.



This is another ocean shader mod for fps creator reloaded

now without water edge blockiness, and with sun and moonlight shimmer/reflection and a mild white foam/disturbance on the ripples, creating white waves on top,

Also i have changed settings so when you have shallow water along with deep water then the density will increase and decrease, allowing you to see into the water when shallow and of course not when it is deep.

so this shader should suit lakes oceans and rivers and also streams, depending on the colour used to suit the scene.

I don't think a nice blue water would suit a gloomy stream/pond scene



all info is in my post on changing colour and other tweeking.



Please note this is a WIP and not final, so if there is any problems during use then please let me know and i will see if I can improve it,



hope this will give some one something extra to do for the weekend

Have fun and any problems then let me know.
PM
spudnick
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 22nd Feb 2014 01:06
Bonus, lol here is another bump map to use for wider waves.

just put it into FPSC Reloaded\Files\effectbank\reloaded\media



dont forget to rename the existing waves2 file to something else like (waves2 bk) or whatever so you can change to again.
PM
spudnick
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 20th Mar 2014 18:41
Wow I have had an interesting fun time working away on an island and so traveling across to work every few days on a boat I have been focusing on how the waves move on t type of weather and so has expired me to develop new bump maps according to the weather,

So I think I can develop water movement for the type of scenes/maps that users may require,

And therefore I will create a weather bump map pack t suit users games.

I'm still away at the moment but will be cracking on with I by Next weekend' and eager to Mae them and see the out come

I'm also working on the shader to give more surface tention from lighting' meaning more sun glare

Well back to work now and so once all is do I will post the new bump map and shader in next post.
PM
Takis76
19
Years of Service
User Offline
Joined: 9th Apr 2005
Location: Greece
Posted: 16th Apr 2014 00:40
If you can swim under water or you see the bottom and around there will be an underwater effect and you need to hold your breath and if run out of air , then you loose hit points.



The air and Hit points can be done with Lua script.
Yurif74
GameGuru TGC Backer
11
Years of Service
User Offline
Joined: 1st Aug 2013
Location: italy
Posted: 27th May 2014 14:38
hello i think your waves doesn't work anymore on v1.07.. this is the result using your last zip.. look at picture



Amiga 4000 CSMK1 68060@50mhz, 200mb fast, CV64 4mb, Scandoubler, MiniThylacine 4 port USB, FastAta MKVI 4000, DVD+RW, HDD 120gb pio 5.
spudnick
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 15th Jun 2014 23:04
hi Yurif74.
i have just downloaded v1.071 and tried my water effect and all seems ok.
i will lower the surface reflection and put up in next post for you to try and see if that makes yours any better and if so i will lower origina it may be to high for all specs of pcs.
PM
karmagetsus
11
Years of Service
User Offline
Joined: 8th Oct 2013
Location:
Posted: 31st Jul 2014 22:57
hi i would like to try this but theres no download link does it still work thanks
PM
spudnick
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 23rd Aug 2014 18:50 Edited at: 25th Aug 2014 14:28
hi all. I didn't realize the download was gone. When I get back home tomorrow I will add files again. All I can think of is when I uploaded an update is that it did not do it from my tablet so will do it from my pc asap.



also can a moderator look into where all my images have gone as none are showing thx.
PM
Old Larry
GameGuru TGC Backer
12
Years of Service
User Offline
Joined: 26th Apr 2012
Location: Bucharest, Romania
Posted: 25th Nov 2014 09:09 Edited at: 25th Nov 2014 09:11
WOWWWW !!!

It was an error message when I try to post my reply, and now is appearing by few times the same.

Admin please erase my mistake. Thanks in advance

Smile today, tomorrow could be worse

http://bestradiolarry.ro/fpsarea
spudnick
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 29th Nov 2014 10:03
Hi larry yes im aware of this to i did post a while ago to ask about where has all pictures gone and links on download.
you can click on the white file attachment at the top of post to download my contents
hope that helps,
PM
The Next
TGC Web Engineer
16
Years of Service
User Offline
Joined: 3rd Dec 2007
Location: United Kingdom
Posted: 29th Nov 2014 16:46
I am looking into the missing files issue.

Windows 7 Pro, Intel i7 3.8 GHz (Passmark: 9021), 16GB DDR3, NVIDIA GTX 780 4GB Superclocked (Passmark: 8056)
PM
The Next
TGC Web Engineer
16
Years of Service
User Offline
Joined: 3rd Dec 2007
Location: United Kingdom
Posted: 29th Nov 2014 16:48
Downloads should now be fixed! The recent server move unlinked the file directory.

Windows 7 Pro, Intel i7 3.8 GHz (Passmark: 9021), 16GB DDR3, NVIDIA GTX 780 4GB Superclocked (Passmark: 8056)
PM
spudnick
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 30th Nov 2014 19:23 Edited at: 30th Nov 2014 19:40
Hi all have had a busy day converting some of my media to reload and finally got my fountain working so just making new fountain model for reloaded and will share it.

Here is a video of existing one I had done

Fountain in fps creator

http://youtu.be/PGPLOVtrKZQ
PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 1st Dec 2014 08:15
Quote: "Hi all have had a busy day converting some of my media to reload and finally got my fountain working so just making new fountain model for reloaded and will share it.
Here is a video of existing one I had done
Fountain in fps creator
http://youtu.be/PGPLOVtrKZQ "


Very Effective......That looks Brilliant !!
PM
Old Larry
GameGuru TGC Backer
12
Years of Service
User Offline
Joined: 26th Apr 2012
Location: Bucharest, Romania
Posted: 1st Dec 2014 17:02 Edited at: 15th Dec 2014 21:59
Very nice fountain, congrats !

I still working to fix the animate ocean shore waves, but still not working for me

Smile today, tomorrow could be worse

http://bestradiolarry.ro/fpsarea

"The best forum, game software, operating system or web platform, it's that software which can give you most of the options and speed, not just amazing graphics."
spudnick
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 3rd Dec 2014 20:43
hi larry,
have you put the files in the correct place and renamed them to the existing files, replace
i have just done a fresh install of reloaded and downloaded files from this post to replicate as a new user and works fine for me

have a another look to see if you have copied files correctly. and let us know.
i will have a look into putting together a windows install. but doing so does replace existing files but they are backed up in the zip files tho.

let us know how you got on
PM
spudnick
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 7th Dec 2014 19:27 Edited at: 14th Dec 2014 14:30
Hi all. a new creations to water/oceans i have started creating foam entities to put along shore lines and around rocks extra to give the effect of water splashes and water foam. here is a sample so far.\\r\\nthis is a WIP\\r\\nas a problem with transparency as it shows to much white.



Also created fountains and water spray and rain and snow and wind dust tornado wirlwinds and a vortex and a Black hole from the Andromeda star system

so the black hole will be used as a space warp

Also created lava thats splurts from a volcano and runs down it to a river of laver.

all should be available soon

Attachments

Login to view attachments
PM
spudnick
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 15th Dec 2014 21:35 Edited at: 15th Dec 2014 21:56
wow i have created a worm hole or a vortex or even a black hole, anim to use

i have not got a video cap to show it in action but if any one knows of a vid capture software i will capture it in motion an youtube it lol

Attachments

Login to view attachments
PM

Login to post a reply

Server time is: 2024-11-25 07:30:48
Your offset time is: 2024-11-25 07:30:48