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 / Dynamic terrain, like in Red Faction, any ideas?

Author
Message
jlahtinen
16
Years of Service
User Offline
Joined: 26th Oct 2009
Location: Finland
Posted: 4th Oct 2012 14:13
Like this game: http://youtu.be/9Uppaz0T1wQ?t=6m52s

Anyone has ideas how to make on Darkbasic? Is that made with voxels in Red faction? Or can it be made with some object point (vertice?) manipulation?
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 4th Oct 2012 14:34
Wiki

it is explained there

jlahtinen
16
Years of Service
User Offline
Joined: 26th Oct 2009
Location: Finland
Posted: 4th Oct 2012 14:43
"GeoMod creates special objects which represent empty space. When, for example, an explosion blows a hole in a rock wall, the GeoMod technology creates an "empty space" object which is the approximate size and shape of the explosion."

Hmm, I may sound bit noob, but is this even possible with Darkbasic?

Thanks for the link.
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 4th Oct 2012 14:51 Edited at: 4th Oct 2012 14:53
I personally can only think of...

INTERSECT OBJECT


But it is apparrently sloooooow... alternatively a minecraft style world would make things simple

EDIT

Woops... I did not read it... hang on...

HERE THIS LOT:

PERFORM CSG UNION
PERFORM CSG DIFFERENCE
PERFORM CSG INTERSECTION
PERFORM CSG CLIP
PERFORM CSG UNION ON VERTEXDATA
PERFORM CSG DIFFERENCE ON VERTEXDATA
PERFORM CSG INTERSECTION ON VERTEXDATA

See why intersection came to mind lol...

Mr Bigglesworth
18
Years of Service
User Offline
Joined: 4th Mar 2008
Location:
Posted: 4th Oct 2012 17:26
It is very possible using these commands:
Quote: "Woops... I did not read it... hang on...

HERE THIS LOT:

PERFORM CSG UNION
PERFORM CSG DIFFERENCE
PERFORM CSG INTERSECTION
PERFORM CSG CLIP
PERFORM CSG UNION ON VERTEXDATA
PERFORM CSG DIFFERENCE ON VERTEXDATA
PERFORM CSG INTERSECTION ON VERTEXDATA"
Mobiius
Valued Member
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 9th Oct 2012 19:25
I had this idea once before. I discovered that the CSG commands are bad for it. I tried it once, it seems to increase some poly/vertex count thing internal exponentially, so the more you use it on a single object, the slower it gets.

Vertex manipulation is one idea, but again, isn't the best.

I live for video games! (And beers, and football, and cars!)
See what I live for here: [url]http:\\www.TeamDefiant.co.uk[/url]
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 9th Oct 2012 19:32 Edited at: 9th Oct 2012 21:33
Quote: "alternatively a minecraft style world would make things simple"


I did suggest an easier method ^^

There are old tricks such as creating walls whereby after blowing them up there are rock pieces inside... which only spawn when the wall section is destroyed or unculled...

Whats that other system called...

Brain is dry today but hopefully someone will mention it... [going to hopefully watch Batman Rises again shortly so maybe my brain will wake up later]

EDIT

Decided eventually to just save the money instead...

Jean Philippe
18
Years of Service
User Offline
Joined: 10th Jul 2007
Location:
Posted: 12th Oct 2012 23:37 Edited at: 12th Oct 2012 23:41
Here is what I have done with 2 matrix, but there is a lot of tiles wasted and you can't exactly do tunnels above/under each other so far.

Maybe I'll improve it to solve those to problems by making matrix while the game is running.
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 13th Oct 2012 04:01
wow that is creepy cool!

Login to post a reply

Server time is: 2026-07-07 17:31:33
Your offset time is: 2026-07-07 17:31:33