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 / Patch 4.1 Bug - Matrices don't recognize color ambient light

Author
Message
Amadeus
23
Years of Service
User Offline
Joined: 20th Apr 2003
Location: United States
Posted: 27th May 2003 18:50
Dear Admins,

I've tried and tried and tried, and it seems that Matrices no longer recognize any form of coloring the ambient light. Objects I make and load into the project still work, but matrices don't. If you could check this out for me, I would appreciate it. Also, Patch 4.1 doesn't seem to want to smooth out images anymore. In fact, it seems like it changed all my images to very blocky and pixelized, I am using large objects, but before, they would smooth out better than they do now. Also, the diffuse for sprites seems sorta strange now. It's almost like it declares more than just the one diffuse color when pasted on the screen. Any help would be appreciated.

Cheers,
Drew
Life is a tale told by an idoit, full of sound and fury, signifying nothing. - MacBeth
MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 27th May 2003 19:46
Examples ? How about some code and post some graphics.

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
Ian T
23
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Around
Posted: 27th May 2003 20:57
It only takes about 20 lines of code to try it outself.

--Mouse

Famous Fighting Furball
spooky
23
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 27th May 2003 23:31
My other post: http://www.darkbasicpro.com/apollo/view.php?t=10659&b=1 also describes problem with texturing large objects. I asked for someone to test my theory but NOT ONE person can be bothered!

It appears you can no longer texture big objects in 16bit mode. 32bit seems to be ok. Are you running program in 16bit mode?

Gronda, Gronda
Amadeus
23
Years of Service
User Offline
Joined: 20th Apr 2003
Location: United States
Posted: 28th May 2003 06:34
yes, i tried that and it worked, but the matrices still don't react to color ambient light.
Here's the source code:


this should produce red-tinted grass on the matrix, however, it
looks as green as ever. Not sure if everything is 100% correct, just typed it in on the internet PC in the other room. But I've tried everything. Even the DB examples with a color ambient light statement don't work. I hope that's enough for you to believe me on that. BTW: I had a color ambient light sequence that worked fine, Patch 4.1 did some funny stuff with that too, so I know it's not a programming error, as no changes were made to the code.

Life is a tale told by an idoit, full of sound and fury, signifying nothing. - MacBeth
The Wendigo
23
Years of Service
User Offline
Joined: 13th Sep 2002
Location: A hole near the base of a tree in the US
Posted: 28th May 2003 09:59
here's a shot in the dark. I think that matricese start with full vector normals. If you set all the normals of the matrix to, say, 0.3 then it might start showing the ambient light. hope it works

Current Projects: mini BSP maker 50%, Height Mapper with many features 75%, FPS/RTT Nameless at the moment 15%
Amadeus
23
Years of Service
User Offline
Joined: 20th Apr 2003
Location: United States
Posted: 29th May 2003 06:15
I'll try that, thanks.

Life is a tale told by an idoit, full of sound and fury, signifying nothing. - MacBeth
Amadeus
23
Years of Service
User Offline
Joined: 20th Apr 2003
Location: United States
Posted: 30th May 2003 07:32
Ok, I worked more on it all, and nothing seems to work. Please test this out. I don't want it to not be in there for Patch 5. I don't know why everyone is so quick to place the blame on me for a slight overlook of the DB Team, personally, I don't think bugs are anyone's fault, they just happen, to everyone. I'm sure there's not a programmer in here that hasn't had one of his/her programs be pestered by unstated variables or undeclared strings once and awhile. Ok, enough preaching. I'd just like for someone to please please get back to me on the condition of the matrices problem. As I said before, they don't accept ambient light. I've also heard others talk about similar things, I'd just like confirmation of a working to resolve the issue. Thank you honestly ever so much for your time, Admins. Because you guys keep this wonderful program running, without you guys, there wouldn't be a DB, and I think people should think more about that when they post complaints.

Cheers,
Drew

Life is a tale told by an idoit, full of sound and fury, signifying nothing. - MacBeth

Login to post a reply

Server time is: 2026-07-11 11:42:13
Your offset time is: 2026-07-11 11:42:13