• Content count

  • Joined

  • Last visited

Community Reputation

236 Neutral

About R1cochet

  • Rank
  1. Specific Model Format

    I think .obj format would be suitable, it's very easy to import and has exporters available for it in almost all the applications. In DirectX9 you can load .X using the D3DXLoadMeshFromX [url="http://msdn.microsoft.com/en-us/library/windows/desktop/bb172890%28v=vs.85%29.aspx"]http://msdn.microsoft.com/en-us/library/windows/desktop/bb172890%28v=vs.85%29.aspx[/url] DirectX10 and 11 do not provide this. You can also use the AssImp library to import your assets. [url="http://assimp.sourceforge.net/"]http://assimp.sourceforge.net[/url]
  2. Where Should I Start?

    If you mean a good book then i highly recommend C++ primer plus 6th edition as a beginners book. It's very well written in my opinion and after reading through this one you would have a firm grasp on the language. [url="http://www.amazon.com/Primer-Plus-Edition-Developers-Library/dp/0321776402"]http://www.amazon.com/Primer-Plus-Edition-Developers-Library/dp/0321776402[/url]
  3. Useful links

    I found these tutorials to be helpful for DirectX 10 and 11. [url="http://www.rastertek.com/tutindex.html"]http://www.rastertek.com/tutindex.html[/url] [url="http://www.braynzarsoft.net/index.php"]http://www.braynzarsoft.net/index.php[/url]
  4. Implementing a basic FPS bot

    I have considered modding using the Source SDK as well but i wanted to use this project as a learning experience for an engine like UDK. I am also considering open source alternatives like Panda3D. As i have said before the main constraint is the availabiity of the resources needed for this project.
  5. I want to implement a fps bot for my Artificial Intelligence project. What would be the best engine/framework to create this in since i want to concentrate on the AI code only without worrying about other details like the graphics and animation. I have looked at Unity and UDK as possible candidates. The main question is that are there art assets available for these engines that I can directly use in my project like maps and characters.
  6. Where to start 3D game programming?

    I'm assuming that since you are looking at SDL and Allegro for programming 2D games that you know a decent amount of C/C++. I have used Allegro for 2D games and it's a good library,I can't say anything about SDL since i have no experience using it. Have you thought about using XNA for making games, I'm saying this because it makes it very easy to create 2D as well as 3D games using it and since you know some C/C++ the learning C# would be relatively easy. Also it takes away a lot of the low level stuff and lets you concentrate on just making the game which in the end is the main concern
  7. The Best Books

    I started to learn programming in C++, Ivor Horton's and Deitel's book were the ones that i used. Another book which i really enjoyed reading was Code Complete although it is not a beginners book but i felt like it really helped me a lot after i had learned how to program. For game programming i read Aaron Reed's book on Xna and started learning c# along the way which was easy for me since i already knew C++.
  8. Where to start 3D game programming?

    If you are just starting out with game programming then I would have to agree with what doombunny3 has to say, start with some easy 2D games and move your way up. If you have already done that then you can start with 3D games. 3D graphics are just one part of what goes into making a 3D games there are a lot of other things that you have to consider like physics etc. I would personally recommend making a simple space shooter or something like that to begin with as it is as bare bones you can get in 3D games without worrying about other aspects.Here is something that you can use for learning Opengl http://www.arcsynthesis.org/gltut/index.html
  9. Help with win32 code

    After even going through the code many times i couldn't figure out what was going wrong. looking at the source given and comparing it with what i had written, not realizing i made the simplest of mistakes. I guess i just really needed a break
  10. Help with win32 code

    I have started working on learning the directx11 using the new directx 11 [url="http://www.amazon.com/Beginning-DirectX-11-Game-Programming/dp/1435458958/ref=sr_1_1?s=books&ie=UTF8&qid=1306741141&sr=1-1"]book[/url] and i am having problems with creating the blank window, when i compile the code the window shows up but it's not responding. I cant figure out whats wrong with the code, the source code from the book compiles correctly though showing the blank window. Here is what i have written. Can anyone tell what I'm doing wrong here. # include <Windows.h> LRESULT CALLBACK WndProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam) { PAINTSTRUCT paintstruct; HDC hDC; switch(message) { case WM_PAINT: hDC = BeginPaint(hwnd,&paintstruct); EndPaint(hwnd,&paintstruct); break; case WM_DESTROY: PostQuitMessage(0); break; default: return DefWindowProc(hwnd,message,wParam,lParam); } return 0; } int WINAPI wWinMain (HINSTANCE hInstance, HINSTANCE prevInstance, LPWSTR cmdLine, int cmdShow) { UNREFERENCED_PARAMETER(prevInstance); UNREFERENCED_PARAMETER(cmdShow); WNDCLASSEX wndClass = {0}; wndClass.cbSize = sizeof(WNDCLASSEX); wndClass.style = CS_HREDRAW | CS_VREDRAW; wndClass.lpfnWndProc = WndProc; wndClass.hInstance = hInstance; wndClass.hCursor = LoadCursor(NULL,IDC_ARROW); wndClass.hbrBackground = (HBRUSH) (COLOR_WINDOW + 1); wndClass.lpszMenuName = NULL; wndClass.lpszClassName = "M"; if(!RegisterClassEx(&wndClass)) { return -1; } RECT rc = {0,0,640,480}; AdjustWindowRect (&rc,WS_OVERLAPPEDWINDOW,FALSE); HWND hwnd = CreateWindow("M","Blank Win 32 Window",WS_OVERLAPPEDWINDOW,CW_USEDEFAULT,CW_USEDEFAULT,rc.right - rc.left,rc.bottom - rc.top ,NULL,NULL,hInstance,NULL); if(!hwnd) { return -1; } ShowWindow(hwnd,cmdShow); // Demo Initialize MSG msg = {0}; while(msg.message != WM_QUIT); { if (PeekMessage (&msg,0,0,0,PM_REMOVE)) { TranslateMessage(&msg); DispatchMessage(&msg); } else { // Update // Draw } } // Demo Shutdown return static_cast<int>(msg.wParam); }
  11. Another Beginner Question

    Hi i am sure you have been through these type of questions before but please bear with me on this. i have a few questions in mind I am comfortable with programming in C and C++ but i have only done console applications. My interest lies in programming games hence i've decided to learn DirectX (i've heard that the learning curve is high). Is knowledge of windows programming essential before moving on and also if you could suggest some good books and resources for them. I'm not good at photoshop or other graphics programs so do i need to learn that as well or i could use resources from the internet(some links would be helpful). Any other suggestions from where to start or other methods of learning.
  12. Need help fixing very simple C++ code.

    You have to perform the calculation AFTER you have taken input from the user otherwise you are just multiplying two garbage values. The correct formula for conversion is C is Celsius F is Farenheit C = 5/9*(F-32) F = 9/5*(C+32)