Link to home
Start Free TrialLog in
Avatar of drcyrus3d
drcyrus3d

asked on

C#. How do i draw a cube?

I want to draw a simple cube, that i can move after that, on one axis. I don't need mapping and stuff.

Thanks.
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

Can we have a little more info here?

You want to move on one axis...with or without "perspective"?

Or do you want to rotate on one axis?

Should this be fullscreen or windowed?

You can certainly brute force this using a little coding but do you really want to?

DirectX and/or OpenGL may be a better approach.

Can you give us a bigger picture?  It may save you some heartache down the line...  =)
Avatar of drcyrus3d
drcyrus3d

ASKER

It's about an aplication that simulates a thing moving in a space. So i woul need a simple cube in perspective, it wont be affected with rotation only linear traslation.

I would like to keep away from DirectX or OpenGL. Don't want to get to areas that i don't know, right now.

Thanks
drcyrus,

If not DirectX or OpenGL, what are you looking to draw your cube with?

If you are looking for something done in MDX (DirectX) with C#, I would certainly be willing to post some code for you.
Ok! Show me what you've got.
ASKER CERTIFIED SOLUTION
Avatar of rivusglobal
rivusglobal
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial