View unanswered posts | View active topics It is currently Fri Dec 27, 2024 8:09 am



Reply to topic  [ 24 posts ]  Go to page Previous  1, 2
 Smexy Polygon Water (Think this might actually be doable) 
Author Message
DRL Developer
DRL Developer
User avatar

Joined: Wed Dec 13, 2006 5:27 am
Posts: 3138
Location: A little south and a lot west of Moscow
Reply with quote
Post Re: Smexy Polygon Water (Think this might actually be doable)
And that would be exactly why nobody is doing it :P


Fri Sep 24, 2010 4:54 am
Profile WWW
User avatar

Joined: Fri Aug 20, 2010 4:45 am
Posts: 911
Location: No Comment.
Reply with quote
Post Re: Smexy Polygon Water (Think this might actually be doable)
Heres a idea im just throwing out in to the public view , what if it was set up like a layer system you have your water as the background and then your background and then for the terrain just cut out areas so you can see the water its not dynamic water , but its close a enough.


Fri Sep 24, 2010 7:13 am
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Smexy Polygon Water (Think this might actually be doable)
Cause that's totally not how every MO is rendered anyway.


Fri Sep 24, 2010 7:14 am
Profile WWW
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: Smexy Polygon Water (Think this might actually be doable)
So exactly like the hydro mod?


Fri Sep 24, 2010 7:39 am
Profile WWW
User avatar

Joined: Wed Aug 11, 2010 2:59 pm
Posts: 19
Reply with quote
Post Re: Smexy Polygon Water (Think this might actually be doable)
I'm thinking about a possible way to do semi-dynamic water.
My method involves deviding the scene into parts; then
assigning each part a status of empty, water, or, solids.
(empty means no settled material, water is where water is,
solids are were settled material inhabits most-all of the part)
In game it would check each part if its status has changed, then
check for empty parts beside or below water, then the water would
move into the empty squares.


Sun Dec 19, 2010 5:44 am
Profile
DRL Developer
DRL Developer
User avatar

Joined: Wed Dec 13, 2006 5:27 am
Posts: 3138
Location: A little south and a lot west of Moscow
Reply with quote
Post Re: Smexy Polygon Water (Think this might actually be doable)
You could do that, but if the scene were divided into 24x24 blocks, for instance, there would be strange-looking holes that it can't fill. If it were smaller blocks, then it would start to lag a lot.


Sun Dec 19, 2010 5:53 am
Profile WWW
Data Realms Elite
Data Realms Elite
User avatar

Joined: Tue May 25, 2010 8:27 pm
Posts: 4521
Location: Constant motion
Reply with quote
Post Re: Smexy Polygon Water (Think this might actually be doable)
Sounds like Spelunker-ed water to me, and would look majorly retro.

I'd give it a go, if I had any idea how to go about it.


Sun Dec 19, 2010 7:30 pm
Profile
User avatar

Joined: Wed Aug 11, 2010 2:59 pm
Posts: 19
Reply with quote
Post Re: Smexy Polygon Water (Think this might actually be doable)
@ The Last Bannana
I was thinking the other way, filling those irregular holes,
but then it might "leak" through your base's wall. I think that
a possible fix to that problem is checking only the pixels next
to the water tiles. And, to simplify stuff, it would only need to define
the squares next to water.
On another note, I would do this, but I am not very capable of writing
lua. (or any other language except english) And before you nail me
on how easy lua is I might as well learn.


Mon Dec 20, 2010 11:03 pm
Profile
DRL Developer
DRL Developer
User avatar

Joined: Wed Dec 13, 2006 5:27 am
Posts: 3138
Location: A little south and a lot west of Moscow
Reply with quote
Post Re: Smexy Polygon Water (Think this might actually be doable)
The main issue with your idea is that it's fairly complicated to do all those checks. You're welcome to give it a try, but I don't think it'll run as well as you're expecting.


Tue Dec 21, 2010 12:20 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 24 posts ]  Go to page Previous  1, 2

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.101s | 14 Queries | GZIP : Off ]