Login    You have 0 item(s) in your Shopping Cart  

 
 
previous | up | next 
D3D Meshes


 E-mail this product to a friend

Author:  TheTutor

It's hard to have a quality scene without some kind of meshes.  Luckily, DirectX makes it really eash to create meshes using their ID3DXMesh class.  In this tutoiral, we show to use the ID3DXMesh class to make two stock shapes, a sphere and a torus.

Functions/Methods Used:  Direct3DCreate9(), D3DXCreateSphere(), D3DXCreateTorus(), assert(),

IDirect3D9::  CreateDevice(), Release()

IDirect3DDevice9::  BeginScene(), EndScene(), SetFVF(), DrawPrimitiveUP(), Clear(), Release()

ID3DXMesh:: CloneMeshFVF(), LockVertexBuffer(), UnlockVertexBuffer(), GetVertexBuffer(), GetIndexBuffer(), GetNumVertices(), GetNumFaces(), Release()


 
 
 


 GameTutorials Software
 C Tutorials
 C++ Tutorials
 C# Tutorials
 Java Tutorials
 Win32 Tutorials
 Direct3D Tutorials
 OpenGL Tutorials
 Recent Tutorials
 Free Tutorials



Get All 350+ Tutorials Now!


                                                              Main  |  FAQ  |  Terms of Use  |  Links Contacts Forums