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.

3 Dimensional Chat / Matrix Normalisation

Author
Message
Moggie100
22
Years of Service
User Offline
Joined: 15th Oct 2002
Location: Behind You...
Posted: 10th Dec 2002 17:53
Damn normalisation, been trying to add that feature to my matrix editor for ages and failed miserably, I did get a nice water effect from it.... anyway, if anyone can tell me how you do normaisation on a matrix I'd be very grateful.
Thx.

yours programmingly,
Mog.
Life is like a hot bath, the longer you're in it, the more wrinkles you get.
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 10th Dec 2002 18:37
Haven't the foggiest, but try code on this thread:

http://www.darkbasicpro.com/apollo/view.php?t=2594&b=6

It does a nice lighting effect on a wavey matrix.

I love it when a plan comes together
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 10th Dec 2002 21:04
Normalisation on the matrix is just like on an object...
the normalisation vectors are from the vertex points, and you set the XYZ value of these which basically determine direction and length. Think of it as an invisible line from the vertex your working from, to the point you specify.

From that angle from 0° the matrix will smooth itself based on it - it is a good way to create shadows and such

I'd checkout Matrix3D\Exam08.dba as it is quite simple to understand ... that with knowing what a normal is help you to develop your own

Anata aru kowagaru no watashi!
Moggie100
22
Years of Service
User Offline
Joined: 15th Oct 2002
Location: Behind You...
Posted: 18th Dec 2002 16:27
Thanks every peeps!

Life is like a hot bath, the longer you're in it, the more wrinkles you get.

Login to post a reply

Server time is: 2024-11-09 00:31:57
Your offset time is: 2024-11-09 00:31:57