Added: 3 years ago
From: BenWells3D
Views: 48,097
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (121)

Sign In or Sign Up now to post a comment!
  • where you get the documentation and api refenses???

  • Are you recording from a Cellphone?

  • @xCalecax no he is using hypercam.........

    

  • very good!

    i'm from germany but you speak so clearly that I can understand almost everything

    thanks for this tutorial

  • @Codycero

    I agree. I had the same problem and the only way to actually learn programming and write easily what you want afterwards is only if you buy a book or even better if another programmer helps you (a friend or your university professor). I had to go to a uni to truly be confident to say (i learn c,c++ etc)

  • mines says the d3dx9.h no such file or directory? help please

  • @learnsomeprogramming your IDE might not have installed all paths to the DX libraries. Usually in "Projects"-> "Options" youll find something like "Folders". Add your path to DirectX SDK/lib to the "Library Folders" and the path to DirectX SDK/include to the "Include Folders". Maybe you have to read your IDEs helpfile to get this.

  • im trying to do it in c# is this possible?

  • @jasek1w There should be an individual sdk for it or something, but this tutorial might not be of use to you

  • @jasek1w No, in fact it isn't possible at all; its like dividing by zero. Lol Im trolling, of course it is

  • @jasek1w microsoft has an SDK for C# called XNA or something like that

  • Comment removed

  • Such a good good tutorial. BUT OMG THE SOUND IS TERRIBLE! Please buy a new mic. =)

  • Guys help..

    Failed to create 3D3 device

    HELP ASAP

  • Single-handedly the WORST DirectX Tutorial I've ever came across in my life.

  • link is broken?

  • error C1083: Cannot open include file: 'd3dx9.h': No such file or directory

    i have it download and i also in the actual project folder

    Plzz Reply

  • @kjchandler12

    Tools->Options->Projects and Solutions->VC++ Directories-> add the includes and library folders there

  • please help my direct 3d acelaration is unavailable i use xp

    p.s. i have made the thing in properties---> settings-->advanced----> increased it

  • The fuckin link to the souce file dont work

  • "If you don't know what they're all about then just.. look it up on google, yeah"

  • thanks :D

  • If I get the newest Direct3D SDK, will that only work with DX11 or... well, how does that work?

  • @darkwoodmovies No, it will have support for DX11, but it will also have all the previous versions like DirectX 8, 9, 10 etc.

  • @darkwoodmovies it gets you all of the DX 9/10/11 libraries

  • Whats differeance between directx and managed directx

  • @XeadXhot managed directx is no more. managed directx became XNA.

  • u rock

  • thanks

    شكرا على الدروس

  • UGH...Finally after 2:49 I can SEE the proper start O-O

  • plz tell befor i watch the rest do i have to buy anything?

  • i hace a problem in direct 3d tooo it says Craete device fail and icant disable or enable my direct3d

  • anyone know for shits and giggles, how to change the base shape of x,y and z co-ordinates,ie. if you want to off angle the basic triangle x y z shape?

  • I kinda need a little bit of help. A while ago, something went wrong with my computer and my Direct3D disappeared. Unabling me to play games. Appreciate if you could help.

  • You know, I understand the gist of how programming works. And I have looked at programming tutorials for c++ before, about 60 in fact. Problem is, I don't know how to put what I learned into practice. Kind of don't know how to make my own applications. All I learned from the tutorials was some of the main functions and variable properties and stuff. But none of the tutorials show how you would put what you learned into practice and make an app of your own.

  • @Codycero I also have that problem, the thing is that you will have to practice a lot to know how to use it. Coding really is all about just doing it. Program something simple like displaying some text or making a (very simple) game like Tic Tac Toe. Look for "Xoax C++ tutorial" here on youtube, they also have videos were they put everything you learned into practice and make a bigger application with that.

  • @Codycero I know same with me. The problem is there arnt any deacent programmers that are willing to share their kowledge even if they do theres some kind of problem, whether its like this one where it plays for half a second then pauses then you cant play any further. so basicly what i mean is you can keep looking and looking but you probly have a 5% chance of finding somethin good

  • @Codycero download a compiler... VisualStudio, Visual c++ or Code::Blocks are good ones...

  • @Codycero

    That's where you have to branch out on your own. Make a goal for yourself. Do you want to make a game? Instead of looking at programming tutorials, by not get a book on Game Design? It'll help you realize your goals and think of creative ways to put what you learned to use.

  • @Codycero i feel the same way. i have read loads of tutorials on c++ the problem is thats where most of the tutorials end. most of the tutorials don't go into the win32 api which is necessary to make an actual windowed program in windows. There are even fewer tutorials about the usage of libraries like directx.

  • @Codycero I know - you look everywhere and its teaches you variables - OOP and shit but no actual 1 hour tutorial on making apps! - I want to make a very good application!

  • @Codycero Its not just about getting input. LOADS of learning is by try and error. Maybe you have some idea for a game ? or a useful tool ? if you know the basics you should just get into own projects and try to use what you learned in the tutorials. Programming is a creative progress. You have to find the way to get some project done. Start small, like "Picking Sticks", check out the "Beginners Tutorial to game programming" here on YT. Write it in whatever language and IDE you want.

  • @Codycero That comes with the time.

  • @Codycero Then they haven't learned you anything. 3DBuzz dot com. A lot of free tutorials and a couple of paid ones, they're all really good.

  • @Codycero hey, i learned programing my self, i studied electronic @ school and i had some faint knowledge about programming, we did have a robotarm and stuff.

    i started with PERL, it toke me about a year until i really hear the coin drop on the floor.

    it's very very very important to know the operators.

    once you know these you can start in pretty much any language.

  • @Codycero it's very importante that you can visualize all the data in a array.

    .... array,s within array's

    there probable a trillions way how to achieve something, but you gotta understand the underlaying logic of programming.

    no to mention know the binary and hexidecimal system.

    but that is easy, windows calculator can help on that one..

  • @Codycero most important ever ... atleast that what i think .... is how to retrieve data from within other array.

    once you figured that out, O.O.P. is easy.

  • @Codycero Thats what youtube is for! I know it sounds boring, but start reinventing the wheel, like making calculators, notepads, command line choose your adventure type games, puzzles etc. Advance into making scripts to automate your work. Then, the most important decision, specially for c/c++, choose your platform [windows, mac, linux, crossplatform, web etc] and learn an appropriate framework/gui library for it. Make gui calcs, notepads etc. And as always, google is your best friend :)

  • @Codycero Keep this in mind, If computer programming were made for humans, we would have been born with serial ports :P

    Experiment and Interest are the keywords here :) You cannot expect to make halo if you aren't ready to put your, in hindi [ indianese :P] we call it 'jee jaan' which translates to 'life' in programing. Halo wasn't built in a day!

  • @Codycero Try looking for a PyGame tutorial. I found some awesome tutorials that make a complete game out of the stuff you learn. Alright, it's an entirely different language, but most of the learned concepts can also be used for C++ and DirectX programming. ;)

  • how do you get direct 3d?

  • @rsofawsome download directX sdk, in this case directX 9.0

  • One tiny ass screen but a nice tut

  • how do i make direct3d9 an option when i go to configure, plugins on dolphin.

  • Comment removed

  • ....

  • yes, it is very cool for you to do a tutorial :)

  • nervous?

    then stop talking xD

  • Um wat Programs would i need to Download to start making Simply hacks Vb,Visual c++

    Help!!

  • @Luke69PS3 O

    o u going to need

    sdk i use sdkagust2007

  • dx programming vs opengl is a joke you have to do almost double the work in d3d then opengl however dx has more of a support base opengl seems almost dead at times

  • your stupid, DX is faster...

  • @zomfgman depends on machine if its a peace of crap then opengl will work alot better and dx isnt always better it depends on the card you have

  • fair, but if your doing anything worth while, you will be doing it on a good rig. Good rigs run DX faster than opengl. Example: Dolphin-Emu

  • @zomfgman true that i just wish opengl had some sort of model loading built into it im not very good at parsing data and opengl almost requires you to write your own but dx has loading of .x files so its hard for me to choose

  • Comment removed

  • please reupload source file :/

  • i have a nintendo wii emulator which seems to be working fine on other peoples computers, but doesn't on mine. when i use the direct3d9 plugin and try playin "your 3d accelerator is too old". when i use the opengl plugin, it says "cant create opengl renderer". my open gl version is 1.1 but i need 2.1, also when i try to locate my graphic card it says "vgasave" meaning there isnt one installed. what can i do to fix this? im running windows xp sp1.

  • Try updating your drivers. Although this probably won't help. Whats your graphics card, it sounds as if it is too old. There is a maximum version of opengl which graphics cards support, the newer the graphics card, the newer the opengl supported.

  • your operating system with sp1 wont support the open glide 2.1 it requires sp2 or sp3

  • what can make 3d graphics games play better

  • In my opinion bigger size of programming=more complex and advanced the program is. Im guessing microsoft has figured out somethings and kept them classified and is using it to monopolize the game console industry wich is why people cant look at 360 programming.

    Im also guessing the 360 probably has a fatter mathchip lib and dx library. but thats just my opinon i could be wrong :).

  • You'd probably rght, since games have to compute a lot of math, well, more physics demanding games.

  • props for the tutorial. it is kind of funny how we all act like fanboys either proping direct x or open gl, yet both the direct x and open gl programs are a laughable 74 mb in size.

    Thier is a direct link between size of program and how advanced it is as older games under windows 95 like the original doom were only mb in size. Its just sad that people are greedy and put all that love into game developement instead of directx/opengl.

  • source files link is broken :(

  • You know what?

    Direct3d sucks OpenGL ROCKS!!!

    You can replace 1 page Direct code with

    just some lines OpenGL code.

    Silicon Graphics - the developers of OpenGL have worked with graphics from the beginning. Microsoft works with OS and things, NOT grophics, so remember:

    Direct3d sucks OpenGL ROCKS!!!

  • OpenGL is easier but looks like SHIT compared to DirectX

  • rahautsou: One man is usin ogl: JC, no more. Everybody use dx because of money.

  • know anione from where i can download Direct3D what works for dolphin emulator to play naruto clash of ninja revolution game????

  • do u download it?

  • nice dude thanks :)

  • Sorry i do not have computer knowledge,but my Direct3d stated that the function is not available.Who do i make it available.I really want to play a game so badly.

  • u got any tutorials for visual studio 2008? 2005 is a bit old now and i find that some tutorials for 2005 dont work due to some changes in code

  • i have a question, i play ragnarok private server but when i fix the setup i cant find the Direct 3D HAL, what will i do??

  • source files link is broken

  • hi good vid but dude i try to play this game gunz it was working fine and today everytime i click start game it says

    fail to intialize direct xcan u please help mE!

  • I would try reinstalling directx

  • Hi! Great vid man! I hav a lill prob... my games dont run because they tell me i need a 3d accelerator and stuff. i just bought a new comp. and no hardware came with it, but i at least want it so i can play oblivion and gothic 3:) plz help!:)

  • u got the same name as my cousin ben wells cooooool lol

  • I followed all 4 now, and i must say 5/5! awesome tutorials,

    exept, i get one error and a warking, about

    'ERROR' macro redefinition.

    in the header file From this tutorial. what can i be doing wrong? is it a typo or sometnhing?

  • Hello, any advice where to go learn DirectX on Visual Basic?

  • Hi Ben.

  • STFU and get on with the explaing god.

  • i am still having trouble!! i dont know which directx i should download. SDK, runtime, or redist. which is better.

  • To write code using DX you need to download the Direct X SDK (Software Development Kit). Be sure to also set your "library" and "include" directories in your C++ compiler's project settings or your code wont run.

    The runtime or redist are the DLL files that sit in your windows system folder to allow DX games/apps to run as stand alone programs.

  • Good great video man! I only watched the first minute of the tutorial (after all the talking) and liked how you explained every line - something very useful for people like me :) lol found out that i was finding directX so difficult because i havent studied any windows programming (tho i have studied c++ and java) so im gonna look up that stuff before doing directx again..

    Um.. I was wondering if i needed to do something to the visual studio's resource library to include the directx stuff?

  • can directdraw or direct3D work with emulators like mame or ps2 or sega genesis/gens?

  • What do you mean exactly? In most cases emulators revolving around using hardware graphics acceleration (for example PSX or PS2 emus) use either DirectX or OpenGL, other than using software rendering.

  • OK your saying i need a better graphic card right emulators can't read directx SOFTWARE but hardware.

  • Are you wanting to write your own Emulator? why do you need Direct3D? Direct3D is an API that allows low level control of the graphics card. Emulators that have already been written may use Direct3D or OpenGL for their graphical features, if thats what you mean.

  • By API, i mean a set of stuff for programmers to take advantage of when writing programs.

  • would it makes sense to download old directx versions to a old graphic card on a old pc.

  • i meant does directdraw or direct3D you download take effect on emulators you download like mame32 or an nes.

  • If the emulators require Direct3D to run, then you will need Direct3D, if they dont then ya wont.

    DirectX (apart from directX 10) is backwards compatible so you shouldn't need older versions for older cards.

    Ben

  • I need direct3d for a game I'm trying to play.. my friend really wants me to try it out since shes not a big game fan, and shes addicted to it. So I wanna test it but I need the thing :P

  • Um, you do know that this is a tutorial on directx SDK, to create games, not the directx required to play them. DIrectx 9 comes with any game that needs it to play.

  • Yeah, any retail game brings a version or update of directx with it.

    If you have Vista you have directx 10 but... don't get Vista...

  • ...DirectX 10 which is compatible with all the previous DirectX versions (9 included).

    "don't get Vista" = any good reason in regard to DirectX ? :)

  • Well, unfortunaly even the creators of DX ( which is "kida" part of Microsoft ) said that it didn't work that great.

    DX 10 is awesome, no argument, but the final result of vista, that memory sucking OS, made the DX itself don't work awesomly as it should.

    Just my opinion :)

    But no, DX 10 is great, Vista is the problem :D

  • Error code S1091 do you kknow wich code this is?

    thnx

    tato

  • ben do you know where i can download direct3d becuz i want to play the game manga fighter and i need direct 3d but i cant find any site so could you help me or some1 else?

  • hey, google "directx end user runtime" its the first result.

    Ben

  • i downloaded it but it says that the install media is damaged but do you know wheres the instal media thnx and where i can find direct3d i cant find on google

  • gtfo

  • how do you get directx 3d

  • google "directx sdk", its the first result, then follow the link "DirectX SDK November 2008"

    Ben

  • how do get directCD

  • omg just fcking use google

  • stopped at 1:06 xD, gonna go finish learning C++ lol. Dived into C++, but i think im diving too far. Your vids look really promising though, cant wait to properly start your tutorials xD. Teaching what you know to others = best revision so gdluck. And can anyone PM me with names of gd ebooks, video tutorials that are gd for learning C++, thanks much in advance!

  • I don't have too much trouble with the concepts of DirectX, the math is the only thing that gets difficult, especially since I dropped out of high school so I never did too much 'in depth' mathematics so I have to learn that stuff on my own(luckily math always came fairly easy for me).

  • Yeah, you should get a book on linear algebra. a lot of this stuff uses that branch of maths. if you need an easier start then go for high school geometry, in the uk you can buy high school maths books in shops that follow the exact syllabus that is taught in schools, i expect they have the same in the US, pick one of them up.

    Ben

  • Yea I've been looking around for some books, so once I get some money(I just bought a new TV so I'm broke now lol) I'll pick some up.

  • I heard some people think that DirectX is too hard to learn, but I never thought of it that way. :\

  • I think people are put off by the initialisation

    code coz there's loads of it compared to openGL and glut and direct3D doesn't have a glVertex3f equivalent. But when you get passed that its really not that difficult, especially with the D3DXtension stuff coz that handles most of the maths and that for you.

    Ben

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more