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.

Program Announcements / Random Terrain Gen

Author
Message
Chris Franklin
19
Years of Service
User Offline
Joined: 2nd Aug 2005
Location: UK
Posted: 31st May 2006 13:11 Edited at: 31st May 2006 13:32
Hey got my first app made it's nothing Big or amazing i just thought some people might benefit from it It saves as .dbo as well give me a few mins to upload it been as tgc gives a cgi error on upload


Download: http://files.filefront.com/Terrain_genzip/;5097927;;/fileinfo.html

Attachments

Login to view attachments
Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 31st May 2006 16:53
It generates VERY square landscapes as i see.

Chris Franklin
19
Years of Service
User Offline
Joined: 2nd Aug 2005
Location: UK
Posted: 31st May 2006 16:57 Edited at: 31st May 2006 16:58
yea but there is a way to fix that and i'm trying to keep the stuff low poly

Quote: "SET OBJECT SMOOTHING

This command will smooth the sharp edges of the mesh within an object by adjusting the normals data. A
percentage value of zero will perform no smoothing and create a facet surface for each limb within the
object. A percentage value of 100 will perform full smoothing, averaging all normals that share a vertex
position and create a smoothing effect elimiating all edges. A value between these two limits will determine
the degree beyond which an edge will be smoothed or left sharp.

Syntax

SET OBJECT SMOOTHING Object Number, Percentage
"


DB newbie
19
Years of Service
User Offline
Joined: 13th Nov 2005
Location: um..... i dont remember.
Posted: 31st May 2006 18:00
why keep it low poly if its going to be for DBpro because of the .dbo format.

<img src="http://www.boomspeed.com/egraphics/75as4.gif" border="0" title="Adopt_one_today_from_pickle-green.com/egraphics!">
The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 31st May 2006 18:01 Edited at: 31st May 2006 18:02
Quote: "why keep it low poly if its going to be for DBpro because of the .dbo format"


.dbo has nothing to do with how fast the objects will be handled inside DarkBasic. You will only see a greater improvement on the loading times. So higher poly will still mean more for db to handle. Even if it's .dbo.

Chris Franklin
19
Years of Service
User Offline
Joined: 2nd Aug 2005
Location: UK
Posted: 31st May 2006 18:09
Very True Thanks nerd for Explaining that before i found it

Chris Franklin
19
Years of Service
User Offline
Joined: 2nd Aug 2005
Location: UK
Posted: 2nd Jun 2006 01:29
Duke Blue Devils
18
Years of Service
User Offline
Joined: 11th Mar 2006
Location:
Posted: 2nd Jun 2006 02:09
nothing special...


Visit the official Chicago Rush website
http://chicagorush.servegame.com/index.php
Uncle Sam
19
Years of Service
User Offline
Joined: 23rd Jul 2005
Location: West Coast, USA
Posted: 2nd Jun 2006 03:03
Nice mountain ranges.

Uncle Sam
Nvidia Geforce 7600 GS 256MB PCIEx, 2.66 GHZ Pentium 4 proccessor, 768MB RAM
Need particles? Click here!
Chris Franklin
19
Years of Service
User Offline
Joined: 2nd Aug 2005
Location: UK
Posted: 2nd Jun 2006 12:10
@Uncle Sam
Thanks

@DarkBlue
Any idea how many lines this app is? it's near 700

Hawkeye
21
Years of Service
User Offline
Joined: 19th Sep 2003
Location: SC, USA
Posted: 2nd Jun 2006 17:19
And, uhm, so? 700 is TINY. My standard startup codeset is 500 lines alone.


I am but mad north north-west; when the wind is southerly I know a hawk from a handsaw - Hamlet, Hamlet
Chris Franklin
19
Years of Service
User Offline
Joined: 2nd Aug 2005
Location: UK
Posted: 2nd Jun 2006 17:23
Well if noone cares just let this thread die i suppose it was a waste of time making the app

Uncle Sam
19
Years of Service
User Offline
Joined: 23rd Jul 2005
Location: West Coast, USA
Posted: 4th Jun 2006 03:09
Quote: "500 lines alone."


Gahaahaha HAHAHAH HAHA! One of my projects is over 3000 lines! Gahahaahaa! Noob!

I mean, nice.

Uncle Sam
Nvidia Geforce 7600 GS 256MB PCIEx, 2.66 GHZ Pentium 4 proccessor, 768MB RAM
Need particles? Click here!
Freddy 007
19
Years of Service
User Offline
Joined: 30th Nov 2004
Location: Denmark
Posted: 4th Jun 2006 03:27
Quote: "Gahaahaha HAHAHAH HAHA! One of my projects is over 3000 lines! Gahahaahaa! Noob! "


I thought he was talking about his startup code only...

Uncle Sam
19
Years of Service
User Offline
Joined: 23rd Jul 2005
Location: West Coast, USA
Posted: 4th Jun 2006 04:01
Hahaha..haha...ha..ha..um..hehe...well um, he still shouldn't have insulted Chris.

Uncle Sam
Nvidia Geforce 7600 GS 256MB PCIEx, 2.66 GHZ Pentium 4 proccessor, 768MB RAM
Need particles? Click here!
greenlig
21
Years of Service
User Offline
Joined: 30th Aug 2003
Location: Melbourne
Posted: 4th Jun 2006 14:59
yeah lay off the new guys back a bit.

Looks fairly basic man, but i do like how it saves as a .dbo Only problem is that random terrains arent exactly the go here, so why not develop one that you can mould terrains in?

regards,
greenlig

Blender3D - GIMP - WINXP - DBPro
Chris Franklin
19
Years of Service
User Offline
Joined: 2nd Aug 2005
Location: UK
Posted: 4th Jun 2006 15:24
Thanks Greenlig

that's actually a plan for later on

Hawkeye
21
Years of Service
User Offline
Joined: 19th Sep 2003
Location: SC, USA
Posted: 4th Jun 2006 16:24
Actually, the line count doesn't really matter all that much - the functionality matters in the long run. Just look at the 20 line challenges

So yeah, a way to mold the matrix would be good, and perhaps a smoothing function that lessens the peak/valley stuff?


I am but mad north north-west; when the wind is southerly I know a hawk from a handsaw - Hamlet, Hamlet
Chris Franklin
19
Years of Service
User Offline
Joined: 2nd Aug 2005
Location: UK
Posted: 4th Jun 2006 18:25

I'll sort the smoothing out and that soon
Haven't worked on it much since release

Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 4th Jun 2006 22:58
Let's be fair, it does randomise the landscape, and it doesn't to it so it's úber boring, but maybe if you made it vary a little more rather than just raising one huge tile it would be cool.

Chris Franklin
19
Years of Service
User Offline
Joined: 2nd Aug 2005
Location: UK
Posted: 4th Jun 2006 23:23
True plans for v2 are being sorted out now

@Zotoaster
Thanks when will you next be on msn?

Bob da reaper
18
Years of Service
User Offline
Joined: 25th Mar 2006
Location:
Posted: 5th Jun 2006 20:26 Edited at: 5th Jun 2006 20:26
looks ok, i think it would be better if you could choose a texture for the landscape and if you could smooth it

I pwn n00bs - current project "Darkness Falls"
Steve Fash
21
Years of Service
User Offline
Joined: 31st Dec 2002
Location: Doncaster, UK
Posted: 5th Jun 2006 22:06
Interesting...the landscapes remind me of the rainbird stuff from 16bit days (starglider, carrier command and such)


For game/demo music for YOUR PC productions visit:-www.futuredevelopments.org.uk
Chris Franklin
19
Years of Service
User Offline
Joined: 2nd Aug 2005
Location: UK
Posted: 5th Jun 2006 22:51
Thanks Glad you liked it

And thanks to whoever rated it 3 stars for my first complete app

zzz
19
Years of Service
User Offline
Joined: 13th Nov 2005
Location: Sweden
Posted: 8th Jun 2006 21:43
Quote: "Gahaahaha HAHAHAH HAHA! One of my projects is over 3000 lines! Gahahaahaa! Noob! "

3000 isn´t that much...

Chris Franklin
19
Years of Service
User Offline
Joined: 2nd Aug 2005
Location: UK
Posted: 8th Jun 2006 22:32
Quote: "Quote: "Gahaahaha HAHAHAH HAHA! One of my projects is over 3000 lines! Gahahaahaa! Noob! "
3000 isn´t that much...
"


Lol how i like this new system and hawkeye just got owned

Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 8th Jun 2006 23:22
Quote: "Gahaahaha HAHAHAH HAHA! One of my projects is over 3000 lines! Gahahaahaa! Noob! "


Just means his code is more efficient
I bet I could cut your project in half

"Using Unix is the computing equivalent of listening only to music by David Cassidy" - Rob Pike
Chris Franklin
19
Years of Service
User Offline
Joined: 2nd Aug 2005
Location: UK
Posted: 8th Jun 2006 23:29
Quote: "Just means his code is more efficient
I bet I could cut your project in half"

Lol Thanks

BENOJ
18
Years of Service
User Offline
Joined: 17th Mar 2006
Location: UK
Posted: 10th Jun 2006 00:12
how come if you save a flat matrix, it randomises and goes all whirte etc.. instead of stayiong wireframed?



Chris Franklin
19
Years of Service
User Offline
Joined: 2nd Aug 2005
Location: UK
Posted: 10th Jun 2006 00:28 Edited at: 16th Jul 2006 15:26
Why would you want to save a flat matrix tho?

and the white is it converted to a object

Edit:
Only just noticed a typo ages on

Platformer Compo!
WHITEKNUCKLE IS BACK! Check the wip boards for more info

Login to post a reply

Server time is: 2024-11-22 23:22:06
Your offset time is: 2024-11-22 23:22:06