CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - MatVIEW
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - MatVIEW - List
[
DirextX
]
01_SimpleLighting
DL : 0
//建立并设置世界矩阵 D3DXMATRIX matWorld D3DXMatrixIdentity( &matWorld ) g_pd3dDevice->SetTransform( D3DTS_WORLD, &matWorld ) //建立并设置观察矩阵 D3DXVECTOR3 vEyePt( 0.0f, 3.0f,-5.0f ) D3DXVECTOR3 vLookatPt( 0.0f, 0.0f, 0.0f ) D3DXVECTOR3 vUpVec( 0.0f, 1.0f, 0.0f ) D3DXMATRIX matView D3DXMatrixLookAtLH( &matView, &vEyePt, &vLookatPt, &vUpVec ) g_pd3dDevice->SetTransform( D3DTS_VIEW, &matView ) //建立并设置投影矩阵 D3DXMATRIX matProj D3DXMatrixPerspectiveFovLH( &matProj, D3DX_PI/4, 1.0f, 1.0f, 100.0f ) g_pd3dDevice->SetTransform( D3DTS_PROJECTION, &matProj ) -//Create and set the world matrix D3DXMATRIX matWorld D3DXMatrixIdentity (
Update
: 2025-02-19
Size
: 487kb
Publisher
:
yourname
[
3D Graphic
]
MatView45
DL : 1
三维表面图形控件是建立在OpenGL基础上的控件,给定zij=f(xi,yj)离散数据,可以绘制三维表面图形。三维图形的表面可以使用不同的颜色、光照、纹理,也可以控制其绕x、y、z轴旋转,还可以通过随时间而改变控件中的数据,制作随时间变化的动态图形。三维表面图形控件包含的文件有:matview45.ocx,gl3d20.dll,CqmImg32.dll,Visdp32.dll。-Three-dimensional surface graphics control is built on the OpenGL-based controls, given zij = f (xi, yj) discrete data, you can draw three-dimensional surface graphics. The surface of three-dimensional graphics can use different colors, light, texture, you can control its around the x, y, z-axis rotation, can also change over time in control of the data, the production of time-varying dynamic graphics. Three-dimensional surface of graphical controls contained in the documents: matview45.ocx, gl3d20.dll, CqmImg32.dll, Visdp32.dll.
Update
: 2025-02-19
Size
: 185kb
Publisher
:
ltg
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.