AbSu Water Editor

Posted By: Emre

AbSu Water Editor - 04/09/09 20:22

Hello guys,editor is ready.

@Germanunkol;
Thank you for your suggestion that in the project post.
i am going to use them in the next version.
i am publishing the editor beacuse, i am so tired

@Blink:
i can't adapt the water to a6. Because of a6 support just 8 bmap for shaders.

Sorry.


in addition to this,i am working on the many projects.(sample pantharay)
if you take an important error when you use editor, please don't kill me. smile
Just tell me. i am going to fix it.
You can see the new versions in the future.
now good bye.

You can downlad here
Posted By: Felixsg

Re: AbSu Water Editor - 04/10/09 01:43

thanks very much
great tool
Posted By: Jaxas

Re: AbSu Water Editor - 04/10/09 20:23

finish so early? nice smile
Posted By: Hitsch

Re: AbSu Water Editor - 04/29/09 15:51

Thx Emre, great Editor.

The controls are not responsive enough at some places, it gets hard to find a precise amount. And the resolution of the window is a bit to small, some parts don't show full in the window.

But other than that it's just great.

One question: Is it possible to change the variables through the editor once it's exported?
When I import the .wmb again I get two water entities on top of each other.
Posted By: Emre

Re: AbSu Water Editor - 04/29/09 17:06

Hello Hitsch,
When you import the .wmb, the water is automatically created.
If you want to import the .wmb again,firstly you should remove the water model by using the "Wed Editor", and have to rebuild.

However, when you open the water editor, all settings is zero.
if you want re-editing your water, you should use "save settings" button
before export the water.(sample:x_water.ini) And when import the .wmb again, you should use the "load settings" button (load:x_water.ini)and you can continue tuning.

Sorry for my bad english. I hope you understand me.

@Felixsg and Jakas;
Thank you for your interest. wink
Posted By: djfeeler

Re: AbSu Water Editor - 04/29/09 17:17

thanks you for your editor
Posted By: Hitsch

Re: AbSu Water Editor - 04/29/09 17:30

I see. That's what I ended up doing. Thx for your help.

Your English is very good!
It's not my first language either, so I can understand how difficult it is to not be able to wright what you want and the way you want.

Keep it up.
Posted By: Emre

Re: AbSu Water Editor - 04/29/09 17:55

Thanks. i will add a "create water" button to the next version.(probably 1.0.2) so that water entity will be not created automatically.Thus, you will not need to delete it for re-editing.
Posted By: Emre

Re: AbSu Water Editor V.1.0.3 - 05/05/09 18:35

Hello friends,
Version 1.0.3 ready. (Need: Engine version 7.77 )
You can download here



Have a nice day...
Posted By: Hitsch

Re: AbSu Water Editor V.1.0.3 - 05/06/09 18:46

Hey Emre,

working great! I like the new button for adding the water entity.
The sky map is a good thing, too, but cube maps as an option would be great.

Then I've got one problem so far:



The object, in this case being a boat, gets a refracture effect even if it's totally above the water line.
Looks nice when under the water, but not so much if it's only slightly beneath it.
Or is one of my settings causing this?
Posted By: Emre

Re: AbSu Water Editor V.1.0.3 - 05/06/09 19:20

Hello Hitsch,
I think, you use "Standart Method"(Method1 or 2). You can use "Better Refraction Method"(Method3) for better refracting.
Cause of the problem; "refraction bump value". It's too much. Drop it.
Look;

I hope I could help to you.
Posted By: Hitsch

Re: AbSu Water Editor V.1.0.3 - 05/06/09 21:24

I don't know if I'm using it wrong, but when I lower that value, the refraction moves closer to the object and eventually is almost covered by it.
But it doesn't go away.
It's well visible when moving fast, because it stays behind a bit. And it also shows when the object is much above the water.

I'll try some more tomorrow and on a different machine if possible.
Posted By: Emre

Re: AbSu Water Editor V.1.0.3 - 05/06/09 23:28

Hey Hitsch,
I find problem.
This is my fault. Sorry...

This is refraction function in your AbsuWater.c(exported file);
Code:
function refrac_init()
{
	c_setminmax(me);
	refrac_view.size_x = camera.size_x;
	refrac_view.size_y = camera.size_y;
	set(refrac_view,SHOW /*|PORTALCLIP*/);//DEF
	while(1)
	{
		proc_mode=PROC_LATE;
		vec_set(refrac_view.pnormal_x,vector(0,0,-result));
		vec_set(refrac_view.portal_x,vector(0,0,my.z+my.max_z-1));
		refrac_view.ambient=camera.ambient;
		//		vec_set(refrac_view.pnormal_x,vector(0,0,-result));
		//		vec_set(refrac_view.portal_x,vector(0,0,my.z+my.max_z-1));
		refrac_view.aspect = screen_size.x/screen_size.y;
		refrac_view.arc = camera.arc;
		refrac_view.clip_near = ref_clip_near;
		refrac_view.clip_far = ref_clip_far;//camera.clip_far/2;
		refrac_view.fog_start = ref_fog_start;
		refrac_view.fog_end = ref_fog_end;//10000;
		//refrac_view.genius = camera.genius;
		vec_set(refrac_view.x, camera.x);
		vec_set(refrac_view.pan, camera.pan);
		
		wait(1);
	}
}


Replace with;
Code:
function refrac_init()
{
	

	refrac_view.size_x = camera.size_x;
	refrac_view.size_y = camera.size_y;
	set(refrac_view,SHOW|NOSHADOW|NOFLAG1|NOPARTICLE|PORTALCLIP);

	while(1)
	{
		proc_mode=PROC_LATE;
		vec_set(refrac_view.portal_x,vector(0,0,my.z-1));
		vec_set(refrac_view.pnormal_x,vector(0,0,-1));
		refrac_view.aspect =(screen_size.x/screen_size.y)*camera.aspect;
		refrac_view.ambient=camera.ambient;
		refrac_view.arc = camera.arc;
		refrac_view.clip_near = ref_clip_near;
		refrac_view.clip_far = ref_clip_far;//camera.clip_far/2;
		refrac_view.fog_start = ref_fog_start;
		refrac_view.fog_end = ref_fog_end;//10000;
		vec_set(refrac_view.x, camera.x);
		vec_set(refrac_view.pan, camera.pan);
		
		wait(1);
	}
}


i will fix it to the next update.
Thank you for feedback.
Posted By: Felixsg

Re: AbSu Water Editor V.1.0.3 - 05/07/09 08:16

the X,y,z position not work wheel for me
if I move the position not change inmediatly
I need to move to the extreme for star to move
and move to the center to stop the move

and a suggestion
if possible to hide the options
for use the shore line sphere without lock less

thank
Posted By: Emre

Re: AbSu Water Editor V.1.0.3 - 05/08/09 19:24

Ok. Look at this;






Posted By: Quad

Re: AbSu Water Editor V.1.0.3 - 05/08/09 20:38

oklara tiklayarak suyu tutarak hareket ettirirken mouse_force ile degilde mouse 3d pozisyonuna göre yaparsan, su mouseu takip eder öyle cekmek zorunda kalmazsin.
---------------------------------------------------
getting better and better keep it up !
Posted By: Emre

Re: AbSu Water Editor V.1.0.3 - 05/09/09 00:18

@Quadraxas;Thanks for hints. //fraps frame rate'i dusurdugu icin sorunlu gibi gorunuyor ama normalde gayet kolay hareket ediyor su. Yine de belki bakarim mousepos3d ye...

And cpu wave animation for find vertex position & reality; (no shader wave)

Posted By: darkinferno

Re: AbSu Water Editor V.1.0.3 - 05/09/09 00:25

oh my.. this is getting breathtaking... smile
Posted By: Jaxas

Re: AbSu Water Editor V.1.0.3 - 05/09/09 10:13

then you finish, it definetly be in official conitec download page wink
Posted By: Felixsg

Re: AbSu Water Editor V.1.0.3 - 05/09/09 10:59

wow really a incredible tool
I thinking to make a techdemo
when you have ready this new version?

and think with the new "cpu wave animation"
is posible also to the height calculate the direction
of move of the water (for by sample move the object in a river)
Posted By: Hitsch

Re: AbSu Water Editor V.1.0.3 - 05/09/09 12:23

Looking promising, the objects timing is slightly off, but it already looks very believable.

Is this for calculating a floating objects position only? How do you get the shaded water to behave the same way then?
Posted By: Emre

Re: AbSu Water Editor V.1.0.3 - 05/10/09 06:24

Thanks for all nice comments.

@Felixsg & Hitsch;
I do not understand your questions fully. Sorry.
Maybe this video(s) will answer your questions.



If you're talking about like this;

and like this;

Possible, but performance is not good.

Posted By: Felixsg

Re: AbSu Water Editor V.1.0.3 - 05/10/09 09:46

great
the second and the last video is the think I talk

but why the objects moving not at the same direction of the water? (in second video)

Posted By: boyax

Re: AbSu Water Editor V.1.0.3 - 05/19/09 03:12

Hi Emre,

I try to download your water editor tool but encountered an error:
"Error 404: file not found
./mirror/WaterEditor1.0.4.rar was not found on this server."

Hope I could try your tool since I'm doing some water effects.

Thanks
Posted By: Emre

Re: AbSu Water Editor V.1.0.3 - 05/19/09 09:31

I've deleted. Because, I saw an important problem on the new version.
And i am working on a new method of shoreline.

But still not as nice as I want.
Please wait a few day. Thanks.
Posted By: boyax

Re: AbSu Water Editor V.1.0.3 - 05/19/09 09:42

Ohh....

Anyway,I try the WaterEditor ver 1.0.3..thanks to Quadraxas for the link.

just some questions:
- how would you move the cam? i didn't see the 3 vertex (x,y,z) of the water as what the tutorial suggests in this link:
http://www.pantharay.com/watereditor/watedmp4.html

- moving the x,y,z of the water seems to be responsive.

Hope you could add a water falls effect? Is it possible? hhmm.. maybe, that's too much for you to ask.
I'll be waiting for your latest version..

Thanks, it's a great tool. smile
Posted By: Cowabanga

Re: AbSu Water Editor V.1.0.3 - 05/19/09 12:51

When exporting, it says "Invalid pointer or handle in".
Posted By: bupaje

Re: AbSu Water Editor V.1.0.3 - 05/20/09 16:06

Wow, this is a very interesting looking project!
Posted By: Felixsg

Re: AbSu Water Editor V.1.0.3 - 05/24/09 07:54

any progress?

thanks
Posted By: Emre

Re: AbSu Water Editor V.1.0.3 - 05/24/09 16:24

@Boyax;Use right click & w-a-s-d to move the cam. i don't think waterfall or river in the future. x,y,z vertex of the water, in the V:1.0.4. You should use xyz sliders to move the water, with V:1.0.3
@Cowabanga: When? Always?

@Felixsg:
i am working on the new shoreline method for rts game;

(Like an Empire earth2)

This is really not needed. But maybe someone might want to use.


And i am working on the new method for better ocean;(Oh... this is really needed laugh )


Posted By: Cowabanga

Re: AbSu Water Editor V.1.0.3 - 05/24/09 16:39

Quote:
@Cowabanga: When? Always?

Everytime when i try to export the code.
Posted By: Emre

Re: AbSu Water Editor V.1.0.3 - 05/24/09 16:51

I don't know why. I don't see any export problem on my pc.
Anybody have a problem like Cowabanga's?
Posted By: Cowabanga

Re: AbSu Water Editor V.1.0.3 - 05/24/09 17:02

Well, my specs are:

Core 2 Duo 2.53Ghz.
2 GB RAM.
Nvidia Geforce 8600GT.
Shader model 4.0 support.
Latest DirectX update.

Maybe a DirectX problem?
Posted By: Germanunkol

Re: AbSu Water Editor V.1.0.3 - 05/24/09 21:01

WOW...
amazing improvements!!
Keep going! laugh
Posted By: Gumby22don

Re: AbSu Water Editor V.1.0.3 - 05/29/09 00:54

That new ocean test looks absolutely beautiful - I love the depth and transparency look.

I actually think the new shoreline shows real promise - is it basically a defined shape around islands, with shore automatically detected by a trace inwards? Seems like a really good solution, for water level being dynamic and shore automatically causing breaking waves at whatever required distance out.

Don
have a great day
Posted By: Felixsg

Re: AbSu Water Editor V.1.0.3 - 06/06/09 17:54

Any news?
Posted By: boyax

Re: AbSu Water Editor V.1.0.3 - 06/15/09 11:17

Hi Emre,

do you have any updates on this?

Thanks
Posted By: Cowabanga

Re: AbSu Water Editor V.1.0.3 - 06/15/09 15:44

Yeah, what about my problem??
Posted By: Emre

Re: AbSu Water Editor V.1.0.3 - 06/20/09 01:32

Quote:
is it basically a defined shape around islands, with shore automatically detected by a trace inwards?

Yes but it is still not great.
Quote:
news news news


i am sorry for the delay.
I do not think we(3dgs comm) have enough quality water shader.
So I would continue to work.
We need noise effects for animated normalmap&heightmap.
i integrated Projgrid 's noise effect, to 3dgs.
I am currently working on this.



By downloading the demo , you can look closely at. (Need: shader 2_x)
Posted By: Felixsg

Re: AbSu Water Editor V.1.0.3 - 06/20/09 18:39

great really beauty
is posible to added
caustic
Posted By: HeelX

Re: AbSu Water Editor V.1.0.3 - 06/21/09 18:17

@Emre: The new shoreline method looks very promising! Since I need that, please develop this further :-)
Posted By: boyax

Re: AbSu Water Editor V.1.0.3 - 06/25/09 07:02

@Emre,

I downloaded your latest sample demo.. encountered an error during I click "mains.exe"??



I'm using directx 9.0.

Other problem....
I'm using the water editor application you develop...but when I try to publish it (to create an exe), I encounter this error during publish:
Can't open file: 'wt_ed.fx'

I can't locate the file myself & it's been used in your application..
How I can resolve it?

Hope you can help. Thanks
Posted By: Emre

Re: AbSu Water Editor V.1.0.3 - 06/25/09 07:50

Hello boyax,
This is my fault.
i think problem of d3dx9d.lib. (i will change to dxdx9.lib)
Thanks for the feedback.
And maybe you need latest directx update.

Originally Posted By: boyax

Other problem....
I'm using the water editor application you develop...but when I try to publish it (to create an exe), I encounter this error during publish:
Can't open file: 'wt_ed.fx'

You could copy the "absuwaters.wrs" to your publish folder.
----------------------------------------------


Hello HeelX,
I'm still not stable in this subject(new shoreline method).
Now i am working for depthmap (for automatically shore and depth effect).
I think this is much better.
What do you think about this?




Posted By: boyax

Re: AbSu Water Editor V.1.0.3 - 06/25/09 08:38

Thanks.. that solved it.. smile
Posted By: Cowabanga

Re: AbSu Water Editor V.1.0.3 - 06/25/09 09:28

Now i'm gonna stick with my problem forever??
Posted By: Emre

Re: AbSu Water Editor V.1.0.3 - 06/25/09 10:06

Cowabanga,
i don't see any export problem on my computer and other 5 computer.
if you have a export problem with version:1.0.3(right???), so the program can not find the file(s) (image or mdl or wrs whatever). Please check the files and check the paths or download it again. Thank you!
Posted By: Cowabanga

Re: AbSu Water Editor V.1.0.3 - 06/25/09 11:25

Originally Posted By: Emre
if you have a export problem with version:1.0.3(right???), so the program can not find the file(s) (image or mdl or wrs whatever).
Yes, everything is there. confused
Posted By: Andreas C

Re: AbSu Water Editor V.1.0.3 - 07/22/09 14:51

Merhaba Emre,
I looked at your blog-site and I see that version 1.0.4 of the water editor is listed, but ist struck through ... does that mean that 1.0.4 is in development ?

Cheers,
Andreas
Posted By: HeelX

Re: AbSu Water Editor V.1.0.3 - 07/22/09 16:10

Hey Emre, looks nice, but how do you wanna do the shorelines with this technique? Looks interesting, though!
Posted By: Cowabanga

Re: AbSu Water Editor V.1.0.3 - 07/22/09 17:18

Originally Posted By: Andreas C
Merhaba
What in the world is "Merhaba" ??
Posted By: boyax

Re: AbSu Water Editor V.1.0.3 - 07/22/09 17:31

Hi Emre,

I'm also waiting for this...any update? is it still in development? smile

Thanks
Posted By: Quad

Re: AbSu Water Editor V.1.0.3 - 07/22/09 20:45

@cowabanga:

Merhaba = Hello in Turkish.
People generally use "sa" for "hi" online, it is shor for "selamun aleykum" and people generally reply with "as" which is short of "aleykum selam"... but not everyone likes this because sa-as culture is originated from Islam, and not everyone is Muslim.
----

on topic, Emre son durum nedir wink?
Posted By: Cowabanga

Re: AbSu Water Editor V.1.0.3 - 07/22/09 20:50

Aha, because in Arabic, "Marhaba" or "Marhaban" means Hello too. I thought that Andreas was saying a German word or something. It's kinda confusing.
Posted By: Fisch

Re: AbSu Water Editor - 08/03/09 12:48

Thanks. Nice Tool!
Posted By: Emre

Re: AbSu Water Editor - 08/05/09 07:09

Hello everybody,
In fact, I was working a long time for summer contest.
A few weeks ago i sent my demo.
Now, i continue to develop.


@Heelx;
I'm just trying to do like in crysis.
I'm having many problems with other technique.
But you are absolutely right and i still try it.


I'm sorry for the delay but i need time for my many jobs.
it is still in development.
Posted By: Felixsg

Re: AbSu Water Editor - 08/10/09 08:54

thanks for your job
abd good luck in the summer contest (i like to see your shaders)
Posted By: weisl12

Re: AbSu Water Editor - 08/19/09 13:17

hello, i have a problem, a frend of me wrote the code from lite-c in c. but now there came error, that i need the the file "wt_ed.fx" but i can't find it. do you know where does the file is??? or what i can do???

sry for my bad english.
Posted By: Hummel

Re: AbSu Water Editor - 08/19/09 15:38

@Emre:
do you know how Crysis is doing this?
I just used the distance between the water surface and the terrain for my demo, but this gives some hard edges. I also thought about using a heightmap of the terrain to avoid that, but this would be less dynamic and would not work if I add some other models...
Posted By: Emre

Re: AbSu Water Editor - 08/19/09 19:55

Thank you Felixsg.

Originally Posted By: weisl12
hello, i have a problem, a frend of me wrote the code from lite-c in c. but now there came error, that i need the the file "wt_ed.fx" but i can't find it. do you know where does the file is??? or what i can do???

in the "absuwaters.wrs"

@Hummel:
in fact, i don't know how Crysis is doing this. I just use depth render, like aquatica engine or shade-c. i think this is similar to it.





Posted By: Hummel

Re: AbSu Water Editor - 08/20/09 13:32

well, I also use the difference between the depth values of water and environment, but as I mentioned-this creates hard borders in some cases for the shore line mask...
Posted By: theplayer

Re: AbSu Water Editor - 09/29/09 18:28

hi @ all,

ive found your water generator and im really impressed. i have only a "bug" or i am to stupid to export the water. if i click export it comes the error message "Invalid Pointer or handle in".
i load a map, set a water entity, click create water and the export --> error

what do i wrong?

greets theplayer

p.s. is it possible to see the loaded models because my terrain is a heightmap and i dont see it
Posted By: Rondidon

Re: AbSu Water Editor - 10/09/09 15:53

Same bug over here...

"Invalid Pointer or handle in".

Edit: Found the problem! You have to start AddPath.exe and initialize your project folder. Then everything works fine for me.
© 2024 lite-C Forums