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.

Newcomers DBPro Corner / Making a level?

Author
Message
Big Man
19
Years of Service
User Offline
Joined: 4th Feb 2005
Location: BEHIND YOU!!!! (but I live in England)
Posted: 19th Mar 2006 22:05
hi

To tell the truth I have never really tackled a full 3D game before but I am a very compitent coder so I should be alright there.

In my game it starts off in the arctic, I want to get a snowy terrain but I dont know how to go about doing this I have created a pretty good terrain in Magic world but i cant seem to save it as .x format and I ideally dont want to get a converter.

Are there any other ways of creating this sort of terrain that you could tell me about or can you save as .x in Magic world.

Any help would be great.

Cheers

BM

Our aim is to keep the loo's clean, your aim can help.
FeelX
19
Years of Service
User Offline
Joined: 26th Feb 2005
Location: Somewhere in Germany
Posted: 19th Mar 2006 22:25
Hi,
Magic World is afaik a matrix editor, so you can't export it to the DirectX format if the editor doesn't support it (and it doesn't if i remember right). But what you can do is loading the matrix with the included loading function.
Tip: Center the matrix at 0,0 in the editor, I remember a bug whith a offsetted matrix where the get ground height() function didn't work correctly...

P.s.: Please excuse my english
Acolyte Entertainment
19
Years of Service
User Offline
Joined: 28th Dec 2004
Location: Oregon, US
Posted: 19th Mar 2006 22:56
I find it a hastle to apply terrain collision to an X object. so what i would do is use a matrix and randomize it.
if you have mountaions and such that you want then it will get alot more difficult.
this is where height maps come in. I found this snippet of code that takes a bitmap and makes it
into a 3d matrix depending if certain spots are darker or lighter. if you are interested in this please reply for the code.

good luck,
~Snowfall

Big Man
19
Years of Service
User Offline
Joined: 4th Feb 2005
Location: BEHIND YOU!!!! (but I live in England)
Posted: 20th Mar 2006 08:07
yes please

Our aim is to keep the loo's clean, your aim can help.
Big Man
19
Years of Service
User Offline
Joined: 4th Feb 2005
Location: BEHIND YOU!!!! (but I live in England)
Posted: 21st Mar 2006 17:15
snowfall are you there?

I said yes please

BM

Our aim is to keep the loo's clean, your aim can help.
Acolyte Entertainment
19
Years of Service
User Offline
Joined: 28th Dec 2004
Location: Oregon, US
Posted: 22nd Mar 2006 02:22
Ah, sorry, yeah. here ya go:



at the start of your program use:



and here is the image you can test out on:

Attachments

Login to view attachments
Silent Knight
19
Years of Service
User Offline
Joined: 25th Jan 2005
Location: In Your Mind
Posted: 22nd Mar 2006 03:42
maybe you could make a really thin, quite large box in a 3d modeller of your choice. Then add bumps and mountains, then make the sharp points rounded and smooth to give the snowfall effect. Grab a texture that looks like snow, then when you load it in game, just give it a huge scale factor. Might take up a fair bit of detail, but its worth a shot.

Only when the last tree is cut, the last river is dammed, and the last spot of ground is paved will we realize we can't eat money
Big Man
19
Years of Service
User Offline
Joined: 4th Feb 2005
Location: BEHIND YOU!!!! (but I live in England)
Posted: 22nd Mar 2006 21:20
Thanks snowfall

@Silent knight That might be a bit more trouble than its worth.
Thanks for the idea anyway.

BM

Our aim is to keep the loo's clean, your aim can help.
Big Man
19
Years of Service
User Offline
Joined: 4th Feb 2005
Location: BEHIND YOU!!!! (but I live in England)
Posted: 22nd Mar 2006 21:24
Wow I just tested what you gave me snowfall and it is really good thanks man

BM

Our aim is to keep the loo's clean, your aim can help.

Login to post a reply

Server time is: 2024-11-27 01:51:00
Your offset time is: 2024-11-27 01:51:00