Welcome, Unregistered.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Reply
Old 04-Aug-2004, 04:24   #1
Reverend
Naughty Boy!
 
Join Date: Jan 2002
Posts: 3,266
Default Dynamic lights -- what can we do?

It's a pain in the ass as it's simple to implement but costly and getting prevalent (I'm not saying "required") in games. I hate flashlights.
__________________
Reverend
Dev Anon : Best game ever? Hmm... you mean other than anything from us? (2005)
Reverend is offline   Reply With Quote
Old 04-Aug-2004, 04:31   #2
MfA
Regular
 
Join Date: Feb 2002
Posts: 5,229
Send a message via ICQ to MfA
Default

Same thing we do every night pinky, get faster hardware.
MfA is offline   Reply With Quote
Old 04-Aug-2004, 07:27   #3
Nappe1
lp0 On Fire!
 
Join Date: Feb 2002
Location: South east finland
Posts: 1,527
Send a message via ICQ to Nappe1
Default

on my active days, I had an idea of Hardware per pixel Shadow Casting unit, that would be as part of general gfx pipeline. But after traditional pipelines got lost, so did my idea and I never planned it further.

the basic idea was having tracing unit inside the rasterizer checking if rendered pixel (or sample) can see the light sources as simple ray - triangle collision. if collision was detected then engine request a texture sampling on the collision point of the triangle, to check texture transparency information. if the pixel (or sample) still has a shadow, engine would blend it to final pixel color.

I know, I know, it's darn slow. on big scenes with lot of triangles ray-triangle collisions would cause major slowdown because lots lots of shadow testing. Also, waiting to collision point texel to be sampled might cause the pipeline generate wait states, which again isn't desirable. So, as said, it's only a rough idea.
__________________
Nappe1 of Division & Future Vision
Founder of AF3DE
Nappe1 is offline   Reply With Quote
Old 04-Aug-2004, 09:31   #4
Rodéric
a.k.a. Ingenu
 
Join Date: Feb 2002
Location: Apsley, U.K.
Posts: 2,738
Default

Quote:
Originally Posted by Nappe1
on my active days, I had an idea of Hardware per pixel Shadow Casting unit, that would be as part of general gfx pipeline. But after traditional pipelines got lost, so did my idea and I never planned it further.
Got the same idea years ago for my 3D engine, but hardware changed a lot so scraped it.
__________________
So many things to do, and yet so little time to spend...
Rodéric is offline   Reply With Quote
Old 04-Aug-2004, 12:58   #5
991060
Member
 
Join Date: Jul 2003
Location: Beijing
Posts: 640
Default

How about shadow volume + shadow mapping?

http://graphics.csail.mit.edu/~ericchan/papers/smapSV/

could be much faster than plain shadow volume although it's still hard shadow.
991060 is offline   Reply With Quote
Old 04-Aug-2004, 18:16   #6
Razor1
Senior Member
 
Join Date: Jul 2004
Location: NY, NY
Posts: 2,680
Default

Don't need dynamic lights for shadows. They hard to implement but they look so pretty . There is only so much you can do with static lights :/. Dynamic lights are not just lights that move. All lights that effect lightmaps in realtime are concidered dynamic.
Razor1 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can dynamic lights be generated with lightmaps? Anonymous Hardware & Software Talk 2 09-Jul-2004 10:58
Faking dynamic branching - technical discussion Mintmaster 3D Technology & Algorithms 51 08-Jul-2004 15:57
Confused by all the different types of 'lights' JF_Aidan_Pryde 3D Architectures & Chips 16 01-Mar-2004 23:02
A Preview of Photorealistic Deferred Lighting (pictures) Deano Calver 3D Architectures & Chips 0 13-Jun-2003 00:30
Real-Time High Dynamic Range Image-Based Lighting Nick[FM] 3D Architectures & Chips 35 07-Apr-2003 11:51


All times are GMT +1. The time now is 08:42.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.