|
|
#1 | |
|
Java Cool Dude
|
This demo written in OpenGL shows some areas where the use of PS3.0 over PS2.0 is more advantageous.
A while back when I was browsing through NVIDIA SDK, I noticed an interesting soft shadow demo where the penumbra was generated by jittering the sampling position up to 64 times and averaging the results. That demo however was using a directional light source, and as JC would say ( ), 90 % of the lights in nature are omni directional, therefore I extended the concept discussed in the SDK and created this demo.The advantage of PS3.0 is that we don't have to over sample unless we're on a shadow edge. If we detect that we're on a lit or completely shadowed area, we can skip the 28 x 2* of 32x2* texture fetch necessary to blur the penumbra. Sometimes the performance gain is up to 50%, however don’t expect this demo to run beyond the 100 FPS, my current configuration (read sig) barely manage to maintain a 50FPS. Please pardon the poor quality of the textures/models: I'm a coder, not an artist :'( * For every shadow sample, we also fetch a 1D texture element that encodes the new jittered position; PS: Hey MikeC, could you please upload this demo to nvnews server and let me know about it. My bw is totally sucked out :/ PS2: You really need drivers that support FBO to fully enjoy this one. ![]() Binaries Source Engine source
__________________
SXML 3D Engine |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Jan 2003
Location: United Kingdom
Posts: 4,352
|
Wow very nice demo.
![]() With PS 3.0 I get 43 fps and when switched to PS 2.0 it drop to 20 fps, it showed that PS 3.0 is twice faster than PS 2.0. ![]()
__________________
Intel Core i7 3770K, Corsair H80 liquid cooler with Noctua S12-1200 fan, ASUS P8Z77V with UEFI 1606, 16GB Samsung Green 30nm DDR3-RAM, Pioneer DVR-217DBK 22x DVD-RW, Corsair AX850 PSU, Western Digital 2TB SATA3 hard drive, Creative X-Fi XtremeMusic, CanonScan N650U scanner, Microsoft Internet Keyboard, ASDA Wheel Mouse Optical, Sirus's 2 3D speakers, 32inch Sharp LC32LE600 LED TV, EVGA Geforce GTX 670 SC 4GB with Geforce 306.23 driver, 30Mb broadband Virgin Media VMDG480 Super Hub, Aspire Xplorer Midi Tower, Windows 8 Pro 64bit. |
|
|
|
|
|
|
#3 |
|
Ngemu Mod
Join Date: Jul 2003
Location: Fresno, CA
Posts: 1,886
|
Interesting demo. When I set the light range to 290, the SM3 path runs around 52-57 fps. The SM2 path takes a nose dive to 22-30 fps.
__________________
[i7 2600k @4.4ghertz][2x4 GB DDR3 1600][EVGA GTX570 1.280GB SC][EVGA GTX460 physx][Asrock Extreme7 Gen3 Z68][2xSeagate 160 Gb SATA HD raid0][Seagate 250 GB SATA2 HD][Sony Bravia 40' 1080p LCD HDTV][NEC 3520a DVD+-DLw][Windows 7 Ultimate x64][Rosewill 1000w] |
|
|
|
|
|
#4 | |
|
Registered User
Join Date: Sep 2004
Location: New York, NY
Posts: 209
|
wow, you are really turning these sweet demos out! that's 4 in the last few weeks... one question (may have been previously answered): why is vsync on? is there a way to disable it? my framerates always halve which is kind of annoying, but perhaps there will be too much tearing without it.
__________________
Gaming Box Asus P6T Deluxe V2 | i7 920 @ 4.25ghz 1.38v | Thermalright TRUE | 3x 2GB Corsair XMS2 PC12800 @ 811mhz (2:8) 9-9-9-24 | eVGA GTX 580 SC | 2x Intel SSD G2 80GB RAID 0 | Audigy X-Fi XtremeMusic | Corsair 750HX | Antec P-183 | Dell 3007WFP | NEC 20WMGX2 Home Server DFI P35 T2R | Q6600 @ 3.0ghz 1.3v | OCZ Reaper 640 | GeForce 8600GTS | 2x 150GB WD VelociRaptor raid 1 (os), Synology DiskStation DS410 with 4x 2TB Hitachi | Corsair HX750 |
|
|
|
|
|
|
#5 |
|
Java Cool Dude
|
Nah I don't force V-Sync on at all, this demo is really demanding that's why unlike the previous ones, you need some sort of miracle to go over 100 FPS
![]()
__________________
SXML 3D Engine |
|
|
|
|
|
#6 | |
|
Registered User
Join Date: Jan 2005
Location: Saint Louis, Missouri, USA
Posts: 580
|
When you start seeing your framerate halve due to Vsync, does that mean you should drop a notch down on the resolution? (Assuming of course you don't just upgrade, heh.)
Gentle |
|
|
|
|
|
|
#7 |
|
Registered User
Join Date: Mar 2004
Posts: 15,486
|
for some reason i confused PS3 with PlayStation 3 and PS2 with PlayStation2 when i read the title.
![]() this article makes a lot more sense now lol. nice demo btw ![]() |
|
|
|
|
|
#8 |
|
Its me! Hurray!
Join Date: Jul 2002
Location: Brit in USA
Posts: 1,203
|
HEY, lets get tertsi to include these soft shadows in the Doom3 quality mod!
![]()
__________________
Core2 Q9400 @ 3.0, eVGA GTX 260, 4G DDR 800, Vista64 |
|
|
|
|
|
#9 |
|
Charlie don't Surf!
Join Date: Jun 2004
Location: UK
Posts: 866
|
Abba, what drivers are u using?My demo keeps running only on Pixel-Buffer
P.S: I'm using 71.89 XG
__________________
Beer,helping ugly people getting laid since the dawn of time My Rig 160 Sata Samsung + 120 Seagate ATA + 80 Sata Seagate, Atapi DVD Rom x16 ,Samsung DVD/RW x12x8 |
|
|
|
|
|
#10 | |
|
Java Cool Dude
|
Quote:
PS: Yeah it's utter slow when using PBufffers ![]()
__________________
SXML 3D Engine |
|
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| The case of the disappearing shadows | legion88 | NVIDIA GeForce 7, 8, And 9 Series | 19 | 08-23-02 07:13 PM |