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 Professional Discussion / Smooth matrix hills!?

Author
Message
AnalSauceMonkey
23
Years of Service
User Offline
Joined: 24th Oct 2002
Location: I can't find myself
Posted: 16th Mar 2003 05:57
I know I asked this question before, but nobody gave a good answer. Does anyone know how to make one smooth matrix hill with a set radius? (like magic world does)
Superbeest
23
Years of Service
User Offline
Joined: 9th Mar 2003
Location: Netherlands
Posted: 16th Mar 2003 10:13
You can take the half of the top in every point of the radius and then increase the readius a bit an do the same agian. and again. I thought this was already said, but ok.

Magister Mundi sum!
Terabyte
23
Years of Service
User Offline
Joined: 28th Dec 2002
Location: UK
Posted: 16th Mar 2003 14:23
ive sent you some sorce code
check your email account

I have a word of advice...
..don't piss on an electric fence!
Attreid
23
Years of Service
User Offline
Joined: 27th Nov 2002
Location:
Posted: 16th Mar 2003 14:33
I use another system in my matrix editor :
I set the height of several tiles, and I stock their position in an array (I set 150-200 positions for a 100*100 tiles matrix), and then, I .. I don't know how explain it well in english ..
for each tile, excepted the ones which I chosen first, I set their height 1/6 * the height of all the tiles around it, and I do it until the matrix is as I want ...
here's the système I use in my matrix editor :



I'm the God who made the world in seven lines.
I'm the Evil who destroyed this world in one line.
AnalSauceMonkey
23
Years of Service
User Offline
Joined: 24th Oct 2002
Location: I can't find myself
Posted: 16th Mar 2003 16:33
that snippet is missing its key and cam labels.

Necrym
23
Years of Service
User Offline
Joined: 4th Sep 2002
Location: Australia
Posted: 17th Mar 2003 09:59
why not use magic world..

Watch the bouncing cursor - now in 3d
The Darthster
23
Years of Service
User Offline
Joined: 25th Sep 2002
Location: United Kingdom
Posted: 17th Mar 2003 19:33
I use sin and cos functions to create hills over large radii. It works really well.

Once I was but the learner,
now, I am the Master.
Chief Engineer
23
Years of Service
User Offline
Joined: 26th Feb 2003
Location: United States
Posted: 17th Mar 2003 23:47
Darthster, do you know of a good tutorial that would explain that? using the trig functions i mean?
The Darthster
23
Years of Service
User Offline
Joined: 25th Sep 2002
Location: United Kingdom
Posted: 18th Mar 2003 00:19
I don't know if any tutorials would explain it, I just thought it up in my head one day. I suppose I could write one, but I'm too tired to think at the moment.

Once I was but the learner,
now, I am the Master.

Login to post a reply

Server time is: 2026-07-11 12:01:58
Your offset time is: 2026-07-11 12:01:58