Jump to content
  • Advertisement

Archived

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

Lopton

Making a 3d looking box

This topic is 6176 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

I am trying to design a program for a movie that my friends and I are making. I literally learned DirectDraw commands for DX7 over the last day and a half, so I have little background on this, what I am trying to acomplish is draw a 3d box that has all vetrices colored blue to a certain width, I would prefer the back ones be smaller and the diagonal ones go from large to smaller, but not nessacary. something like this:
 _______
| \___/ |
| |   | |
| |   | |
| |___| |
|/_____\|

Excuss the losey ASCII artwork (must be viewed with fixed width text), but I just need to know how to do this, I wrote a way of drawing the front box and then the smaller "rear" box with smaller dimension but then realized there is no way that I can find to draw diagonal lines without loading a picture in Direct Draw. SO HEEEELLLLPPP =-P Any helps suggestions or tips would be appreciated, maybe easier in 3D? Thanks a ton in advance... -=Matt=-

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!