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.

NVIDIA Competition 2008 / [PhysX Comp 2008] Darkcoder's entry

Author
Message
sindore
21
Years of Service
User Offline
Joined: 2nd Jul 2004
Location: Bedfordshire, UK
Posted: 9th Sep 2008 18:32 Edited at: 9th Sep 2008 21:23
nice one darkcoder I like your new video, and warter with force feilds was cool.

still havent got my head around the hole 2D to 3D mouse thing but I`m getting there.

http://forum.thegamecreators.com/?m=forum_view&t=136675&b=30&p=0

Dark coder can I pick your brain again?
if so look at the like I`v added and see the code I`v posted there.
I`v got the ray cast to move with the mouse but can`t get it to stop scetching out.

please help.

soul sucking devils, twisted body of the damed, slivering slim drips from every poor, sin licking at your ears, and the smell stinging your eyes, and if you don't like it, get out of my kitchen!
Airslide
21
Years of Service
User Offline
Joined: 18th Oct 2004
Location: California
Posted: 12th Sep 2008 05:37
This is really cool, I'd love to try it

CoffeeGrunt
18
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 13th Sep 2008 16:00
Same. Because I suck with DBP lol.....

dark coder
23
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 13th Sep 2008 17:55
Quote: "Don`t suppose you`ll be letting any of your tricks `out of the bag` once you`ve won this?"


Which ones?

Quote: "Dark coder can I pick your brain again?"


No.

James H
19
Years of Service
User Offline
Joined: 21st Apr 2007
Location: St Helens
Posted: 13th Sep 2008 19:00
The shockwave was pretty cool and how are you doing the projectiles - are they actually physics controlled : are you performing manual rotation first then applying a force for direction, or are you rotating using forces on the required axis first? Are the light shafts some sort of inversion of evolveds light shafts demo? Have you found a way to manually position the soft body on the DB pyramid or is it held in place by the pyramids physics or maybe a forcefield?
Also how many cameras are used for the scene- what kind of framrate did you get/would have got in that vid? What is your hardware - 1 or 2 cards?
Have you released, do you ever intend to release your water shader - or maybe your shadow shaft effect or can you explain how its done if its not evolveds.
If you get any time to answer these it would be appreciated, cheers and good luck
dark coder
23
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 13th Sep 2008 19:48 Edited at: 13th Sep 2008 19:49
Quote: "The shockwave was pretty cool and how are you doing the projectiles - are they actually physics controlled : are you performing manual rotation first then applying a force for direction, or are you rotating using forces on the required axis first?"


The shockwave isn't physics controlled, it uses my own particle system and I just apply the force in a circle using sin/cos for the x/z velocities.

Quote: "Are the light shafts some sort of inversion of evolveds light shafts demo?"


All the shaders in this project are written by me, the shadow shafts actually use the shadow mapping of the objects, only it's applied to a series of camera-space quads that gradually get farther away depending on the distance to the camera. Their alpha is 1.0 / planeCount, so the amount of planes just changes the quality of the effect. Because it uses the shadow depth-maps it's amazingly simple to implement, no more cameras required, just a single shader for the planes and the plane object. The slowdown is merely due to the pixel shader's shadow lookup which can be very intensive for higher display resolutions as you can end up doing 83 million depth comparisons at my native 1280x1024 with 64 slices. Though in the videos I used the default 800x600 window so it's far less.

Quote: "Have you found a way to manually position the soft body on the DB pyramid or is it held in place by the pyramids physics or maybe a forcefield?"


There is no way to manually position soft bodies with the current wrapper(short of deleting and remaking them), I just rely on them not falling through my pyramid while the shield's online, though this can happen with low FPS.

Quote: "Also how many cameras are used for the scene- what kind of framrate did you get/would have got in that vid?"


5 including the default one, reflection+refraction and the 2 shadow ones. In the recorded video I believe I got around 80-150FPS depending on the part, but much less during some of the fluid scenes and probably the nuke, it was in software mode though.

Quote: "What is your hardware - 1 or 2 cards?"


A single 8800GTS was used to record that video without a PPU and in software mode.

Quote: "Have you released, do you ever intend to release your water shader"


Well, it's not the most friendly to use as I made it specifically for my project as with all the other shaders, but once the entries are released you'll have full access to them and my media, so yes I guess. But don't expect me to make any examples on how to use them! The shader itself is fairly similar to evolved's one so you might be better off using that for now, the main differences are that mine have specular. Also I use a terrain-sea mask that allows me to blend between the sea effect and the standard terrain, well actually the refraction image as this allowed me to smoothly blend between the water and land without using transparency.

Quote: "or maybe your shadow shaft effect or can you explain how its done if its not evolveds."


Most of my objects in the scene are rendered by the shadow cameras thus they cast shadows as well as receive them, my camera-space quads don't cast shadows, but they receive them and so the shadows of objects just cast onto these planes and give the illusion of casting a volumetric shadow, they also have transparency of course so the more layers are in shadow the darker that region gets.

James H
19
Years of Service
User Offline
Joined: 21st Apr 2007
Location: St Helens
Posted: 13th Sep 2008 20:34
Thanks , thats all very helpful indeed and those shader methods/techniques are pretty darn clever.
sindore
21
Years of Service
User Offline
Joined: 2nd Jul 2004
Location: Bedfordshire, UK
Posted: 14th Sep 2008 21:55
well thank for the help dark coder.

it helped me to get the ray cast to move with the mouse cursor.



tryed it like this and it was a lot smother moving, but is going in the oppisite direction.

I`ll get there in the end, Dark Coder thanks for your help.

soul sucking devils, twisted body of the damed, slivering slim drips from every poor, sin licking at your ears, and the smell stinging your eyes, and if you don't like it, get out of my kitchen!
Morcilla
23
Years of Service
User Offline
Joined: 1st Dec 2002
Location: Spain
Posted: 18th Sep 2008 13:04
I just watched the last video and suddenly the game 'Worms' came to my mind... Physics allows a new generation for these kind of games, and what you've set up is a fantastic playground for it
dark coder
23
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 1st Oct 2008 07:44
Yay I won, as promised here's version 1.1 which fixes some small issues and adds some features like light shafts(must be enabled via Data/Settings.dat), water splashes as things enter/exit the water and buoyancy.

You can get the latest from here: http://www.mediafire.com/?4z2jtod0yia

Also here's the map file for the 'PhysX Island' logo on the first post(attached), just copy and paste this into any file in the Data/Saves dir, if you put it in files 1-5 then you need to load it when you run the app! Feel free to post any maps you've made here.

Tinyschu
20
Years of Service
User Offline
Joined: 31st Dec 2005
Location: Toxin Games Studio
Posted: 1st Oct 2008 11:50
Congrats on first place, Dark Coder! You have done it again with an amazing demo!

Mike Inel
23
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Sa upuan ko po...
Posted: 1st Oct 2008 12:41
Congrats!

hackinc 2000
21
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: Puerto Rico
Posted: 1st Oct 2008 23:50
Congratulations Dark Coder! on your first place! Excellent Job!

James H
19
Years of Service
User Offline
Joined: 21st Apr 2007
Location: St Helens
Posted: 2nd Oct 2008 02:04
Congratulations - nice work.
BiggAdd
Retired Moderator
21
Years of Service
User Offline
Joined: 6th Aug 2004
Location: != null
Posted: 2nd Oct 2008 23:05
Well done DC. Part of me wishes I entered now. That graphics card must be very smart when you get it!

White Fang 12
18
Years of Service
User Offline
Joined: 28th Aug 2007
Location: In my office coding
Posted: 2nd Oct 2008 23:43
I found a glitch that after i while the game crashes to object not found you may already know of the but i wanted to point it out

I'm a noob help will be accepted
Storm 6000
21
Years of Service
User Offline
Joined: 10th Oct 2004
Location:
Posted: 3rd Oct 2008 02:24
Well Done this is a top entry and deserved to win you should be proud of your creation.

sindore
21
Years of Service
User Offline
Joined: 2nd Jul 2004
Location: Bedfordshire, UK
Posted: 3rd Oct 2008 20:34
nice one and thanks for the help when I needed it.

soul sucking devils, twisted body of the damed, slivering slim drips from every poor, sin licking at your ears, and the smell stinging your eyes, and if you don't like it, get out of my kitchen!
CoffeeGrunt
18
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 3rd Oct 2008 21:28
Congratz! Bet you can't wait for that snazzy Graphics Card now!

Hoozer
19
Years of Service
User Offline
Joined: 8th Sep 2006
Location: Bremerhaven (Germany)
Posted: 4th Oct 2008 01:40
@ dark coder: Seems like my guess was right, that you would win the comp!

Nice work! I really hope TGC and NV do make an other DP-comp next year and that you have again such a good idea for your entry (but only if I enter in an other category)!


Hoozer

AMD64X24800+(939);2GB;GF6800LE (@12PS, 6VS; 380 MHz, RAM: 434 MHz)
DP-Sw-Mode-Comp-Entry (updated to V. 1.4):
http://forum.thegamecreators.com/?m=forum_view&t=109846&b=5&p=0
dark coder
23
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 4th Oct 2008 10:17
Thanks for the comments people!

Quote: "Nice work! I really hope TGC and NV do make an other DP-comp next year and that you have again such a good idea for your entry"


Actually I hope they don't, Physics compos like this don't attract many people as they demand good development PCs, and knowledge in many coding areas, I prefer the more open ended ones where you can just about make any game. Making a sequel to my single player Final Exodus would be cool!

General Reed
20
Years of Service
User Offline
Joined: 24th Feb 2006
Location:
Posted: 4th Oct 2008 19:27
Also i hope next time they allow us to use the plugins we paid good money for!

CPU: AMD X2 6000+ 3.0ghz GFX: NVIDIA BFG Geforce 8800GTS 640MB OC-550mhz core RAM: 2048mb

Hoozer
19
Years of Service
User Offline
Joined: 8th Sep 2006
Location: Bremerhaven (Germany)
Posted: 4th Oct 2008 21:57 Edited at: 4th Oct 2008 22:01
@ dark coder: Any DP-comp where I could (hopefully would) win a graphics-card to replace my old GeFo-6800LE-128MB would be a good comp!
I really hope I can make it next time, cause my first entry in 2006 was crap-deluxe (good for me that they made no order of the non-winning-entries (or to be more correct I have no knowledge of the order) otherwise it would have been under the 3 worst entries). This time Lee wrote me it was 2nd out of 9 in the rigid-body-force-fields category, so I really hope this is a good sign for the quality (or just luck)!

Anyway, I'm sure you would enter, cause you are really good in making DB-Pro games, no mater what the restrictions/rules are and the prizes are always of a high value! Let's hope that DP and DB-Pro will be more improved/bug-fixed in the next comp! (It would be a much easier task without thinking about all the workarounds for the problems.)

I also want to thank you once more that you helped me testing my entry in Hardware-Mode!


Hoozer

AMD64X24800+(939);2GB;GF6800LE (@12PS, 6VS; 380 MHz, RAM: 434 MHz)
DP-Sw-Mode-Comp-Entry (updated to V. 1.4):
http://forum.thegamecreators.com/?m=forum_view&t=109846&b=5&p=0
david w
20
Years of Service
User Offline
Joined: 18th Dec 2005
Location: U.S.A. Michigan
Posted: 11th Oct 2008 01:58
Just wanted to say congratulations.
dark coder
23
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 11th Oct 2008 11:49
Thanks, and just to let you guys know I received my mobo and GPU earlier today! Sure beats almost waiting a year for prizes .

Alucard94
18
Years of Service
User Offline
Joined: 9th Jul 2007
Location: Stockholm, Sweden.
Posted: 27th Oct 2008 21:42
Congratulations on winning! Your entry is great!


Alucard94, the member of the future of the past.
flickenmaste
18
Years of Service
User Offline
Joined: 2nd May 2008
Location:
Posted: 3rd Nov 2008 05:04
dude this is epic....island+physics+TGC pyramid blowing stuff up= epic win



congratz on winning!!


You need to make this into a huge game with multiplayer physics battles and stuff

physics FTW


cheers


[url=http://userbarmaker.com/][img]
CoffeeGrunt
18
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 3rd Nov 2008 11:37
Quote: "You need to make this into a huge game with multiplayer physics battles and stuff"


..and lag for anyone with less than a top-of-the-range machine.....

I just got to play this through, it was awesome! There's alot of graphical glitches, mainly owing to my Geforce X1300, and I run at about 10-15 fps. Also, I keep getting errors about missing objects at random points when I'm playing, but still, if this were optimised a bit more, it could easily be the basis for a sandbox/rts game......

Excellent work. I love this thing....

James H
19
Years of Service
User Offline
Joined: 21st Apr 2007
Location: St Helens
Posted: 3rd Nov 2008 19:19
CG - Geforce X1300??? The demo is aimed for CUDA enabled cards (think software mode is to compare results) - yours is an old ATI card.
CoffeeGrunt
18
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 3rd Nov 2008 20:38
And it just about manages, isn't that awesome?

Ah well, I still have tonnes of fun despite the random errrors and glitchy graphics...

James H
19
Years of Service
User Offline
Joined: 21st Apr 2007
Location: St Helens
Posted: 4th Nov 2008 01:28
Its possible the framerate your getting is related to your CPU or the X1300 card, I used to have that card, and yes its actually a half decent card. I know some ATI cards were supposed to be CUDA enabled but I wouldn`t think the X1300 would be one of them. The processor behind the card is significant too. I had an AthlonXP 2200 with that card and later upgraded to a Sempron64 3000. On graphical tests the newer processor gave a significant performance increase. I read somewhere that the X1300 was best supported with a 2400 processor(the Mhz value is Pentium Rating - PR - ie the sempron has a Pentium rating of 3000 - though the PR value is not exact and differs from processor to processor - the Sempron64 actually runs at 1800Mhz. You can use SIS Sandra Software to determine the exact value of PR)
If you ran a top of the range card with your processor its entirely possible that you could still get the same framerate in software mode with Dark Coders demo as software mode carries physics out using the CPU, CUDA enables the use of the GPU(hardware mode) on your graphics card for the physics to be carried out instead of the CPU - for this task the GPU provides much better results.
The graphical errors could be shader related as I think Dark Coder has an NVidia card and yours is ATI, there are many differences when writing shaders for these.
The Dark Physics upgrade isn`t 100% either so the other errors are likely related to that.
It is a lot of fun though, spent several hours messing about with it as soon as the downlaod was available. Glad to here you have your prize DC.
flickenmaste
18
Years of Service
User Offline
Joined: 2nd May 2008
Location:
Posted: 4th Nov 2008 05:35
well id still think id be an epic game...i would play


[url=http://userbarmaker.com/][img]

Login to post a reply

Server time is: 2026-06-11 11:03:56
Your offset time is: 2026-06-11 11:03:56