摘要:
阅读全文
摘要:
鼠标工程一下:http://blog.csdn.net/popy007/article/details/4126809 阅读全文
摘要:
Download boost fromhttp://www.boost.org/or sourceforgehttp://sourceforge.net/projects/boost/files/.Most of the time we needn't compile boost, except it's thread, date-time, file-system,regex,signals,serialization, ,python, and graph+graphviz.If we want to use such components above, we need c 阅读全文
摘要:
// The message loop.MSG msg; while( GetMessage( &msg, NULL, 0, 0 ) ){ TranslateMessage( &msg ); DispatchMessage( &msg );}Each time the loop runs, DispatchMessage calls MsgProc.LRESULT WINAPI MsgProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam ){ switch( msg ) { case WM_DEST... 阅读全文
摘要:
首先很惭愧的说,我学了好多年图形学连这个问题都回答不出。所以回过头来补充一下这方面的知识。这个问题是我在看DirectX中的Pick sample中的Pick()函数时发现的。Pick()函数里把一条屏幕射线变换到模型局部空间。看它是怎么变的: const D3DXMATRIX* pmatProj = g_Camera.GetProjMatrix(); POINT ptCursor; GetCursorPos( &ptCursor ); ScreenToClient( DXUTGetHWND(), &ptCursor ); // Co... 阅读全文
摘要:
给自家小朋友取名凡芯,是希望她以后有一颗平常心。宠辱不惊 闲看庭前花开花落去留无意 漫随天外云卷云舒 阅读全文