• Content count

  • Joined

  • Last visited

Community Reputation

122 Neutral

About ender012345

  • Rank
  1. Some direction, please?

    Please help! I'm completely stuck on what I should be spending my time learning. I've been trying to learn game programming for some time now, often getting out of practice for months at a time, often due to getting stuck on a decision of where to direct my learning. I have a solid understanding of the concepts within C/C++. After taking a C++ class in high school, I've continued with self study, and gained an immediate interest in game programming. I made several small text-based games and then started learning Allegro so that I could integrate graphics. (Please note the lack of direction I had in what I should be learning) I eventually felt I had made a mistake in learning allegro and decided that I should learn direct x instead. I could not get the direct x sdk to work with the dev-C++ compiler I was using at the time. I took a long break from game programming then, but eventually downloaded Visual C++ Express and was able to get the sdk to work with the tutorials I found on the internet. I also tryed out the Dark GDK and found it to my liking. I searched for modeler programs that could export to a .x file, and found Blender, which I became engrossed in learning for very long. However, even following specific instructions for the exporter, I cannot get an animated, textured model to successfully export to a .x file. I've been trying to fix that little problem for some time, and I think I could easily continue my education through directx and the Dark GDK if I could make my own models. I can't seem to fix my problem with the exporter, and I thought that making my own modeler specific towards .x objects would be a decent idea since it would help me learn more about directx anyway. Here's where I'm stuck. I still don't know much about directx, and I'd still give up what I've learned in it and go back and learn OpenGL or a graphics engine instead. For now, I'm only planning on doing game programming as a hobby, but I still want to make code that can be used by others, and even join an open project after I get some more experience, so I want to learn something that is going to be useful to me as an independent game programmer/designer but also something that I can take with me to work along with others. -I've read that OpenGL is more portable than directx, but I'm ok with aiming at a windows platform if it's going to be a better, faster, and cheaper learning experience for me. -I understand that I shouldn't be so concerned with making 3d games, since I can't make much on my own. I can make 2d games with allegro right now, and I'd be more than willing to go all the way back to the basic stuff again with another sdk. I just want to go back there and get on a path that doesn't dead end at 2d since I'd like to participate in bigger projects some day. I am now stuck with these concerns -I don't know whether to study directx, opengl, or a graphics/game engine. -I also don't know whether to use blender as a modeler, find another one, or create my own. -I know that I need to get some more books on game programming. I just need to decide what direction to take. In fact, I don't need answers to all of these problems. This is a chain of problems and if I can find a solid answer to any of them, I am sure I will be on my way to solving the rest. -I can spend SOME money on books etc, I just don't want to waste it on things I don't actually want/need (like a book teaching an sdk that I can't take anywhere) -I really need some direction so that I can find a path to follow. Please give me whatever advice you can and thank you for reading my lengthily described situation.
  2. I'm new somewhat new to direct3d and blender. I started learning direct3d and also the Dark GDK, and then downloaded blender because I wanted to create my own models. However, I can't seem to get any of the direct x exporters I've found for blender to correctly export models with textures and animation. I've gotten the default exporter to create xfiles with single animations, but cannot get the texture to work with the xfile. I have found several discussions on this topic, but they are all several years old and do not solve the problem, quite likely because they refer to older versions of blender. Is there a directx exporter that will work fully and correctly with blender v.2.46? Have I learned to use the wrong modeler for xfiles? I've considered learning python to create an exporter myself, but I want to actually create something rather than just keep throwing myself into learning different languages and tools. Can someone help me out?
  3. I'm having a similar problem to the one posted at http://www.gamedev.net/community/forums/topic.asp?topic_id=474527&whichpage=1� however, I'm getting a slightly different error with a file name that doesn't even show up on a search of gamedev.net. I'm using VC++ 2008 Express edition and the Microsoft Platform SDK for Windows Server 2003 R2. I'm trying to run an example program from directxtutorial.com. I'm getting this linker error when I try to use atlbase.h. 1>LINK : fatal error LNK1104: cannot open file 'atlhunk.lib' In the previous post, someone was getting the same error except that the file was atlthunk.lib. Also, I don't understand the solution to the problem found in that post. "Edit your altbase.h there is #pragma comment directive, that queries for atlthunk.lib - comment this." <-- no idea what that means. Any help is appreciated. Thank you.
  4. atlbase.h not found, by VC++ or by me....

    Found the file. It works now that I changed it under directories from ../include to ../include/atl
  5. atlbase.h not found, by VC++ or by me....

    Ok, I read that the express edition comes with no atlmfc file. I downloaded and installed Microsoft ® Windows Server® 2003 R2 Platform SDK, however I am still getting the exact same error. I've added the include and lib files under directories just as I had to do with directx. What am I not doing?
  6. I'm new to both directx and using visual c++. The tutorial I'm using calls for the use of "atlbase.h" but I get the error: 1>c:\users\dan\documents\visual studio 2008\projects\airplane\airplane\main.cpp(6) : fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory I have the express version of VC++, and I can't find atlbase.h anywhere. Is there another library I need to download? or perhaps and sdk that I don't have?
  7. linker error using direct x with dev c++

    ok, I got the express version of visual c++ and everything is working fine even when I use the d3d9.h header file, but I run into a problem as soon as I try a program that uses d3dx9.h. Do I need to do something to link the directx libraries to visual studio? If so, I don't understand why a program with d3d9.h works... Specifically, I get this error. ------ Build started: Project: kfdldkd, Configuration: Release Win32 ------ Compiling... main.cpp .\main.cpp(5) : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory Build log was saved at "file://c:\Documents and Settings\Daniel\My Documents\Visual Studio 2008\Projects\kfdldkd\kfdldkd\Release\BuildLog.htm" kfdldkd - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== ok. found an answer in another topic by the member vODKA. however, I now just get a slightly different error. the forum said to: ------------------------------------------------------------------------------ Firstly, you have to download it from the microsoft website (I think it's a couple hundred megabytes). Then you unpack it - I suggest a simple-to-reach directly like C:\DXSDK\. Then, you need to go under Tools->Options->Projects and Solutions->VC++ Directories. Under the selection box "Show Directories For", select "Library Files" and add the directory "C:/DXSDK/Lib"; then the same for "Include Files" and "C:/DXSDK/Include". Then, when you make a project, select Project->Properties->Linker->Input, and under Additional Dependencies, enter these items separated by a space: "d3d9.lib d3dx9.lib"; if your reference material calls for others, add them as well. You could alternatively do this right in your code with: #pragma comment(lib, "d3d9.lib") #pragma comment(lib, "d3dx9.lib") Then, in your project, simply #include the DirectX headers: #include <d3dx9.h> // this automatically includes d3d9.h Then you're all set to use DirectX. ------------------------------------------------------------------------------ I've done all of this, and now, when I try to run my program, it gives this error... ------ Build started: Project: kfdldkd, Configuration: Debug Win32 ------ Linking... LINK : fatal error LNK1104: cannot open file 'd3dx9.lib' Build log was saved at "file://c:\Documents and Settings\Daniel\My Documents\Visual Studio 2008\Projects\kfdldkd\kfdldkd\Debug\BuildLog.htm" kfdldkd - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Why can't it open it? This error happens with any of the sample programs that come with directx, using d3dx9.h. [Edited by - ender012345 on January 20, 2008 1:25:33 PM]
  8. linker error using direct x with dev c++

    I'm not sure where to find visual studio, or how much it costs. I'm not totally sure how to link the library files. Right now, I've gone into Tools-> Compiler Options-> Directories-> Libraries and added the \lib folder from where I unzipped the sdk. I've done the same with the \include folder under the include tab. So, now I've searched and found visual C++ express edition, and I am currently downloading it. I think the express edition is just ONLY what you choose to download or something, but I thought you had to BUY visual studio? [Edited by - ender012345 on January 20, 2008 8:06:09 AM]
  9. I started reading a tutorial on direct x programming just yesterday. I'm using dev-c++ and I'm getting a linker error: [Linker error] unidentified reference to 'Direct3DCreate9@4' [Build Error] [project5.exe] Error 1