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.

DarkBASIC Professional Discussion / How many lights ?

Author
Message
Freddix
AGK Developer
16
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 5th Oct 2002 03:16
In the Doc , you tell that DBPro can only display 8 lights simultaneously !
But you've also added a function called :
Return Integer=GET MAXIMUM LIGHTS()
that can tell how many lights can be displayed !
If the limitation is 8 why did you make a function to see the maximum ?
Theorically my GeForce IITI64 can display more than 8 lights simultaneously ( just try the NVIDIA LIGHTS demo to see ! )
and that function return 8

will DBPro evoluate with more lights visibles ?
xtom
16
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Ireland
Posted: 5th Oct 2002 04:51
Yeah I think it depends on your hardware. I got more than 8 lights in DBv1 with my setup. But if you want your game to run accross a broad range of systems your better off coding with the 7 light limit in mind.
Freddix
AGK Developer
16
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 5th Oct 2002 05:07
yes but you could make an adjustable program that look for your configuration
It could be easy for my tool 3DMapEditor if I migrate it to DBPro to look and use the maximal number of lights available !
VietStylist
16
Years of Service
User Offline
Joined: 20th Sep 2002
Location: Australia
Posted: 6th Oct 2002 12:46
7 lights still?! Is that all?! I mean you could set up a routine which turns on the closest lights like freddix had done but it doesn't look natural.

Vs

Freddix
AGK Developer
16
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 6th Oct 2002 17:00
xtom you've got more than 8 lights ? at the same time ?
David T
Retired Moderator
16
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 6th Oct 2002 22:42
7 lights, 1 for the ambient.

I love Star Trek.
Especially the Episodes with Starships in.
xtom
16
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Ireland
Posted: 6th Oct 2002 22:52
yeah way more, but it's not really much good if most systems only display the limit.
Khumba
16
Years of Service
User Offline
Joined: 1st Sep 2002
Location:
Posted: 6th Oct 2002 23:52
It's not DBP's fault, it's DirectX that limits it's programs to 7+1 lights.

Login to post a reply

Server time is: 2019-05-22 06:05:13
Your offset time is: 2019-05-22 06:05:13