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.

Dark GDK / Set a matrix4 element

Author
Message
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 29th Feb 2008 00:15
Does anyone have any ideas on how to accomplish this? I need to create a DBP matrix4 from a D3DXMATRIX structure. Thanks in advance

jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 29th Feb 2008 15:55


int Matrix is a DarkGDK Vector(I mean Matrix4)

Example


Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 29th Feb 2008 18:03
Someone didn't read the title... Thanks anyway, but I already know how to GET a matrix4 element

jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 29th Feb 2008 18:12
I thought if you could get a matrix into a Matrix4 "DB Vector Matrix4 thingy" <---Technical term! you could modify the values and send it back to DirectX.

Quite Frankly - if you have the pointer to the directX D3DXMATRIX already - I don't see your problem Just access it???

I'm confuddled. Perhaps a code snipt of what you're trying to do? Exactly?

Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 29th Feb 2008 18:43
That's the problem, I CAN'T get a D3DXMATRIX into a "DB Matrix4 thingy" I suspect you are still misreading my post...

jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 29th Feb 2008 19:06
Which One You trying to Get? Arbitrary one or World or Projection or one like that?

Dmitry K
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Russia
Posted: 1st Mar 2008 08:56
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 1st Mar 2008 16:52
@DMitry K - I searched for the dbGetInternalData(?) command in the DarkGDK headers etc.

Where is that declared - or do you have a workable "header file declaration" I can use for this function?

Thanx in advance.
Jason

Dmitry K
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Russia
Posted: 1st Mar 2008 17:07
dbGetInternalData declared in DarkSDKCamera.h
I don't use DarkGDK. Above example is modified function from my plugin DKShop, which written in DevC++.
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 1st Mar 2008 17:35
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 1st Mar 2008 17:36
They took it out of GDK

Must be to big a "thru-way" to DirectX or something?

Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 1st Mar 2008 20:44
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 1st Mar 2008 21:51
Can you post the DarkSDKCamera.h line that you have there - maybe I can get it to compile with the correct declaration.

Thanx in Advance!

Dmitry K
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Russia
Posted: 2nd Mar 2008 01:04
In the new free version of DarkGDK this function called as dbGetCameraInternalData.
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA

Login to post a reply

Server time is: 2024-11-20 03:45:02
Your offset time is: 2024-11-20 03:45:02