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 / DBPro+DarkPhysX: Realtime breakable trees (more to come) wip, VIDEO and DEMO

Author
Message
Master Xilo
17
Years of Service
User Offline
Joined: 8th Sep 2006
Location: Bern, Switzerland
Posted: 14th Jan 2008 21:20 Edited at: 19th Aug 2008 21:42
I'm pleased to present you my:


REALTIME BREAK ENGINE
Engine by Hurricane-Eye Entertainment

->Site<-


It currently only supports cylinders, you can break them apart or use a saw. I got the idea while playing Crysis...
It's a weekend work.

DEMO

break.zip of size 5.7 MB
http://www.file-upload.net/download-1054109/break.zip.html

Quote: "aswd = move
mmb = look
lmb = break
rmb = saw
return = make new trees
space = delete everything (except for one [BUG])"


HAVE FUN!


MAKE SURE YOU HAVE THE LATEST DIRECTX INSTALLED!
MAKE SURE YOU HAVE THE AGEIA PhysX Drivers INSTALLED!

VIDEOS



© 2007 Hurricane-Eye Entertainment


Alsan
18
Years of Service
User Offline
Joined: 20th May 2005
Location: Germany - Nähe Kassel
Posted: 14th Jan 2008 21:46 Edited at: 14th Jan 2008 21:46
That's impressive!

Haven't tried the Demo yet (have to go to bed now *tired*) but the video is just awesome!

Omega gamer 89
16
Years of Service
User Offline
Joined: 10th Sep 2007
Location: Pittsburgh, PA
Posted: 14th Jan 2008 21:54
Win. on an epic scale. you, my friend, are a mad genius.

...but I am the ferret king!!!! BWAHAHAHAHAHAHA!!!! tremble before my ferret minions!

kaedroho
16
Years of Service
User Offline
Joined: 21st Aug 2007
Location: Oxford,UK
Posted: 14th Jan 2008 22:06
wow this is amazing
Ric
19
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 15th Jan 2008 01:34
You're a lumberjack and you're ok!

Could be useful for a cooking game where you have to slice carrots as quickly as possible.



Visit www.andromedus.com today!
jasonhtml
20
Years of Service
User Offline
Joined: 20th Mar 2004
Location: OC, California, USA
Posted: 15th Jan 2008 01:39
very cool!

CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 15th Jan 2008 01:43
nice work. are all the cuts always 90 degrees to the cylinder y or can it allow for irregular angled cuts?

like lets say this is a log laying down:

=========

currently you can cut like

====| |====

but can you cut like

====/ /====


just curious

My DBP plugins page is now hosted [href]here[/href]
Sid Sinister
18
Years of Service
User Offline
Joined: 10th Jul 2005
Location:
Posted: 15th Jan 2008 02:31
WOW - this IS amazing. Very cool dude, VERY cool. Man, I can already think of so many different applications for this. There is like a plethora of fun games you can make with this concept alone. Nice work =]

"If I have seen a little further it is by standing on the shoulders of Giants" -Isaac Newton
Todd Riggins
19
Years of Service
User Offline
Joined: 29th Oct 2004
Location: Texas, USA
Posted: 15th Jan 2008 02:53
Video looks very cool!
Tried to run the demo on my laptop, I get a black screen with these numbers displaying in the top right corner of screen:

66
84
0
0
5

I have the latest gfx drivers and physx drivers. I have the august 2007 dx sdk, im downloading now the november 07 dx sdk to see if that helps any.

Alienware laptop: GeForce 6800 ultra 256Meg VRam, 2Gig Ram, 3.2GHrtz CPU

Inspirational Music: Descent ][ Redbook Audio CD Soundtrack
jason p sage
16
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 15th Jan 2008 02:58
Well done - but don't think you invented the chain saw

Can you imagine a chain saw that could do that? ... Shoot or a light Saber/ e-Gads - that is a deadly mouse cursor you have!

Seriously - good work. I like how your system did bog down badly and how Dark Physics/PhysX make the "stopped" stuff hibernated so they don't keep sucking processing power.

Great Job.

BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 15th Jan 2008 03:20
I really want to try that - it looks uber-fun!

However, I got an error that said something about not being able to load d3dx9_35.dll

I have all the Nvidia drivers and, of course, Direct X.


[i]"Grow food in dirt? Save time — eat dirt."[i]
QuothTheRaven
21
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 15th Jan 2008 06:57
Just to clarify, this was my idea first, completely trademarked: http://forum.thegamecreators.com/?m=forum_view&t=93787&b=1. Just to make sure I get the credit for this. Nice try stealing my idea, jerk.

(Just kidding)

Out of curiosity, how do you handle capping the pieces that you cut? Do you actually use mesh manipulation to break up the trees, or just make a new cut object of a certain height when you chop?

PS Not really kidding.

Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 15th Jan 2008 07:36
Very cool. So how's it done?

BillR
21
Years of Service
User Offline
Joined: 19th Mar 2003
Location: United States
Posted: 15th Jan 2008 08:52
SIMPLY AMAZING!

That is so impressive it's scary!

Holding the RMB down while sliding down a tree....or
multiple clicking the LMB as you move down a tree....Unbelievable!

GREAT JOB!
Omega gamer 89
16
Years of Service
User Offline
Joined: 10th Sep 2007
Location: Pittsburgh, PA
Posted: 15th Jan 2008 16:23
@ todd Riggins:
You have to create the trees by pushing return. Each time you push it, a new tree will appear. The TC explains the controls in the first post.

...but I am the ferret king!!!! BWAHAHAHAHAHAHA!!!! tremble before my ferret minions!

Master Xilo
17
Years of Service
User Offline
Joined: 8th Sep 2006
Location: Bern, Switzerland
Posted: 15th Jan 2008 18:51
@Todd Riggins:
have you tried to move and look around?

Quote: "aswd = move
hold middlemousebuotton = look"


@QuothTheRaven:
"Nov 2006"
But that was a long time ago and only theory...

Anyway
dark coder
21
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 15th Jan 2008 19:03
It's a nice demo, are you going to release the code? As a lot of people in this community like tearing code examples apart.

david w
18
Years of Service
User Offline
Joined: 18th Dec 2005
Location: U.S.A. Michigan
Posted: 15th Jan 2008 21:18
if your not gonna post the code that is cool. But could you at least expalin the the steps you take to make this happen.
Todd Riggins
19
Years of Service
User Offline
Joined: 29th Oct 2004
Location: Texas, USA
Posted: 15th Jan 2008 22:06 Edited at: 15th Jan 2008 23:36
doh! sry, my bad.

I had a full 5 minutes of play and had to force myself to press the escape key! Very impressive!

That would be cool to see you attempt splinters. Sort of like the the star wars:force unleash techdemo.

Inspirational Music: Descent ][ Redbook Audio CD Soundtrack
Savage
18
Years of Service
User Offline
Joined: 22nd Aug 2005
Location: Under a chair
Posted: 12th Feb 2008 17:37
Very impressive! I would love to see some code/more information on this.

AMD Athlon 64 X2 Dual Core 4200+ (2.19 GHz)
Xsnip3rX
17
Years of Service
User Offline
Joined: 20th Feb 2007
Location: Washington State
Posted: 12th Feb 2008 19:27
"It's a nice demo, are you going to release the code? As a lot of people in this community like tearing code examples apart."

guess not

TinTin
17
Years of Service
User Offline
Joined: 16th May 2006
Location: BORG Drone Ship - Being Assimilated near Roda Beta (28)
Posted: 12th Feb 2008 21:49
I've just posted your demo off to Green Peace, I'm sure they'll be impressed also, hehe

Cyberspace was becoming overcrowded and slummy so I decided to move. These nice chaps gave me a lift.
Nemesis_0_
20
Years of Service
User Offline
Joined: 26th Dec 2003
Location: Canada
Posted: 12th Feb 2008 23:14
Quote: "Just to clarify, this was my idea first, completely trademarked: http://forum.thegamecreators.com/?m=forum_view&t=93787&b=1. Just to make sure I get the credit for this. Nice try stealing my idea, jerk.

(Just kidding)

Out of curiosity, how do you handle capping the pieces that you cut? Do you actually use mesh manipulation to break up the trees, or just make a new cut object of a certain height when you chop?

PS Not really kidding.
"


Look at star wars the force unleashed...This is kinda like and early form of Digital Molecular Matter... which is NOT yours :p
BiggAdd
Retired Moderator
19
Years of Service
User Offline
Joined: 6th Aug 2004
Location: != null
Posted: 13th Feb 2008 01:31
Thats pretty smart.

nadako
16
Years of Service
User Offline
Joined: 9th Nov 2007
Location:
Posted: 13th Feb 2008 02:15
omg how did you do that? I would like to see the code but i probly wont be able to desaphire it.

Matthew Montgomery
nadako
16
Years of Service
User Offline
Joined: 9th Nov 2007
Location:
Posted: 13th Feb 2008 02:29
glue object to limb/unglue object maybe? Like make a bunch of limbs in the tree and every time you move over the tree it unglues maybe?

Matthew Montgomery
Master Xilo
17
Years of Service
User Offline
Joined: 8th Sep 2006
Location: Bern, Switzerland
Posted: 13th Feb 2008 21:24 Edited at: 13th Feb 2008 21:27
no, nadako, the break positions are exactly where you click.
It calculates two new trees and deletes the original everytime you click.

I've also added planks (now, no more textures, just to make it look like an engine)

EDIT: and different sizes

Roxas
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 13th Feb 2008 22:26
So you cant cut sideways ?


Click For Details!
draknir_
17
Years of Service
User Offline
Joined: 19th Oct 2006
Location: Netherlands
Posted: 14th Feb 2008 16:49
wow, i missed this before, looks terrific! Id love to see it implemented in a game
Visigoth
19
Years of Service
User Offline
Joined: 8th Jan 2005
Location: Bakersfield, California
Posted: 15th Feb 2008 01:33
this is one of the coolest things I've seen here. Very good job. I've only watched the video, but I intend to play with the demo tonight. Again, very nice work.
Lover of games
19
Years of Service
User Offline
Joined: 17th Apr 2005
Location:
Posted: 1st Mar 2008 16:09
uh, any way we could get the source?

"Originally I was going to have a BS on it but you know how that would be. I can't walk around with the letters BS on me." More or less a qoute by Syndrome from Jack, Jack, attack
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 1st Mar 2008 16:23
Nice, you got in the newsletter!

mr Handy
16
Years of Service
User Offline
Joined: 7th Sep 2007
Location: out of TGC
Posted: 5th Mar 2008 10:14
Yeah, you beat Crysis!

Not the code, but tutorial at least?
Teazer isnogood =)

PS Now i'm certainly want to buy DPhysics!

A door is a door is a door. Even a swinging one. =0
Dark Game SDK
18
Years of Service
User Offline
Joined: 9th Sep 2005
Location:
Posted: 5th Mar 2008 18:01
This is a impressing demo.

You mentioned the trick that you calcucalate two new trees and delete the original one.

Would you post a short code snippet? That would be great.
zzz
18
Years of Service
User Offline
Joined: 13th Nov 2005
Location: Sweden
Posted: 7th Mar 2008 15:32
A simple idea and a great result, nice work dude!

jeffhuys
17
Years of Service
User Offline
Joined: 24th May 2006
Location: No cheesy line here.
Posted: 15th Mar 2008 22:03
Thumbs up! If I only had more than 2 thumbs!


You're the 'th to view this signature!
greenlig
20
Years of Service
User Offline
Joined: 30th Aug 2003
Location: Melbourne
Posted: 17th Apr 2008 18:48
Only just saw this, and probably reviving an old thread, but great work there man. Very impressive stuff. I just spent 15 minutes doing cool cutting things. Is there a new iteration happening?

Greenlig

Blender3D - GIMP - WINXP - DBPro
sindore
19
Years of Service
User Offline
Joined: 2nd Jul 2004
Location: Bedfordshire, UK
Posted: 7th May 2008 04:33 Edited at: 7th May 2008 04:44
Master Xilo just to pick your brains, could I make some small changes to this code



and end up with a tree cutter like yours?

soul sucking devils, twisted body of the damed, slivering slim drips from ever poor, sin licking at your ears, and the smell stinging your eyes, and if you don't like it, get out of my kitchen!....
bergice
16
Years of Service
User Offline
Joined: 5th Jun 2007
Location: Oslo,Norway
Posted: 19th Jun 2008 23:32
Great work man!
How did you cut them?


Programming Recorder: 3,0 months of dark basic
Master Xilo
17
Years of Service
User Offline
Joined: 8th Sep 2006
Location: Bern, Switzerland
Posted: 20th Jul 2008 03:28
Quote: "but great work there man"

Quote: "Great work man!"

Quote: "nice work dude!"

Quote: "This is a impressing demo."

Quote: "Thumbs up! "

Quote: "Yeah, you beat Crysis!"

And all the others: Thank you!

I fixed the link, so everyone else can try it.

slon
15
Years of Service
User Offline
Joined: 7th Jul 2008
Location:
Posted: 19th Aug 2008 21:36
can someone re-pack (rar) it please coz im getting error trying to unzip! thank You!
Master Xilo
17
Years of Service
User Offline
Joined: 8th Sep 2006
Location: Bern, Switzerland
Posted: 19th Aug 2008 21:41
I also got an error when trying to unzip it, strange.

...reuploaded it...

slon
15
Years of Service
User Offline
Joined: 7th Jul 2008
Location:
Posted: 20th Aug 2008 01:45 Edited at: 20th Aug 2008 01:51
ok i was able to unzip this file on nokia phone! i did repack it with winrar 3.62!

it's probably vista issue im on ultimate 64 bit

rar file atached below <download>

Attachments

Login to view attachments
Master Xilo
17
Years of Service
User Offline
Joined: 8th Sep 2006
Location: Bern, Switzerland
Posted: 7th Nov 2008 19:49 Edited at: 7th Nov 2008 19:49

Login to post a reply

Server time is: 2024-04-19 13:56:44
Your offset time is: 2024-04-19 13:56:44