Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / sea on matrix

Author
Message
ClearCoder
22
Years of Service
User Offline
Joined: 27th Feb 2003
Location: United Kingdom
Posted: 27th Apr 2003 19:06
Is there any easy way to make a set sea level on a matrix cause i designed one in magic world which has sea built in but the sea is gone when i load that matrix into DB.
seeya
dudeman
Newbie Now; Expert Later
Current project: non
http://www26.brinkster.com/dudemansoftware/
ClearCoder
22
Years of Service
User Offline
Joined: 27th Feb 2003
Location: United Kingdom
Posted: 27th Apr 2003 19:32
another matrix question is how do you texture specfic part on the matrix e.g. mountain beaches

Newbie Now; Expert Later
Current project: non
http://www26.brinkster.com/dudemansoftware/
Mr Underhill
22
Years of Service
User Offline
Joined: 23rd Apr 2003
Location: The Forgotten Worlds...
Posted: 7th May 2003 09:12
hmm...unless you want to to waves, you could use a big, ghosted plain.
If you want waves, just make and randomize a new matrix and then make a function/subroutine to handle the waves (might want to steal it from the Jetski demo ). Just be careful about the waves poking up out of the rest of the world...

"Not all that is gold does not glitter, not all those who wander are lost, not all that is old does not whither, deep roots are not reached by the frost..." - Aragorn (Strider)
Mr Underhill
22
Years of Service
User Offline
Joined: 23rd Apr 2003
Location: The Forgotten Worlds...
Posted: 7th May 2003 09:18
As for the second question, you have Magic World so you can click the paintbrush, select a texture piece, and paint the texture on the tiles you want. When you save the world, you should be set.
Easy enough, right?

"Not all that is gold does not glitter, not all those who wander are lost, not all that is old does not whither, deep roots are not reached by the frost..." - Aragorn (Strider)
Beta1
22
Years of Service
User Offline
Joined: 28th Dec 2002
Location:
Posted: 7th May 2003 18:32
I came up with a rather nice sea effect using 2 planes, one ghosted, one not. Position the ghosted one slightly above the other, texture them both with some suitable sea texture and scroll the textures on the two plains at slightly different rates, if the texture has ripples/waves you get a kind of interference effect which looks quite nice.

ClearCoder
22
Years of Service
User Offline
Joined: 27th Feb 2003
Location: United Kingdom
Posted: 7th May 2003 19:29
thx beta i'll try that
seeya
dudeman

Newbie Now; Expert Later
Current project:The Sorus
Beta1
22
Years of Service
User Offline
Joined: 28th Dec 2002
Location:
Posted: 7th May 2003 19:46
I also found if you turn the sea planes ambient light flag to off (using the set object command) you get a really bright sparkly sea. Of course if your looking for dark and windswept dont try this)

John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 7th May 2003 21:15
Heh beta that is similiar to the effect used in Eternal Destiny

Current Project: Eternal Destiny
Tech Demo - Colan Island: Currently 716 Lines
ClearCoder
22
Years of Service
User Offline
Joined: 27th Feb 2003
Location: United Kingdom
Posted: 7th May 2003 21:26
for waves i made a sequence that make that make my sea go up and down but when i flicks from up to down and down to up in flick black for a sec heres the code


kay
thx
dudeman

Newbie Now; Expert Later
Current project:The Sorus
Hell IVIonkey
22
Years of Service
User Offline
Joined: 1st Apr 2003
Location: Outer Limits
Posted: 7th May 2003 21:56 Edited at: 7th May 2003 21:57
What looks really neat is when you use SIN-related motion for the water, since ocean waves are roughly approximated by sine waves. I don't have a formula for you though.

Login to post a reply

Server time is: 2025-05-17 19:02:14
Your offset time is: 2025-05-17 19:02:14