Advertisement

What about 'dem purdies?

Started by March 06, 2000 03:54 PM
4 comments, last by Fredric 25 years ago
The book that I''m reading on C++ has NOTHING to do with graphics. I''ll need all the concepts taught in the book to make a game, of course, but where would I get information on how to put graphics in my applications as well as animation? I have Lamothe''s Dummies and Black book, but they don''t really FULLY explain how to put graphics in applications. Lamothe kind of ''skims'' over the material written in the book, but doesn''t fully EXPLAIN how to put graphics in... so, can any of you mention a source (book, site) that will FULLY explain how to put graphics and animation in my apps? Programming::~Fredric(const Annoy_Ance)
3D Math- The type of mathematics that'll put hair on your chest!
The reason why your C++ book doesn''t cover graphics is because it''s completely platform dependant. I personally found that LaMothe explained graphics concepts pretty well, so you might re-read it (I''ve found that sometimes I need to read things multiple times before it really clicks).

There are some books that do cover graphics theory exclusively, but their names escape me. Look around a bit and youll probably find something which will help you.

--TheGoop
Advertisement
Alright... I''ve looked over Andre''s samples, but I still have a problem- his source code is entirely in C. I use C++...

Programming::~Fredric(const Annoy_Ance)
3D Math- The type of mathematics that'll put hair on your chest!
Lamothe tends to use C for most of his programming. For a lot of the stuff, simply convert his "struct"s to "class"es (in C++, structs work exactly like classes with the default that all members are public instead of private. You can actually put member functions in structs, but people tend to leave classes for that, since you can specify your intent more clearly)...

Unfortunately, I don''t have any graphics books to point you to, but I think they have a reference to books here at Gamedev.

-Chris

---<<>>---
Chris Rouillard
Software Engineer
crouilla@hotmail.com
---<<>>--- Chris Rouillard Software Engineercrouilla@hotmail.com
first of all, I would recommend against using Lamothe''s code in your own programs. not that it''s evil, but it''s generally laiden with assumptions that hamper your understanding. usually the people that use his code are novices, making them that much more susceptible to thinking that "this is the way professionals code," which it isn''t.

his code is fine for illustrating specific concepts (hence the assumptions), but take it with a grain of salt - glance at it and move on, but as far as using it productively, it''s generally a bad idea. note that I own 3 of his books, and have enjoyed VERY much reading them, and learned quite a lot from them in the process, but I just don''t like the way he presents and writes his code.

Second, even though it''s C, it works fine in C++.

Third... well actually it was just those two...
Oh, sweet! I didn''t know that structs are basically C classes... that''s awesome! I guess I can understand his code better. I''ll take your advice, foofightr- in fact, I''ll take all your advice!

Thanks for the help, but, if any of you out there know of books that you''ve personally read and reccamend, I''d greatly appreciate if you mentioned it here! I gamedev has a book section, but it doesn''t really have anything in it. It does have stuff, but the reviews aren''t that personal, if you know what I mean... Anyways, once again, thanks for all your help!

Programming::~Fredric(const Annoy_Ance)
3D Math- The type of mathematics that'll put hair on your chest!

This topic is closed to new replies.

Advertisement