摘要: 阅读全文
posted @ 2015-03-30 14:59 猜猜我在干什么 阅读(385) 评论(0) 推荐(0) 编辑
摘要: 鼠标工程一下:http://blog.csdn.net/popy007/article/details/4126809 阅读全文
posted @ 2014-03-13 14:27 猜猜我在干什么 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2013-08-10 17:25 猜猜我在干什么 阅读(218) 评论(0) 推荐(0) 编辑
摘要: // 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... 阅读全文
posted @ 2013-07-20 22:32 猜猜我在干什么 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 首先很惭愧的说,我学了好多年图形学连这个问题都回答不出。所以回过头来补充一下这方面的知识。这个问题是我在看DirectX中的Pick sample中的Pick()函数时发现的。Pick()函数里把一条屏幕射线变换到模型局部空间。看它是怎么变的: const D3DXMATRIX* pmatProj = g_Camera.GetProjMatrix(); POINT ptCursor; GetCursorPos( &ptCursor ); ScreenToClient( DXUTGetHWND(), &ptCursor ); // Co... 阅读全文
posted @ 2013-07-18 21:25 猜猜我在干什么 阅读(546) 评论(0) 推荐(0) 编辑
摘要: 给自家小朋友取名凡芯,是希望她以后有一颗平常心。宠辱不惊 闲看庭前花开花落去留无意 漫随天外云卷云舒 阅读全文
posted @ 2013-01-10 18:24 猜猜我在干什么 阅读(130) 评论(0) 推荐(0) 编辑