[] Ocean surface simulation (VaOcean)

Very nice! For the underwater PP effect a nice caustic effect would be great. I’ll wee if I have some spare time to play with it :smiley:

Is VaOcean going to be recompiled with UE4 4.5? I am getting an error message with the VaOcean dll file when trying to open in UE4 4.5. It mentions I need to rebuild from source. Any suggestions or will we expect an update?

Those who haven’t seen this water in a project yet can download a demo of my project i’m making using VaOcean. I am yet to enhance and add a lot of other stuff but for now it looks ok and just getting it out there for people to trial.

I have managed to get it working in my own project and had to change the blueprint variable Ocean State Actors (I think) to point to the files I moved into my project (to get rid of the external reference error) and as long as the shaders are in the main UE4 shaders folder it should work.

http://reddit.com/r/oculus/comments/2izni4/ue4_exploration_project_demo_island/

[QUOTE=SpritelyNZ;163646]
Is VaOcean going to be recompiled with UE4 4.5? I am getting an error message with the VaOcean dll file when trying to open in UE4 4.5. It mentions I need to rebuild from source. Any suggestions or will we expect an update?

You can probably just add a dummy class to your project (via the editor’s file menu), then drop the in there and compile the solution. It should spit out a version of the compatible with the version of the engine your project is using.

Assuming you have VS 2013 that is. If not, it’s honestly not hard to set up (the project generation features make most of the hard stuff transparent to new users) and you don’t actually need to know anything about VS or C++ to recompile the , besides adding the dummy class, dropping the VaOcean folder (with Source folder inside it! That’s important :stuck_out_tongue: The binary distribution by itself won’t work) into your project’s Plugins folder, and then clicking generate projects in the editor’s file menu. After that just double click the solution (in the project folder), VS will open, hit F7, wait and once the build is done you’re good and will have a version 4.5 VaOcean .

[QUOTE=n00854180t;163762]
You can probably just add a dummy class to your project (via the editor’s file menu), then drop the in there and compile the solution. It should spit out a version of the compatible with the version of the engine your project is using.

Assuming you have VS 2013 that is. If not, it’s honestly not hard to set up (the project generation features make most of the hard stuff transparent to new users) and you don’t actually need to know anything about VS or C++ to recompile the , besides adding the dummy class, dropping the VaOcean folder (with Source folder inside it! That’s important :stuck_out_tongue: The binary distribution by itself won’t work) into your project’s Plugins folder, and then clicking generate projects in the editor’s file menu. After that just double click the solution (in the project folder), VS will open, hit F7, wait and once the build is done you’re good and will have a version 4.5 VaOcean .

This may sound really NOOB but I’m not familiar enough to decrypt your explanation above. It would be great to see it in steps so nothing is missed. I can do some of what your saying but it’s not working because i’m certain i’m misunderstanding something. I have VS2013 Express.

Thanks in advance. Love this , really do!

[QUOTE=n00854180t;163762]
You can probably just add a dummy class to your project (via the editor’s file menu), then drop the in there and compile the solution. It should spit out a version of the compatible with the version of the engine your project is using.

Heh, it’d be easy if Epic hadn’t made a lot of changes in core code yet again. So if you will try to compile code for a 4.5 it will give you a bunch of errors which are fortunatelly easy to fix ones.

[QUOTE=SpritelyNZ;163810]
This may sound really NOOB but I’m not familiar enough to decrypt your explanation above. It would be great to see it in steps so nothing is missed. I can do some of what your saying but it’s not working because i’m certain i’m misunderstanding something. I have VS2013 Express.
Thanks in advance. Love this , really do!

Sorry, don’t have time to write instructions about code changes and other stuff. Could you try to use this version of a which I’ve compiled for a 4.5 (official) version of the engine?
http://uploaded.net/file/ygtz2r34

[QUOTE=Shockwave-;164298]
Heh, it’d be easy if Epic hadn’t made a lot of changes in core code yet again. So if you will try to compile code for a 4.5 it will give you a bunch of errors which are fortunatelly easy to fix ones.

Sorry, don’t have time to write instructions about code changes and other stuff. Could you try to use this version of a which I’ve compiled for a 4.5 (official) version of the engine?
http://uploaded.net/file/ygtz2r34

Thanks i’ll try this out.

EDIT: Error in that page, “you have exceeded your download limit.” I had an issue and had to refresh the page now can’t download. I’ll try again later unless you can provide another link.
Thanks

EDIT, EDIT: Link doesn’t work.

Seems to be working. I’m not getting any errors but I have not tried to package a project yet. Thanks for the upload.

[QUOTE=SpritelyNZ;164317]
Thanks i’ll try this out.
EDIT: Error in that page, “you have exceeded your download limit.” I had an issue and had to refresh the page now can’t download. I’ll try again later unless you can provide another link.
Thanks
EDIT, EDIT: Link doesn’t work.

I think it doesn’t work only for you. Maybe you’re sitting under a NAT with a lot of users, dunno. Here’s another link ://mega.co.nz/#!VNUwWACZ!tVtuCJhXjfpzXlVQmhhqP2-qT1lNBcmMnhaKZrTOJXc

Thanks. No NATing on my network but probably something silly happening. Thanks for the alternative link.

Ok so added the but now UE4 is crashing upon startup. Surely I can’t be that dumb, or can I? I replaced the .dll file in the directory the old one was and overwrote it.

[QUOTE=SpritelyNZ;164472]
Ok so added the but now UE4 is crashing upon startup. Surely I can’t be that dumb, or can I? I replaced the .dll file in the directory the old one was and overwrote it.

There can be hundred reasons why it doesn’t work on your machine. Please provide logs/error messages etc.
Did you place shaders from to engine’s shader folder?

Sorry ,i’m being much lazier than normal because it’s late here. I shouldn’t be so lazy… I understand there could be many issues stemming from many things so i’ll try to be a little more specific.

FYI: The worked perfectly with UE4 v4.4.3 no issues. The shaders are all where they need to be. All files were in correct locations and I had water working perfectly.

I’ll do a little more testing and come back with some concrete info about what’s happening.

OK, i’ll start with the crash report:
MachineId:A7A9104B4FE43961521FC299B353C53F
EpicAccountId:43a4ae8b31eb43ad82c97bdfbc1e16a2

Unknown exception - code 00000001 (first/second chance not available)

Fatal error: [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.5\Engine\Source\Runtime\ShaderCore\Private\ShaderCore.cpp] [Line: 348]
Couldn’t load shader file ‘VaOcean_VS_PS’

KERNELBASE + 37901 bytes
UE4Editor_Core + 3174836 bytes
UE4Editor_Core + 1677199 bytes
UE4Editor_ShaderCore + 136410 bytes
UE4Editor_ShaderCore + 85497 bytes
UE4Editor_ShaderCore + 120761 bytes
UE4Editor_ShaderCore + 95300 bytes
UE4Editor_ShaderCore + 153460 bytes
UE4Editor!FEngineLoop::PreInit() + 8087 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.5\engine\source\runtime\launch\private\launchengineloop.cpp:1210]
UE4Editor!GuardedMain() + 236 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.5\engine\source\runtime\launch\private\launch.cpp:112]
UE4Editor!GuardedMainWrapper() + 26 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.5\engine\source\runtime\launch\private\windows\launchwindows.cpp:125]
UE4Editor!WinMain() + 249 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.5\engine\source\runtime\launch\private\windows\launchwindows.cpp:201]
UE4Editor!__tmainCRTStartup() + 329 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]

[QUOTE=SpritelyNZ;164484]
OK, i’ll start with the crash report:
MachineId:A7A9104B4FE43961521FC299B353C53F
EpicAccountId:43a4ae8b31eb43ad82c97bdfbc1e16a2

Unknown exception - code 00000001 (first/second chance not available)

Fatal error: [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.5\Engine\Source\Runtime\ShaderCore\Private\ShaderCore.cpp] [Line: 348]
Couldn’t load shader file ‘VaOcean_VS_PS’

KERNELBASE + 37901 bytes
UE4Editor_Core + 3174836 bytes
UE4Editor_Core + 1677199 bytes
UE4Editor_ShaderCore + 136410 bytes
UE4Editor_ShaderCore + 85497 bytes
UE4Editor_ShaderCore + 120761 bytes
UE4Editor_ShaderCore + 95300 bytes
UE4Editor_ShaderCore + 153460 bytes
UE4Editor!FEngineLoop::PreInit() + 8087 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.5\engine\source\runtime\launch\private\launchengineloop.cpp:1210]
UE4Editor!GuardedMain() + 236 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.5\engine\source\runtime\launch\private\launch.cpp:112]
UE4Editor!GuardedMainWrapper() + 26 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.5\engine\source\runtime\launch\private\windows\launchwindows.cpp:125]
UE4Editor!WinMain() + 249 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.5\engine\source\runtime\launch\private\windows\launchwindows.cpp:201]
UE4Editor!__tmainCRTStartup() + 329 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]

Sigh please put shaders from 's shader folder to your engine’s shader folder. It can’t find shader files
://.com/ufna/VaOcean/wiki#installation

Oh my giddy aunt, ima ****, I just double checked where I had the shader files…in 4.4 directory not 4.5. Sorry for wasting your time. I think with it being late and the virus I have I’m loosing all my logic.

Try going into the Material Inst file and change the parameters there, otherwise disable wave height parameter there and then change it in the main details panel. I had a problem with this a while ago.

hi
I have download the vaocean but I cant get it to work because I dont know where to copy and paste the binaries and the shaders so if someone could explain the process in deteail I would be very grateful:)
thanks

Hi everyone

I got the working with UE4.5 and I did follow the tutorial ://.com/ufna/VaOcean/wiki/Simple-ocean-setup
Now I have the Cast to Actor Class Node working… but the water still with no effect.

Can someone tell me why it isn’t working?

so is unfa still updating this thing? I cant get it to compile under 4.5.1 just throws up all over the place when it tries to compile either mine or the demo project.

can someone post the 4.5.1 compatible files?