• Advertisement

Archived

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

pleaaseee help, i jus want 2 3Dobjects :(

This topic is 5998 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi. i would like to know how to implement 2 objects in the code and showing them?. thanks in advance. Edited by - Funkodysse on November 19, 2001 11:44:03 A hello man. Edited by - Funkodysse on November 19, 2001 11:44:43 AM

Share this post


Link to post
Share on other sites
Advertisement
i have one 3D object here:


CUSTOMVERTEX g_Vertices[] =
{
{ 0.0f,0.0f, 0.0f,D3DCOLOR_XRGB(0,255,0) }, // x,y,z,color
{ 1.0f,0.0f, 0.0f,D3DCOLOR_XRGB(0,0,255) },
{ 1.0f,1.0f, 0.0f,0xffffffff },
{ 0.0f,1.0f, 0.0f,D3DCOLOR_XRGB(0,255,0) },
{ 0.0f,0.0f, 0.0f,D3DCOLOR_XRGB(255,0,0) },


{ 0.0f,0.0f, -1.0f,D3DCOLOR_XRGB(0,0,255) }, // x,y,z,color
{ 1.0f,0.0f, -1.0f,D3DCOLOR_XRGB(255,255,0) },
{ 1.0f,1.0f, -1.0f,D3DCOLOR_XRGB(0,255,255) },
{ 0.0f,1.0f, -1.0f,D3DCOLOR_XRGB(255,0,0) },
{ 0.0f,0.0f, -1.0f,D3DCOLOR_XRGB(255,255,0) },

};


and i would like one more..
how do i do that? and how do i implement one more in the code, with all the D3DMatrix mumbo jumbo



Edited by - Funkodysse on November 19, 2001 9:54:29 AM

Share this post


Link to post
Share on other sites
I cant be bother explaining it myself, but there is some good code for doing exactly that at http://www.drukenhyena.com hope it helps

Share this post


Link to post
Share on other sites

  • Advertisement