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 / is it my video card

Author
Message
Morales
22
Years of Service
User Offline
Joined: 9th Feb 2003
Location: - Please Select -
Posted: 24th Feb 2003 05:21
the lights dont work right in darkbasicpro, there a little dim. i have a GF4 and i dont know what i should do. is there
somthing i could do to get my lights to work.
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 24th Feb 2003 05:22
try turning down the ambient light

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
Morales
22
Years of Service
User Offline
Joined: 9th Feb 2003
Location: - Please Select -
Posted: 24th Feb 2003 05:40
i did i set it to 0,0,0. i look at one of the help files
to show me a demo of lights and it works good on the objects
in the demo. so what i did is replaced the object with one of my dark matter objects and the lights look dim. could it be just my dark matter objects. i dont see how they could
do that.
QuothTheRaven
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 24th Feb 2003 05:41
and dont forget, lights can only shine on the verticies of an object, so if you make a box that only has 1 polygon per side, the lights will only shine on the corners of the box...

Darken the skies, we are God.
Morales
22
Years of Service
User Offline
Joined: 9th Feb 2003
Location: - Please Select -
Posted: 24th Feb 2003 05:47
ok but when i scale the object to 2000 x y and z.
the lights get dim on the object, but the matrix and darkbasicpro objects look good.
Morales
22
Years of Service
User Offline
Joined: 9th Feb 2003
Location: - Please Select -
Posted: 24th Feb 2003 06:13
how do i put a image on the post?
Morales
22
Years of Service
User Offline
Joined: 9th Feb 2003
Location: - Please Select -
Posted: 24th Feb 2003 06:29
what if i set the gamma up. how do you do that?
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 24th Feb 2003 07:05
erm... set gamma [0-255]

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 24th Feb 2003 08:10
what version of DBP are u running?

4.3 seems to display the lights correctly here but i think the fade object command is a bit quirky, I cant verify that yet tho.

TheCyborg
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Denmark
Posted: 24th Feb 2003 10:28
Quote (Morales:
ok but when i scale the object to 2000 x y and z.
the lights get dim on the object, but the matrix and darkbasicpro objects look good.


If you scale an object you wont get more polygons, but only bigger polygons.

TheCyborg Development.
http://TheCyborg.Amok.dk
The Ultimate Source To DarkBASIC Programming.
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 24th Feb 2003 13:30
QuothTheRaven: You say lights only appear on vertices of an object. I also have found this. I am trying to do a believable world where it is dark and you are carrying a torch. This is done as a spotlight in dbpro.

It is damn near impossible to get a good looking torch effect as only the corners of matrix tiles are affected. So unless you have a matrix split up into zillions of tiles it looks stupid but this makes things slow up.

Also I presume you must scrap using built in cubes, boxes, e.t.c. as each face only has a few vertices. Creating a .x cube or box with multiple vertices per face I suppose is the answer.

Gronda, Gronda
Ratty Rat
22
Years of Service
User Offline
Joined: 24th Sep 2002
Location:
Posted: 24th Feb 2003 17:39
Are we talking about coloured or textured objects here?

If its coloured then I noticed that too, but after posting here was told that DB/DBPro (or possibly Direct X) works quicker with texured objects than coloured, so use a solid coloured texture instead!
Morales
22
Years of Service
User Offline
Joined: 9th Feb 2003
Location: - Please Select -
Posted: 25th Feb 2003 05:28
the lights looked good untill i installed the new patches
3.0 and 3.1. then it got dim. so what i did is uninstalled dark basic pro and installed it one more time. the same thing. so i formated the hard drive, and the same thing.
dim dim dim!
Morales
22
Years of Service
User Offline
Joined: 9th Feb 2003
Location: - Please Select -
Posted: 25th Feb 2003 05:34
whats weard is thet the matrix looks good i could see the lights ... its like you shinning a light on something
and the light doesent effect the thing just around it.
i cant make a game with that effect! you would have to look very hard to play the game. i have a good game to make and thats stopping me. its a night game.
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 25th Feb 2003 08:27
Lights are much better in later beta patches so if u were to join dbdn you would become privvy to these betas as it gets very close to patch 4.4 in this point in time.

The fade object command went a bit quirky but Lee is onto it for 4.4.

fade works in previous patches but i think 4.3 had the hiccup.




Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 25th Feb 2003 08:49
if you want the lights to work on a matrix normally ... you need to edit the normals



not tried that in pro yet - can't be arsed to find the CD to try right now either
but thats how you'd do it in Enhanced

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
DARKGirl
22
Years of Service
User Offline
Joined: 2nd Feb 2003
Location: Right behind you....
Posted: 25th Feb 2003 20:41
Hey, Raven, I jest tried the code you submitted, and it works fine in DBPro.

“I create games only to test my imagination’s limits” - MSB
Morales
22
Years of Service
User Offline
Joined: 9th Feb 2003
Location: - Please Select -
Posted: 3rd Mar 2003 05:41
that looks good!

Login to post a reply

Server time is: 2025-05-18 18:20:20
Your offset time is: 2025-05-18 18:20:20