Archived

This topic is now archived and is closed to further replies.

valles

4 questions. C++ and DirectX

Recommended Posts

valles    173
1) I have a pointer declared:
char* pointer;
pointer = new char[255];
Q: How do I access one of the characters in the array. 2) How do I shrink a mesh to fit a scene? 3) What is the best way to change the colors of a mesh, like make it more red? 4) What is the best way to change the head of a mesh character? - valles

Share this post


Link to post
Share on other sites
Pipo DeClown    804
1) pointer[0 - 254]. (255 may not be accessed)
2) D3DXMatrixScale() and pD3DDevice->SetTransform().
3) D3DXMATERIAL9.
4) Animation?
- Vertex manipulation by hand. (Boooo!)
- Load model files: .md2, .3ds, .ms3d, .X,. (Yaay!!)

.lick

Share this post


Link to post
Share on other sites