0 registered members (),
1,089
guests, and 10
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Dynamic light limit
[Re: Matt_Aufderheide]
#49106
07/17/05 08:27
07/17/05 08:27
|
Joined: Feb 2003
Posts: 6,818 Minot, North Dakota, USA
ulillillia
Senior Expert
|
Senior Expert
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
|
Quote:
Quote:
8 lights to be processed in one frame, the next 8 lights processed in the next frame, then the final 8 in the third frame.
this is a very bad idea.. this will make all of your light flicker..ugly. Bascially you cant get around the 8 light limit yet, so dont try, just design around it..instead of using 2 lights for each car headlights, just use one for each car. of course, only activate lights that are near to the camera, and can easlity fade them in and out..when you think about it, 8 lights at once is an awful lot of lights, more than you should reasonably need.
In case you're wondering, I'm thinking that this'll still have the lights being shown, but have a delay not getting updated after some time. That is, when light 8 is processed and the wait instruction is encountered, when light 9 starts up, light 1 remains in the same position it was in earlier and light 9 is processed. Because of the frame advance, lights 1 through 8 would have their old positions kept without being changed. Then, when the whole cycle went through and back to 1 again, light 1, being behind some, will get updated to it's new position. It's a weird concept, but it works best with high frame rates. At low frame rates, it's more easily noticed.
"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip
My 2D game - release on Jun 13th; My tutorials
|
|
|
Re: Dynamic light limit
[Re: ]
#49110
07/26/05 10:50
07/26/05 10:50
|
Joined: Jul 2005
Posts: 109 Cyrpus
Aram
Member
|
Member
Joined: Jul 2005
Posts: 109
Cyrpus
|
So this dynamic light limit, is it a 3DGS limit or is it something related to DirectX ?
GeForce 7800 GT (256 MB DDR3)
3DGS A6 Commercial.
DJ Aram
|
|
|
Re: Dynamic light limit
[Re: Aram]
#49111
07/26/05 10:55
07/26/05 10:55
|
Joined: Feb 2003
Posts: 6,818 Minot, North Dakota, USA
ulillillia
Senior Expert
|
Senior Expert
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
|
Neither. It's a hardware limit as far as I know. DirectX makes use of the hardware so it may have some effect to it.
"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip
My 2D game - release on Jun 13th; My tutorials
|
|
|
Re: Dynamic light limit
[Re: Aram]
#49112
07/26/05 10:56
07/26/05 10:56
|
Joined: Mar 2002
Posts: 7,726
old_bill
Senior Expert
|
Senior Expert
Joined: Mar 2002
Posts: 7,726
|
The dynamic lights are hardware based, and there DirectX gives the limit of 8. But Conitec is working on a fast software solution, which will eliminate the limit of 8 active dynamic lights.
old_bill
Success is walking from failure to failure with no loss of enthusiasm.
|
|
|
|