Jump to content
  • Advertisement

Archived

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

Funkodysse

pleaaseee help, i jus want 2 3Dobjects :(

This topic is 6089 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
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!