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.

Author
Message
Terabyte
23
Years of Service
User Offline
Joined: 28th Dec 2002
Location: UK
Posted: 8th Sep 2003 01:30
could sombody quiclick post some code to make a matrix 1,6000,6000,60,60 normalised like in mate edit

thx
soz this is brief

>>TerraByte. Putting the Byte back into Terragramming<< If my post has less than 20 typos then it wasnt me who wrote it!
Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 8th Sep 2003 01:34 Edited at: 8th Sep 2003 01:34
Quote: "mate edit"


I didn't know I could normalise my friends

There is a normalising command in DBP (I believe it is SET NORMALIZATION ON or similar)

spooky
23
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 8th Sep 2003 02:35
Cobbled this together from various sources - bit late now - falling asleep, zzzZZZzzzZZZ zzzZZZzzzZZZ

There's a bit of code in middle somewhere that does the normals stuff. It assumes light source at bottom left of matrix. Fiddle with numbers if you want something different.



The programmer formerly known as sonic

Login to post a reply

Server time is: 2026-07-23 12:10:22
Your offset time is: 2026-07-23 12:10:22