3D cube
-
Hi, do you have c# program that draw cube? Noha.Y
-
Hi, do you have c# program that draw cube? Noha.Y
no...It doesn't work that way: But you can
look into Microsoft's XNA framework, and you can look up Direct3D tutorials. Building a 3D cube will be one of the first things you will build
or
do it the old fashioned way...register a Win32 Window, register your callback and message loop, and hack away inside your render code to build a cube(in Direct3D, OpenGL...or whatever graphics library you like)
My suggestion would be to look into the XNA. You'll be able to execute your DirectX code inside the CLR, so all of your resources will be inherently Managed. :)
Welcome my son...Welcome..to the Machine
-
Hi, do you have c# program that draw cube? Noha.Y
try http://www.gamedev.net to find DirectX and OpenGL tutorials
Welcome my son...Welcome..to the Machine
-
no...It doesn't work that way: But you can
look into Microsoft's XNA framework, and you can look up Direct3D tutorials. Building a 3D cube will be one of the first things you will build
or
do it the old fashioned way...register a Win32 Window, register your callback and message loop, and hack away inside your render code to build a cube(in Direct3D, OpenGL...or whatever graphics library you like)
My suggestion would be to look into the XNA. You'll be able to execute your DirectX code inside the CLR, so all of your resources will be inherently Managed. :)
Welcome my son...Welcome..to the Machine
How can I enter to XNA is? Noha.Y
-
try http://www.gamedev.net to find DirectX and OpenGL tutorials
Welcome my son...Welcome..to the Machine
Can you give me another website to find directX and OpenGL? because my computer is not able to enter to www.gamedev.net Thanks; Noha.Y
-
Hi, do you have c# program that draw cube? Noha.Y
...I saw a post that you made earlier asking the same thing, but you specifically mentioned OpenGL, but you mentioned in this post that you specifically want to write in C#. If you REALLY want to write OpenGL code in C#, you're going to need to get the CsGL library from sourceforge. ..Only problem is that the project was ended back in 2003. If you run into any problems, it might be a bit difficult to find any support at all, especially since you don't know OpenGL coming into it. If you want to write OpenGL, you're probably going to want to write it in either C or C++. There are several toolkits available to make your life easier...especially the GLU, & the GLUT. ...There are 2 major reference manuals that you're going to want to get. They're called the "Red Book" and the "Blue Book" (There's also a "Green Book", an "Orange Book" and the "White Book") but the Red and Blue will get you started. You can find deprecated copies of Red and Blue all over the place.
Red is the Programming Guide
Blue is the Reference Manual
Orange is for the OpenGL Shading Language(Don't worry about it for now)
Green is for X Windows programming
White explains how OpenGL interfaces with Windows (95 & NT specifically)
Welcome my son...Welcome..to the Machine
-
Can you give me another website to find directX and OpenGL? because my computer is not able to enter to www.gamedev.net Thanks; Noha.Y
...are you at work or something? I can't think of any other sites for certain. ...I'm sure GamaSutra would have tuts. ...Other than that, some simple web research should find tons of simple examples. Typically, tutorials follow this kind of structure:
1.They'll start you off building the window...
2.You'll draw a 2D triangle
3.You'll rotate that triangle
4.You'll build a 3D cube
5.You'll build Halo
6.Sell Halo for $30,000,000 , call John Carmack and go "HAHAHAHAHAHA"
7.Start your own Gaming company
8.Get hot chicksWelcome my son...Welcome..to the Machine
-
...I saw a post that you made earlier asking the same thing, but you specifically mentioned OpenGL, but you mentioned in this post that you specifically want to write in C#. If you REALLY want to write OpenGL code in C#, you're going to need to get the CsGL library from sourceforge. ..Only problem is that the project was ended back in 2003. If you run into any problems, it might be a bit difficult to find any support at all, especially since you don't know OpenGL coming into it. If you want to write OpenGL, you're probably going to want to write it in either C or C++. There are several toolkits available to make your life easier...especially the GLU, & the GLUT. ...There are 2 major reference manuals that you're going to want to get. They're called the "Red Book" and the "Blue Book" (There's also a "Green Book", an "Orange Book" and the "White Book") but the Red and Blue will get you started. You can find deprecated copies of Red and Blue all over the place.
Red is the Programming Guide
Blue is the Reference Manual
Orange is for the OpenGL Shading Language(Don't worry about it for now)
Green is for X Windows programming
White explains how OpenGL interfaces with Windows (95 & NT specifically)
Welcome my son...Welcome..to the Machine
Nice... I started with the Red Book, but my problem was how to start a new project. I mean what to choose? and how to initial the classes!! Noha.Y
-
Nice... I started with the Red Book, but my problem was how to start a new project. I mean what to choose? and how to initial the classes!! Noha.Y
-
Check out the tutorials at Nehe. They're pretty good, and C# source code is included for most tutorials...
Standards are great! Everybody should have one!
..Nehe is maintained by gamedev. ...what implementation of the OpenGL spec are you using? ...Which spec does your implementation build off of? Are you using Mesa? Glut? CsGL? ...Try going to opengl.org. There should be information in their wiki as well as getting started information
Welcome my son...Welcome..to the Machine