Direct3D

i am learning OpenGL these days.... i wonder how can i create things with directX.. i wish to do direct3d programming.. i have heard about XNA game engine.. but its just a game engine using direct3d,not direct3d rite... how can i develop something using direct3d... lets assume i want to create a software like maya or unreal engine or 3ds max.. something like that... i can somehow tryto do this with openGL.. its directly programming with the openGL library using C++...
but how can i do it with direct3d..??

i hope u dont find this as a silly question... i just wanna know..
closed account (3pj6b7Xj)
Its not a silly question, I have done some DirectX programming myself. OpenGL is a lot simpler than DirectX, Direct3D is very, very low level...I suggest you start learning about well, it is hard to explain, don't want to overwhelm you with the details.

For starts, get the DirectX SDK the latest one, then install it and include the appropriate headers...I used D3D9 so I had to include d3d9.h and d3d9.lib but thats for directx9 which is sort of outdated but still used.

Here is a tutoriial on a simple hello world program in D3d9...

http://celestialcoding.com/index.php?topic=1406.0

Don't be scared by the size, if you read through, it will make sense. The only thing I don't like about how people setup directx is the use of global variables and I HATE, I HATE...global variables......unfortunately my current game uses them but soon I will drop that idea.

EDIT::1/2/2011; Oh yeah, I just dropped the idea thanks to freddie1, lol!
Last edited on
hey thanks for all mrfaosfx... i will start with your link and information.. thanks..
anyway,
this is what i have done with UDK,
http://kasillaz.blogspot.com/2010/11/curse-of-thaprobana.html
http://www.youtube.com/user/TheDeamonpog
closed account (3pj6b7Xj)
that looks awesome, you are very good with OpenGL, I could not do that with OpenGL.
no no man.. hehe.. its UDK.. the unreal engine...
hehe.. it will take more time to do this with OpenGL... but i will to do something simillar at least...
thanks for ur comment mrfaosfx...

if you are interested in UDK, i can help you.. just mail me.. and UDK is free for download and for education..
just google it..
they use C++ and a language called Unrealscript on it(which is also made with c++) for programming..
the famous game, Unreal Tournament is made with the Unreal Engine..
its cool..

cheers...
Topic archived. No new replies allowed.