Skip to main content
GameDev.net gamedev.net
🔒 Locked

dx9 & 2d

Started by spe May 29, 2004 at 11:34 AM 6 replies 600+ views
Original Post
spe
spe
Hi! Can someone point me to a good tutorial on using dx9 with 2d graphics? thx ,spe JSoft@coder.hu
JSoft@coder.hu
superpig
superpig
Well, to start you off, I added a section on it to the Forum FAQ.
Richard "Superpig" Fine - saving pigs from untimely fates - Microsoft DirectX MVP 2006/2007/2008/2009
"Shaders are not meant to do everything. Of course you can try to use it for everything, but it's like playing football using cabbage." - MickeyMouse
spe
spe
Thanks! I guess i''ll start reading the sdk now.
JSoft@coder.hu
Krisc
Krisc
Read the sdk and the samples are really good...for C# anyways. That is what I use. If you want I can give you my DirectDraw class for C# and my DirectInput class for C# that I wrote...it kind of simplifies the process a lot but still allows access to the device and such. E-Mail me or IM me sometime...

admin@immane.com
KriscXBL

<- My Site ->
"Discipline is my sword, faith is my shield
do not dive into uncertainty, and you may live to reap the rewards" - (Unreal Championship)
spe
spe
Right. Could you send me your dd class please?

I''m just reading the sdk, and I''ve got a question. What does the rhw variable (in the vertex struct) do?

thx ,spe

JSoft@coder.hu
JSoft@coder.hu
johnnyBravo
johnnyBravo
makes it 2d, and something to do with the diffuse colour aswell
wasd
wasd
It means that you are going to specify the vertex''s reciprocal(?) homogeneous W coordinate.

---------------------------------------

Let''s struggle for our dream of Game!

http://andrewporritt.4t.com
spe
spe
One more thing : how should I set up the projection matrix for affine transformations?

JSoft@coder.hu
JSoft@coder.hu

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.