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.

The 20 Line Challenge / MATRIX EDITOR-----Easy Matrix Creation

Author
Message
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 27th Jul 2003 19:42 Edited at: 30th Jul 2003 14:18
***Updated*** Now includes texturing

I decided i needed that dbdn membership and set about writing something that people want and need, and i think i've done it!

It doesn't have many fancy features like more popular matrix editors but it keeps it simple and provides a great base for people to expand on and add there own features.

So my matrix editor currently

Features:
Creation of Matrices of any length/breadth/tile number*
Individual Height Point Editing
Randomize matrix feature
Flatten matrix
Save matrix, so you can use it in your own programs!
Load matrix function
Texture painter and texture flood fill
*limited by db's max number of polygons

Controls:
Mouselook-Camera control
Left mouse-move forward
Right mouse-move backward
Upkey-move editing sphere up(along z axis)
Downkey-move editing sphere down(along z axis)
Rightkey-move editing sphere right(along x axis)
Left key-move editing sphere left(along x axis)
+/- keys- raises/lowers the ground level where the editing sphere is
'r'- randomizes the matrix using the current height as the random seed
'f'-flattens the entire matrix ie, set all groud height to 0
's'-saves the matrix in its current state
spacebar-Paints the currently selected texture to the curren tile
't'-textures the entire matrix with the current selected tile

So here it is!!!


loadmatrix function here:


Use the load matrix function just like any normal function, the file$ is the filename that you specified in the editor, and the image is the same image used in the editor.

Here is an example of how to use it:


And thats about it!
*Note you need to make your texture image or use the one below for it to work now, currently only supports 4 tiles! Remember to save everything in a new project folder.

Thanks
ReD_eYe

I have a website!!!
So go there: http://www.freewebs.com/darkb/index.htm
on second thought you probably shouldn't
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 29th Jul 2003 00:45
I have dbc, wiil try later though if i have time.

---Mattman
DID YOU KNOW THAT ???
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 29th Jul 2003 11:39
the problem with dbc is that it doesn't recognise one of the commands but i can't find out which one grrr

I have a website!!!
So go there: http://www.freewebs.com/darkb/index.htm
on second thought you probably shouldn't
dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 29th Jul 2003 14:58
if you looked in that error line you will see a : : just delete one of the colons and its fixed

anyways, it works, it needs more features though like texturing, there only needs to be a few textures though

goto my website for tutorials, demo`s downloads and more
http://www.darkcoder.co.uk
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 29th Jul 2003 18:18
texturing coming up soon!

I have a website!!!
So go there: http://www.freewebs.com/darkb/index.htm
on second thought you probably shouldn't
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 29th Jul 2003 19:10
Yay!!!

---Mattman
DID YOU KNOW THAT ???
Ocean Runner
21
Years of Service
User Offline
Joined: 18th May 2003
Location: United States
Posted: 29th Jul 2003 20:05
Yours is a lot better than mine. lol

JetRace coming. Watch out!
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 29th Jul 2003 21:01
i dunno? with a little bit of improvement yours could be great! its a good idea the way you use texturing to highlight which bit your raising! maybe raise each corner of the tile so 4 points are raised at once, like in matedit

I have a website!!!
So go there: http://www.freewebs.com/darkb/index.htm
on second thought you probably shouldn't
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 30th Jul 2003 14:21 Edited at: 31st Jul 2003 11:35
Updated the code to include texturing!!!
you can use this for the matrix texture

if it doesn't work right click and copy into browser or click here
http://www.freewebs.com/darkb/image.jpg

I have a website!!!
So go there: http://www.freewebs.com/darkb/index.htm
on second thought you probably shouldn't
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 31st Jul 2003 22:25
just tried in DBC. Umm, i can't see the sphere, and i zoomed in...

---Mattman
DID YOU KNOW THAT ???
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 31st Jul 2003 23:14
sorry mattman i think its only working in pro now

I have a website!!!
So go there: http://www.freewebs.com/darkb/index.htm
on second thought you probably shouldn't
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 31st Jul 2003 23:30
oh... can you send me an exe?

---Mattman
DID YOU KNOW THAT ???
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 4th Aug 2003 13:45
anyone else tried it/liked it?????

I have a website!!!
So go there: http://www.freewebs.com/darkb/index.htm
on second thought you probably shouldn't
granada
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 4th Aug 2003 20:21
Quote: "anyone else tried it/liked it?????"


liked it a lot,thanks ReD_eYe

dave

just trying to learn
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 5th Aug 2003 14:22
cool!

I have a website!!!
So go there: http://www.freewebs.com/darkb/index.htm
on second thought you probably shouldn't
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 6th Aug 2003 18:22
geez does no one post in 20 line forums anymore? 269 views and only 14(15 now) replies of which 8 of them are mine, please guys can i can get some more feedback, anything you like/dislike/needs to be added???

I have a website!!!
So go there: http://www.freewebs.com/darkb/index.htm
on second thought you probably shouldn't
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 8th Aug 2003 03:54
I woulds if it was an .exe

---Mattman
DID YOU KNOW THAT ???
Quote: "Life Is Short" That's a bummer
Falelorn
21
Years of Service
User Offline
Joined: 19th Jun 2003
Location: Canada
Posted: 8th Aug 2003 10:48
Im a DBpro n00b is there a way I can slow it down, a little click and the matrix is gone
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 8th Aug 2003 13:07
you must have a very fast computer! heres one which should slow it down


if not if you use the search option in dbpro find sync rate and set it to a lower value

I have a website!!!
So go there: http://www.freewebs.com/darkb/index.htm
on second thought you probably shouldn't
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 8th Aug 2003 13:28
mattman heres an .exe of the editor but load matrix won't work, i can't work out why.
http://homepage.ntlworld.com/kay.pierce/MATEXE.zip

I have a website!!!
So go there: http://www.freewebs.com/darkb/index.htm
on second thought you probably shouldn't
Falelorn
21
Years of Service
User Offline
Joined: 19th Jun 2003
Location: Canada
Posted: 8th Aug 2003 20:58
P4 1.5Ghz
512mb RAM
Gforce MX2 64mb
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 8th Aug 2003 21:08
faster than mine! that some pretty good specs, does it work now?

I have a website!!!
So go there: http://www.freewebs.com/darkb/index.htm
on second thought you probably shouldn't
Falelorn
21
Years of Service
User Offline
Joined: 19th Jun 2003
Location: Canada
Posted: 8th Aug 2003 23:53
fantastic, its very good.
Falelorn
21
Years of Service
User Offline
Joined: 19th Jun 2003
Location: Canada
Posted: 9th Aug 2003 12:17
Quicky question, and very n00b.. But the matrix length and matrix width, is that in pixels?

Are you working on a Load option to modify matrix that are created?
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 9th Aug 2003 20:49
i'm not sure to be honest what length and width are measured in, it may well be pixels, i don't think i will make a load options in the editor, at least not right now, its very hot in england

I have a website!!!
So go there: http://www.freewebs.com/darkb/index.htm
on second thought you probably shouldn't
UberTuba
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Brittania
Posted: 10th Aug 2003 02:12
its not in pixels. is eithe dbu (darkbasic units) or number of tiles.
and as 4 posts ur better of at rgt in the abnnouncements board.
generally people dont even open the board, let alone post.

the artist formally known as darkfluff
UberTuba
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Brittania
Posted: 10th Aug 2003 02:19
good but needs sync.
easier to use than matedit, although i wouldnt use it over a heightmap.mebbe you could make a proggie that used the clipboard
to render a matrix made in say psp

the artist formally known as darkfluff
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 10th Aug 2003 11:50
thanks eek, it does have a sync in there though

I have a website!!!
So go there: http://www.freewebs.com/darkb/index.htm
on second thought you probably shouldn't
UberTuba
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Brittania
Posted: 10th Aug 2003 13:12
i mean sync rate

the artist formally known as darkfluff
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 10th Aug 2003 23:22
there is a sync rate command!

I have a website!!!
So go there: http://www.freewebs.com/darkb/index.htm
on second thought you probably shouldn't
Falelorn
21
Years of Service
User Offline
Joined: 19th Jun 2003
Location: Canada
Posted: 10th Aug 2003 23:40
Eek he slowed it down when I said it was to fast. Works so well now.
Hamish McHaggis
21
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 11th Aug 2003 14:49
Once I shortened the lines to fit in DBC it worked fine. You could do with adding some sort of a smooth raise and lower that uses sin waves to create flowing hills. Its looking pretty good otherwise.

cuRant PRogekt: a three-de map editer
Why the hell'd you ask me for crying out loud!?!
Athelon XP 1400 Plus - Nvidia Geforce MX400 - 256mb RAM
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 12th Aug 2003 12:07
i don't suppose you'd like to give me teh codez? i suck at trig in general could you post the version that works in dbc for other people to use?

I have a website!!!
So go there: http://www.freewebs.com/darkb/index.htm
on second thought you probably shouldn't
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 19th Aug 2003 19:39
Yes!!! Plez o plez o plez!!!
Falelorn
21
Years of Service
User Offline
Joined: 19th Jun 2003
Location: Canada
Posted: 20th Aug 2003 07:34
Is there a way to use more then 4 textures?
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 21st Aug 2003 18:20
you can most certainly make it use more than 4 textures, i'm abit busy at the moment but if you want to do it yourself just change the prepare matrix texture command and allow the user to change the 'cursel' variable

I have a website!!!
So go there: http://www.freewebs.com/darkb/index.htm
on second thought you probably shouldn't
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 28th Aug 2003 22:57
nooooooooooooooooooooo! the newsletter says theres no winner for this month!!! damn everything!!!


Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 29th Aug 2003 00:39
i know!

Got a knack for finding secrets??? Jingot Racing --- A new brand of Racing --- Only from Nightwatch Studios
Falelorn
21
Years of Service
User Offline
Joined: 19th Jun 2003
Location: Canada
Posted: 29th Aug 2003 04:25
They should allow forum members to vote.
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 29th Aug 2003 11:55
that would be cool, can we do polls on this forum?


Login to post a reply

Server time is: 2024-11-21 17:07:37
Your offset time is: 2024-11-21 17:07:37