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 / Question on World Matrix, View Matrix, and Project Matrix??

Author
Message
Bulleyes
23
Years of Service
User Offline
Joined: 3rd Nov 2002
Location: Cyberjaya, Malaysia
Posted: 31st May 2003 07:58
Hi,

The DBpro Help on WORLD MATRIX4 said,
"This command will copy the world matrix into the specified matrix."

What does this mean anyway? As far as I know, world matrix are the transformation matrix (position, rotation, and scale) of an object in the world. This command does not take any object as parameter, so what does it return anyway?

How about VIEW MATRIX4 and PROJECTION MATRIX4 commands? My assumption is these command will refer to the transformation matrix of the current ACTIVE camera. Is that right?

Thanks in advance!
Bad Nose Entertainment - Where games are forged from the flames of talent and passion.

http://www.badnose.com/
Bulleyes
23
Years of Service
User Offline
Joined: 3rd Nov 2002
Location: Cyberjaya, Malaysia
Posted: 1st Jun 2003 05:20
Hmmm..... seems so quiet....

Bad Nose Entertainment - Where games are forged from the flames of talent and passion.

http://www.badnose.com/
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 1st Jun 2003 13:54
I think that's the sound of people not really knowing the answer ...

I *guess* that the 'world matrix' could be the transformation matrix for the current camera position. Following on from that, I'd also guess that the 'view matrix' and the 'projection matrix' also use the current camera ...

All of them could be for the default camera instead though.

Was that enough guessing for you?

Login to post a reply

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