|
-
Jun 25th, 2009, 12:45 PM
#1
Thread Starter
Hyperactive Member
Drawing 3d Cubes
I'm fairly new to C# but I have a basic understanding of it, and I downloaded some source code the other day that drew a 3d cube into a picturebox. I thought it was pretty interesting, so I wanted to know how I could code it myself. So where yo begin.
I was wondering if anyone could direct me on where to start with 3d/2d drawing with C#, or explain how it works. I found a good tutorial on how to make a 3d textured cube in C# a while back on youtube, but I can't find it again. I was wondering if anyone would be willing to tell me the basics of it. Thanks for anyone that helps, I'm not asking for much, and if you feel that I am I'll forgive you if you don't reply.
-
Jun 25th, 2009, 01:55 PM
#2
Re: Drawing 3d Cubes
Would you forgive me if I did post, but it wasn't useful?
First off, one would need a grip on 3D/vertex math(s). Secondly, the System.Drawing.Graphics class provides simple drawing methods like DrawLine. Once you've calculated the 8 vertices, Bob's your uncle! Introducing textures, that creeps up to 24 vertices: 4 per face, subtracting for faces that won't be rendered.
As to your tutorial: pick one
-
Jun 25th, 2009, 04:42 PM
#3
Thread Starter
Hyperactive Member
Re: Drawing 3d Cubes
Actually, axion, although I already knew a bit about the creation of the shapes, your post was fairly helpful
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|