Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 02 Nov 2010
Offline Last Active Dec 21 2012 06:16 AM

Posts I've Made

In Topic: Same vertices and different drawing sequences cause invisibility

21 December 2012 - 06:17 AM

Oops there is a small mistake in my code.

In Topic: Non-Microsoft Market Share

01 December 2012 - 07:47 PM

It's true that once I developed games under MS platform, and I have a DirectX programming experience of 3 years.
But I will further look into the mystery of CG, I give up MS and D3D, and move into Linux. Now I use Ubuntu and QtCreator as my developing environment, recently I am learning OpenGL Super Bible, the sample code works fine.

In Topic: Has AlphaBlend to do with IDirect3DSurface9?

01 March 2011 - 11:45 PM

Keep my thread up!

In Topic: (D3D9) Question on Stretching Textures

26 February 2011 - 08:56 PM

When you put it into rendering, you can use world matrix or projection matrix to solve your problem.
Here is my example of scaling texture.
Posted Image
Try this:
D3DXMatrixPerspectiveFovLH( &g_PerspectiveMatrix, fovy, aspect, zn, zf );
// 应用投影矩阵
 g_pDevice->SetTransform( D3DTS_PROJECTION, &g_PerspectiveMatrix );

In Topic: Should I uninstall previous sdk?

26 February 2011 - 08:39 PM

If the newly SDK has not changed much, you can install the new one. Just deprecate the old one!
If you are afraid of not running your games, you can still remain some dlls.