Jump to content
  • Advertisement

Maledict

Member
  • Content Count

    27
  • Joined

  • Last visited

Community Reputation

176 Neutral

About Maledict

  • Rank
    Member

Personal Information

  • Interests
    Programming
  1. Hi everyone, I really appreciated everyone's help in the 3D Math thread I posted earlier. Now, on a related topic, what books/resources would you all recommend for learning how to program 3D graphics? I have a reasonable background in C++/algorithmic problem solving and will be refreshing my math chops ASAP. I don't care what API or anything like that I'll be using -- I want to learn the fundamentals of 3D graphics programming and any resources around either OpenGL or D3D that you can recommend, too, would be really great. Thanks!
  2. Maledict

    Game dev math?

    Thanks, everyone!
  3. Maledict

    Game dev math?

    Hi everyone, What books would you guys recommend to have enough of a background to write 3D code? I actually have a math degree, but have been working in an unrelated field for nearly a decade, so to say that I'm rusty is an understatement. Thanks!
  4. Maledict

    OpenGL Software rendered GLSL?

    Quote:Original post by zedzeek IIRC gf4 is ps1.3 , the ati 9700 etc are ps1.4 thoguh i could be wrong, The Radeon 9700 series supports Pixel Shader 2.0, not sure about the GeForce 4, but I thought it was either 1.1 or 1.3.
  5. Maledict

    sound engine

    Quote:Original post by Avont29 Quote:Original post by Anonymous Poster umm... how old are you Avont29? im 15, im not slow or retarded or anything, i never knew sound engines sell that high, because they aren't really hard to make, of course i havn't considered the fact that you would have to program every single that deals with sounds, loading, playing recodering, a lot of work if you think about it.....wow, $200,000 Engines of any sort (sound, physics, rendering etc.) are massive software engineering projects and are far from simple. Why do you think that software suites such as the Unreal Engine or the Id engines cost as much as they do? It's a hell of a lot of work to write any part of an engine, and even harder to integrate them to form a cohesive, working package. I'm learning graphics now, and you should see how much work it takes to make a simple triange or quad appear on the screen. You would probably be unimpressed by it, and yeah, compared to professional renderers and such, my program is quite trivial. However, when you actually code this kind of stuff, you develop an immense respect for how daunting programming is for the simplest of programs, let alone, an entire subsystem. Don't judge an engine by how simplistic or complex the task is, and truly think about how much work goes into it. Then you'll have great respect for even the, as you say, 'not really hard to make' sound engines. I don't think anybody hinted that you were mentally inept, but a little ignorant about the world of game engine subsystems. Maledict
  6. Maledict

    DirectX

    Quote:Original post by thannett I've got Introduction to 3D Game Programming with DirectX 9.0 by Frank Luna. It's pretty good. Seconded, that's what I'm going through right now. Has everything you need to begin D3D9 programming!
  7. OpenGL tutorials would be quite beneficial.
  8. Maledict

    good career?

    Quote:Original post by skittleo dbzprogrammer- Be careful. You made a couple of mistakes. Game programming is hard to get into because it is in high demand and requires extensive knowledge. It does not pay as well as most regular software jobs. Salary charts show this. Excuse my ignorance, but game/engine programmers don't really make all that much money? I was always under the impression that they made a considerable amount of money?
  9. Maledict

    help with pointers

    Okay, the deal with pointers are, they're really easy to get confused by newbies, and I understand, as it took me a day or so to really get them down. Now, with the code you've shown, here's what's happening (look at the comments); // more pointers #include <iostream.h> int main () { int value1 = 5, value2 = 15; // declaring two variables, and inititalizing int *p1, *p2; // declaring two pointers to integers p1 = &value1; // the VALUE of the pointer p1 is the memory address of value1 p2 = &value2; // the VALUE of the pointer p2 is the memory address of value2 *p1 = 10; // The value in the memory address the pointer is storing is // changed to 10. value1 is now equal to 10 *p2 = *p1; // the value at the memory address pointed by p1 is assigned // to p2. value2 value is now equal to value1 p1 = p2; // the memory addresses that the pointers point to are now // equal *p1 = 20; // value in the variable at the memory address pointed to by the // pointer is 20 cout << "value1==" << value1 << "/ value2==" << value2; return 0; } I hope this helped, if you have any more questions, or need further explanation of pointers, you can PM me, I don't mind helping you out!
  10. Maledict

    Aww HeLp!!

    Well, before I switched to VS.NET 2003 (handles that automatically), and used DevC++, I'd usually use cin.get(), but system("PAUSE") works well, also.
  11. Maledict

    game modding

    cppgirl, Typically a lot of games ship with their own toolsets and scripting languages to allow for modding, and some even come with an SDK written in C++, which the users can modify. It completely depends upon the game developer. Now, I don't have any of the games you mentioned so I wouldn't know if they ship with modding tools, SDK and/or scripting language. I've dabbled with the Doom 3 SDK, Doom 3 Script and UnrealScript, but I prefer having complete control over a project. It's all up to you, whether you'd like to mod games or help make them from scratch! EDIT: Bah, forgot to answer your questions completely, sorry about that! 1.) Modding a game is generally easier than a full game, all things equal 2.)Some games (like Doom 3) have their SDK written in C++, so you could forseably use your C++ knowledge to modify some aspects of the game logic.
  12. Maledict

    What are these...

    Quote:Original post by orcfan32 I was wandering about something that I never understood. (Never wanted to understood for that matter.) What does #pragma do and what is a class? A class really is just an advanced structure. Here's an example in code: #include <iostream> using namespace std; // class definition class TestClass { public: TestClass(); // constructor run automatically when class instanced ~TestClass(); // destructor NOTE: never takes arguments void randomMemberFunc(int z); // function prototype private: // can only be seen by member functions of classes, hence 'private' int a; int b; int c; }; // end class definition // constructor function definition TestClass::TestClass() { cout << "Welcome to the constructor!" << endl; } // destructor function definition TestClass::~TestClass() { } void TestClass::randomMemberFunc(int z) { a = 5; // we can use the data members b = 6; c = a * b; z = c * 5; cout << "c = " << c << endl; cout << "z = " << z << endl; } int main() { TestClass myTestClass; // an 'instance' of the class which allows you to // access member functions and data members myTestClass.randomMemberFunc(6); // we can call a function from a classes // instance using dot notation cin.get(); } Again, a class is essentially a struct, except we add in the ability to add functionality, as well as data. And we instance it just like a struct, and use dot notation to access stuff in the class instance. There's also inheritance and things like that, which allow you to derive classes from other classes, but it's quite late here, and any explanation I might give, may not be of the best quality! :-) There may be errors in the code, but I think it gets the basics across! (EDIT: I whipped it up as I was posting, but it seems to compile for me!) If you have any questions, I'd be glad to help you out, just PM me, and I'll do what I can! :-) Hope this helped, Maledict
  13. Maledict

    I need a C compiler.

    DevC++ is very nice if you're starting out or if you're experienced. It has great functionality, and is free. In fact, it has sample OpenGL programs in it too that you can play around with as well :-) I believe DevC++ supports C and C++. I until very recently, used DevC++, but when I got my hands on a copy of .NET, I just had to justify the cost by using it :-)
  14. Maledict

    goto

    Anytime, if you need help with anything, don't hesitate to PM me. Maledict
  15. Maledict

    goto

    if (x > 10) { cout << "X is 10" << endl; } else if (x < 10) { cout << "X is less than 10" << endl; }
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!