Jump to content

Matrix operations on the DS


mrbatman

Recommended Posts

I'm not sure if this is an appropriate question for this forum so if it's not I'm sorry. I was just wondering if anyone knows if it's possible to read the values that are stored on the currently selected matrix stack. The values are put on using the fifo thing but is it possible to read what the current values for current matrix?

Link to comment
Share on other sites

I'm not sure if this is an appropriate question for this forum so if it's not I'm sorry. I was just wondering if anyone knows if it's possible to read the values that are stored on the currently selected matrix stack. The values are put on using the fifo thing but is it possible to read what the current values for current matrix?

 

Can't say I have any idea regarding this, but if theres any place for a question like this, it's here in one of the DS emulator forums. The dev's or anyone else involved on an in-depth level would know better than anyone else.

As for them answering your question though, may take some time.

Link to comment
Share on other sites

There's a set of nine registers you can read at 0x4000680-0x40006A0 to get the current vector matrix (3x3). Just make sure the geometry unit isn't busy first, or you'll get bogus data.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...