|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Senior Member
Iscritto dal: Mar 2003
Città: Verona
Messaggi: 8547
|
Soft shadows demo (by Humus)
The fastest way to compute is to precompute. Which is also one of the main reasons why lightmaps are still hanging around. Lightmaps have a number of great advantages. They are very cheap, and you can get soft shadows for free. The disadvantage though is that it's static. You can't move the light and you the geometry must be static. This demo however shows a way to get a bit of dynamic lighting into lightmaps. By storing a bunch of lightmaps for a range of different light positions, and interpolating between the closest lightmaps, you can animate the light and get soft dynamic shadows very cheaply. The idea could also be used for dynamic geometry with a static light in a similiar way. This demo doesn't implement that though.
It won't work for arbitrary light positions, but most lights in real world applications don't move around arbitrarily. If they are dynamic they are often swinging in a cable, or otherwise limited in their movement to a simple animation. In these cases, this technique can be used for rendering soft shadows extremely cheap. This demo should work on Radeon 9500 and up and GF 5200 and up. -------------------------------------------------------------------------------- Required OpenGL extensions: GL_ARB_shader_objects GL_ARB_vertex_shader GL_ARB_fragment_shader GL_ARB_shading_language_100 http://esprit.campus.luth.se/~humus/3D/SoftShadows.zip
__________________
Cammello non parla di neve Xbox LIVE Gamertag VirtualBoy75 |
|
|
|
|
|
#2 |
|
Senior Member
Iscritto dal: Sep 2003
Messaggi: 809
|
è una cosa spettacolare...troppo bello
__________________
Intel Core 2 Duo 6300@2800Mhz (400*7) / Zalman 9500 / Asus P5b Deluxe / 2x1gb Kingston DDR2 333@400 / xfx 8800gts 640mb |
|
|
|
|
|
#3 |
|
Senior Member
Iscritto dal: Apr 2002
Città: Padova
Messaggi: 11396
|
Ottimo, mi va a fps stellari!
Speriamo che anche Doom3 sia così fluido
__________________
HP Pavilion dv6599el ~ Core2Duo T7300 ~ 2GB BDDR2 ~ GeForce 8400gs ~ Hd 160GB |
|
|
|
|
|
#4 |
|
Senior Member
Iscritto dal: Sep 2003
Messaggi: 809
|
cavolo faccio 80\85 frame con i filtri...se doom3 mi gira cosi non sto nemmeno a comprare la 6800ultra
__________________
Intel Core 2 Duo 6300@2800Mhz (400*7) / Zalman 9500 / Asus P5b Deluxe / 2x1gb Kingston DDR2 333@400 / xfx 8800gts 640mb |
|
|
|
|
|
#5 | |
|
Senior Member
Iscritto dal: Sep 2003
Città: Carrara MS
Messaggi: 2472
|
Quote:
OOps mi sono dimenticato di togliere i filtri...che sbadato!!!!
__________________
Termaltake DH 101- Msi Z68AGD3-I5 2500k-8gb corsair value-Sapphire hd 6950 2gb-Corsair ssd80gb- |
|
|
|
|
|
|
#6 | |
|
Senior Member
Iscritto dal: Apr 2003
Messaggi: 835
|
Quote:
|
|
|
|
|
|
|
#7 |
|
Senior Member
Iscritto dal: Apr 2003
Messaggi: 835
|
io faccio 150fps!
|
|
|
|
|
|
#8 |
|
Senior Member
Iscritto dal: Jun 2003
Città: tra Venezia e Padova!
Messaggi: 449
|
30 fps con la 9500 64mb
__________________
.Hardware: DFI Infinity NFII Ultra400 - AMD AthlonXp-M 2500+@3400+@1,65v reali - 1,675v Bios (230x10) - 2x256Mb Twinmos -50D&-50B 2,5-3-3-11@230Mhz@2,9v - Powercolor 9800Pro@Xt - Ali Enermax EG465P-VE(FMA). .Natural Selection: Half Life Modification - www.natural-selection.org.|| Ho comprato da: Spank |
|
|
|
|
|
#9 |
|
Senior Member
Iscritto dal: Feb 2003
Città: Ginestra F.na (Fi)
Messaggi: 745
|
85 con i filtri a palla e 200 senza
__________________
Powered by Apple |
|
|
|
|
|
#10 |
|
Senior Member
Iscritto dal: Apr 2002
Città: Padova
Messaggi: 11396
|
sì ma a che risoluzione li fate quei fps?
__________________
HP Pavilion dv6599el ~ Core2Duo T7300 ~ 2GB BDDR2 ~ GeForce 8400gs ~ Hd 160GB |
|
|
|
|
|
#11 | |
|
Senior Member
Iscritto dal: Feb 2003
Città: Ginestra F.na (Fi)
Messaggi: 745
|
Quote:
__________________
Powered by Apple |
|
|
|
|
|
|
#12 | |
|
Senior Member
Iscritto dal: Mar 2001
Città: Reggio Emilia
Messaggi: 6977
|
Quote:
__________________
..frengaaa..dov'è l'asciugamano FRENGA!!??..hihi.. Ah ecco..
|
|
|
|
|
|
|
#13 |
|
Senior Member
Iscritto dal: Nov 1999
Città: Ceranova (PV)
Messaggi: 10382
|
Come si installano le estensioni opengl?
|
|
|
|
|
|
#14 |
|
Senior Member
Iscritto dal: May 2004
Città: Torino
Messaggi: 1715
|
ma come mai rimane sempre fisso a 60 fps?? con filtri e non??
|
|
|
|
|
|
#15 |
|
Senior Member
Iscritto dal: Sep 2003
Messaggi: 9434
|
a me dice "couldn't load "lighting.shd"
__________________
1)P4 2.4-Asrock p4i65- Sapphire Hd3450 512mb agp- 2GB ddr400-Hd 80gb WD- Thermaltake Litepower 450W 2)Amd 3200-Msi K8n Neo4 Platinum - 2*512 MB pc3200-Asus N6600gt- HD WD 160GB-enermax noisetacker 370. |
|
|
|
|
|
#16 |
|
Senior Member
Iscritto dal: Oct 2003
Messaggi: 447
|
ovviamente su una ti4400 non funge vero?
__________________
thorob 2400/a7n8x/maxtor 80g/matrox 450 32m/lite-on 52x32x52/ram 512 333mhz/dvd-rom hitachi |
|
|
|
|
|
#17 |
|
Senior Member
Iscritto dal: May 2004
Città: MILANO-nord-ovest
Messaggi: 1614
|
A tutto schermo tra gli 80 e 90 continuando a muovere.
AA 4X AF 8X
__________________
Intel Core i5 3570K@4,2Ghz;Zalman 9900 MAX; 4X4GB DDR3-1600 XMS3-12800 Vengeance; Gigabyte Z77X-UD5H; Sapphire RX 580 4GB nitro;samsung 850 pro 250gb; Enermax 525 Modu 82+; HP 2309m; X-Fi XtremeMusic+Logitech Z-5400; |
|
|
|
|
|
#18 | |
|
Senior Member
Iscritto dal: Mar 2001
Città: Reggio Emilia
Messaggi: 6977
|
Quote:
__________________
..frengaaa..dov'è l'asciugamano FRENGA!!??..hihi.. Ah ecco..
|
|
|
|
|
|
|
#19 | |
|
Senior Member
Iscritto dal: Sep 2003
Messaggi: 809
|
Quote:
__________________
Intel Core 2 Duo 6300@2800Mhz (400*7) / Zalman 9500 / Asus P5b Deluxe / 2x1gb Kingston DDR2 333@400 / xfx 8800gts 640mb |
|
|
|
|
|
|
#20 |
|
Senior Member
Iscritto dal: Aug 2003
Città: Milano - Amsterdam - Los Angeles
Messaggi: 14490
|
100fps.. senza nessun filtro... niente di niente..
con AA 6x Af 16x... nn vado sotto i 58...
__________________
Canon 5dmk2 and some stuff | www.IsmaeleBulla.com | www.TheArea.it
|
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 16:39.











/ xfx 8800gts 640mb








