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 Discussion / matrix on DBC1.20

Author
Message
Anto
20
Years of Service
User Offline
Joined: 30th Oct 2005
Location: Brisbane, AUS
Posted: 25th Nov 2007 02:17
G'day,

I've been trying to use Lee Bambers Normalise routine on my matrix but it won't show up in v1.20 when older verisons does work, even I tried use Matedit maps too. I just want to see if anyone have same trouble.

Thanks, Anto
Latch
19
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 25th Nov 2007 03:45
Hey you're right! It has to do with the old ambient light commands.

To increase the shadowyness (word?) of your matrix using those adjusted normals try:

Set Ambient Light 0
Color Ambient Light rgb(128,128,128)

Decrease the the color values to make the matrix shadows darker. Also, try changing the angle of Directional Light 0.

I saw immediately what you were talking about when I loaded a shadowy matrix script I had. It was way too bright. Adjusting the ambient values though allowed me to correct the problem.

Enjoy your day.
Anto
20
Years of Service
User Offline
Joined: 30th Oct 2005
Location: Brisbane, AUS
Posted: 25th Nov 2007 08:19
Latch,

Quote: "
Set Ambient Light 0
Color Ambient Light rgb(128,128,128)
"


I just tried those, also mucked with the color values but no changes at all.. even change the angle of Directional Light.

If possible can you sent me your code that you test with so I can see if it works on mine.

Cheers, Anto
Latch
19
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 25th Nov 2007 11:49
This code will show two states:
raised global ambient levels and lowered global ambient levels.

The dramatic differences between the two are amplified by changing the direction of light 0.

Press space to toggle between the two states. Rotate the camera with the mouse, and move the camera with the up and down arrow keys.

The matrix should switch from looking very bumpy, to not looking very bumpy at all. The lighting is the only thing that is changing.



Enjoy your day.
Anto
20
Years of Service
User Offline
Joined: 30th Oct 2005
Location: Brisbane, AUS
Posted: 28th Nov 2007 07:20
Latch, thank you for your time and the code, your code works nicely, but funny it doesn't work in my project that I'm working on, It prolly didn't like where I put it. I just have to go back and clean up my code, and try put it in other place etc as it totally a mess!! see what happens.

Cheers, Anto

Login to post a reply

Server time is: 2026-07-05 14:20:29
Your offset time is: 2026-07-05 14:20:29