Tutorials On Game Programming

A Member? Please Login  
type your username and password to login
Date: July 26, 2008, 11:17 AM
223771 members and 127078 Topics
Latest Member: ada75ng
Nairaland [Nigerian Forum] Home Help Search Who is currently online? Login Register
Nairaland Forum  |  Technology  |  Programming  |  Tutorials On Game Programming
Pages: (1) (2) (3) (4) (5) Go Down Send this topic Notify of replies
Author Topic: Tutorials On Game Programming  (Read 13036 views)
sbucareer (m)
Re: Tutorials On Game Programming
« #32 on: February 17, 2006, 02:06 PM »



Gridlock, let me try to write a 3D graphic that inherited some behaviors from 2D. It has been long since I did some work like this. If it did not compile let me know.

struct g3D : g2D { // 3 Doubles (Used as x 3 Dimensional Point or Vector)
  gCoord z;
  g3D() {}
  g3D(gCoord x, gCoord y, gCoord z) : g2D(x,y), z(z) {

 }

  explicit g3D(bool Zero) {

    if(Zero)
      Clear();
 }
  g3D(double* DDD) : g2D(DDD) {

    z=*++DDD;
  }

  void Clear() {
  
    g2D::Clear();
    z=0;
  }

  g3D& operator*=(const gCoord& c) {
      g2D::operator*=(c);
      z*=c;
     return *this;
  }

You generally get the idea? the clear function is generally written as x=y=z=0;

Vertices
The g3Point and 2gPoint are used to stick the vertices by providing the arithmetic operation

Vectors
g3Vector and g2Vector will well depend on the graphic package u are using. Look for more information on these.

Remember that gCoord B=1.000000001;
B=acos(min(max(1.0, B), 1.0));
This will not stop the value of B as expected.

c0dec (m)
Re: Tutorials On Game Programming
« #33 on: February 17, 2006, 02:12 PM »

i don't think that'll be useful to Gridlock.  Undecided
pluto04 (m)
Re: Tutorials On Game Programming
« #34 on: February 17, 2006, 04:31 PM »

@ynot Please send me the following @ venos12@hotmail.com. Thank you.

PDF Formats

3D Game Engine Design
3D Game Programming
3D GameStudio - A4 WDL Scripting Tutorial
3D Lighting History - Concept and Techniques
Advanced Graphics Programming Techniques Using OpenGL
DirectX 3D Graphics Programming Bible
Game Development and Production
Gameboy Advance Programming Manual v1.1
DirectX 3D Graphics Programming Bible
Ultimate Game Design Building Game Worlds
C# Game Programming for the absolute beginner
DirectX 9 programmable Graphics Pipeline
OpenGL Game Programming
OpenGL Super Bible
2D Artwork and 3D Modeling for Game artists
3D Game Programming all in one
AI Techniques for game programming
Beginning Direct3D Game Programming, 2nd Edition
Focus on 3D Models
Game Developer's Market Guide
Procedural Clouds
Game Development: Serious Business, Serious Coding
Real Time Cloud Rendering for Games
Texturing and Modeling - A procedural Approach - 3rd Edition
Tricks of the Windows GAme Programming Gurus- Fundamentals of 2D and 3D Game programming
Game Design Foundations
Introduction to 3D Game Programming with DirectX 9.0


CHM Formats:
Software Engineering and Computer Games
Advance 3D Game Programming with DirectX 9.0
Learn VB.Net Through Game Programming
Secrets of the Game Business
Cutting Edge Direct 3D Programming
Inside Direct3D
Managed DirectX 9 Kick Start - Graphics and Game Programming
Fundamentals of Audio and Video Programming for Games
Andrew Rollings and Ernest Adams on Game Design
Chris Crawford on Game Design
Core Techniques and Algorithms in Game Programming
Creating Emotion in Games
Designing Virtual Worlds
Developing Online Games
Game Coding Complete
Game, Character, Development with Maya
Beginners Guide to DarkBasic Game Programming
Building a Virtual Private Network
Direct 3D Game Programming, Beginning

DirectX 9 Audio Exposed - Interactive Audio Development
Strategy Game Programming with DirectX 9
Gridlock (m)
Re: Tutorials On Game Programming
« #35 on: February 17, 2006, 04:35 PM »

@c0dec:  tarball below

Remove the ".jpg" extension, this Forum system don't allow the "tar.gz" filetype.

fpg2[2006-Jan-11 2-11am].tar.gz.jpg
* fpg2[2006-Jan-11 2-11am].tar.gz.jpg (16.71 KB - downloaded )
c0dec (m)
Re: Tutorials On Game Programming
« #36 on: February 17, 2006, 05:14 PM »

man, i use VC++. I see you're using DevC++. and you're using the wxwidgets library which i don't have and have never used so this means i can't compile it.

from what i understand, it all compiles but it crashes when u try to render the segments.
so if u comment out DrawSegment(cylinder->segments->Item(i));, it compiles, right?

from reading the wxArray docs, you seem to be doing everything fine, though.
c0dec (m)
Re: Tutorials On Game Programming
« #37 on: February 17, 2006, 05:47 PM »

strange. , your code is legit. maybe the debugger will reveal something. does dev-c++ come with a debugger?

from what i gather (which u probably have figured too), the problem is from one the following:
- the problem could be from the drawsegment method.
- the segment class.
- the wxArray container has a bug  Huh, (maybe u should use STL containers - they work fine for me)
Gridlock (m)
Re: Tutorials On Game Programming
« #38 on: February 17, 2006, 06:00 PM »

Arrgh,  now i have to do what i don't have time for: trace and/or start from scratch. Thanks anyway.
c0dec (m)
Re: Tutorials On Game Programming
« #39 on: February 17, 2006, 07:58 PM »

i feel u man. i hate bugs!

what's FPG about anyway? looks/sounds interesting
Gridlock (m)
Re: Tutorials On Game Programming
« #40 on: February 18, 2006, 01:49 AM »

representation of what goes on in an internal combustion engine from Top-dead center to bottom-dead-center: a quarter cycle. Trying to discretize the engine-cylinder space.
smartsoft (m)
Re: Tutorials On Game Programming
« #41 on: February 18, 2006, 06:56 AM »

hey can someone send me tons of Ebooks on Oracle please any Ebook at all on Oracle  here is my email uc.smartsoft@gmail.com

Thanks
naijaguru (m)
Re: Tutorials On Game Programming
« #42 on: February 18, 2006, 04:32 PM »

YNOT,

Send me all those books to naijaguru [at] gmail [dot] com

I'll appreciate it if you do!
skima (m)
Re: Tutorials On Game Programming
« #43 on: February 22, 2006, 04:41 PM »

@Ynot u havent send the ebook, 
wats happening?
Gridlock (m)
Re: Tutorials On Game Programming
« #44 on: February 23, 2006, 12:03 AM »

Hahaha
It is called 419

[no offense meant]
Ynot (m)
Re: Tutorials On Game Programming
« #45 on: February 23, 2006, 01:21 AM »

Quote from: Gridlock on February 23, 2006, 12:03 AM
Hahaha
It is called 419

[no offense meant]

419? What could i possibly achieve from that? Did i ask you to pay? I only listed these books here to help those who might need them. I've already sent some of the books to a coupla guys here (c0dec, gbengaijot and sbucareer will testify to that). I'm yet to send the rest because I've been busy these past days -away from my home computer. Now, since my good-will means i'm a 419,  i will keep my books and you go ahead run your mouth. Its a free world.
Gridlock (m)
Re: Tutorials On Game Programming
« #46 on: February 23, 2006, 01:25 AM »

Hey i said no offence meant, just kidding! I know the value of that treasure trove you offered!
c0dec (m)
Re: Tutorials On Game Programming
« #47 on: February 23, 2006, 02:35 AM »

yeah Grin he did send the books. and i think gridlock meant no harm too.

ps: uhm . . . i'm still patiently waiting for eberly's book though. (game engine design)
Gridlock (m)
Re: Tutorials On Game Programming
« #48 on: February 24, 2006, 10:47 PM »

Sorry about the reely stupid comment, Ynot. my bad.
HLT (f)
Re: Tutorials On Game Programming
« #49 on: March 06, 2006, 10:59 PM »

can I have the books sent to me too please?

anita.anthony@gmail.com

Thanks
sbucareer (m)
Re: Tutorials On Game Programming
« #50 on: March 07, 2006, 11:43 AM »


Ynot is legit and a good helper, he has been so resourceful to a set of nairaland member including me. 
skima (m)
Re: Tutorials On Game Programming
« #51 on: March 07, 2006, 01:48 PM »

@ynot

i saw the link to download the  books but there was a problem.   it said invalid link. I don't think the link has expired yet. since it was sent on 5th and i check the link on 6th.

an advice; before u upload the file, make sure there is no space between the words.

Still expecting the valid link.

Thanx
Ynot (m)
Re: Tutorials On Game Programming
« #52 on: March 07, 2006, 03:28 PM »

@skima
I will check that ASAP and get back to you.

@ Sbu
Thanks for the vote of confidence. Help, will always be provided to those that need it.
CrazyRabie (m)
Re: Tutorials On Game Programming
« #53 on: March 07, 2006, 10:12 PM »

could you please send all those eBooks to junkpants@spray.se. ta very much
skima (m)
Re: Tutorials On Game Programming
« #54 on: March 07, 2006, 11:17 PM »

@Ynot
Thanx Cheesy Cheesy
shravan
Re: Tutorials On Game Programming
« #55 on: March 08, 2006, 01:57 AM »

Hey ,

Can you help me out and send me the pdf for the Book Tricks of Windows Game Programming Gurus and Tricks of 3D Game Programming Gurus. I'm startin out on Game development. My email shravan.heroor@gmail.com

Thanks
flyingcat
Re: Tutorials On Game Programming
« #56 on: March 13, 2006, 10:24 AM »

Any body who has 《texturing & modeling a procedural approach》

please send it to me :  flyingcatslb@gmail.com

thanks very much
Damnation
Re: Tutorials On Game Programming
« #57 on: March 17, 2006, 06:22 PM »

i was wondering, although i am new if somone could please send those to my email address @

adam(dot)white(at)onetel(dot)net

3D Game Engine Design
3D Game Programming
3D Lighting History - Concept and Techniques
3D Math Primer for Graphics and Game Development
Advanced Graphics Programming Techniques Using OpenGL
DirectX 3D Graphics Programming Bible
Game Development and Production
Game Programming 101 - part 1
Game Programming 101 - part 2
DirectX 3D Graphics Programming Bible
The Theory of Search Games and Rendezvous
Math Computational Geometry
Ultimate Game Design Building Game Worlds
OpenGL Game Programming
OpenGL Super Bible
2D Artwork and 3D Modeling for Game artists
3D Game Programming all in one
AI Techniques for game programming
Beginning C++ Game Programming
Beginning Direct3D Game Programming, 2nd Edition
Beginning OpenGL Game Programming
Data Structures for Game Programmers
Focus on 3D Models
Focus On 3D Terrain Programming
Focus on SDL
Game Developer's Market Guide
Game Programming All in One
Mathematics for Game Developers
Real Time Cloud Rendering for Games
Texturing and Modeling - A procedural Approach - 3rd Edition
Game Design Foundations
Vector Game Math Processors

CHM Formats:
Software Engineering and Computer Games
Cutting Edge Direct 3D Programming
Inside Direct3D
DirectX Programming for C++
Fundamentals of Audio and Video Programming for Games
Andrew Rollings and Ernest Adams on Game Design
Beginning Math and Physics for Game Programmers
Chris Crawford on Game Desing
Core Techniques and Algorithms in Game Programming
Creating Emotion in Games
Designing Virtual Worlds
Developing Online GamesGame Coding Complete
Building a Virtual Private Network
Direct 3D Game Programming, Beginning
Beginning 3D Game Programming
Teach Yourself Game Programming  in 24 Hours
flyingcat
Re: Tutorials On Game Programming
« #58 on: March 20, 2006, 09:23 AM »

Quote from: flyingcat on March 13, 2006, 10:24 AM
Any body who has 《texturing & modeling a procedural approach>

thanks very much
v1ru5
Re: Tutorials On Game Programming
« #59 on: March 22, 2006, 06:13 PM »

@Ynot  can you send me the e-book to rws.chn@gmail.com

thank you
delphipro
Re: Tutorials On Game Programming
« #60 on: March 23, 2006, 12:28 PM »

Damnation please send me all e-book to delphipro@gmail.com

thank you
kenshin (m)
Re: Tutorials On Game Programming
« #61 on: March 24, 2006, 12:02 AM »

Ynot please  I would also like to have the following ebooks

3D Game Engine Design
3D Game Programming
3D Lighting History - Concept and Techniques
3D Math Primer for Graphics and Game Development
Advanced Graphics Programming Techniques Using OpenGL
DirectX 3D Graphics Programming Bible
C Game Programming for Dummies 2
Java Game Programming for Dummies
Game Development and Production
Game Programming 101 - part 1
Game Programming 101 - part 2
DirectX 3D Graphics Programming Bible
The Theory of Search Games and Rendezvous
Math Computational Geometry
Ultimate Game Design Building Game Worlds
C# Game Programming for the absolute beginner
OpenGL Game Programming
OpenGL Super Bible
2D Artwork and 3D Modeling for Game artists
3D Game Programming all in one
AI Techniques for game programming
Beginning Direct3D Game Programming, 2nd Edition
Beginning OpenGL Game Programming
Data Structures for Game Programmers
Focus on 3D Models
Focus On 3D Terrain Programming
Focus on SDL
Game Developer's Market Guide
Game Programming All in One
Mathematics for Game Developers
Real Time Cloud Rendering for Games
Texturing and Modeling - A procedural Approach - 3rd Edition
Tricks of the Windows GAme Programming Gurus- Fundamentals of 2D and 3D Game programming
Game Design Foundations
Vector Game Math Processors

Software Engineering and Computer Games
Cutting Edge Direct 3D Programming
Inside Direct3D
Managed DirectX 9 Kick Start - Graphics and Game Programming
Fundamentals of Audio and Video Programming for Games
Andrew Rollings and Ernest Adams on Game Design
Beginning Math and Physics for Game Programmers
Chris Crawford on Game Desing
Core Techniques and Algorithms in Game Programming
Creating Emotion in Games
Designing Virtual Worlds
Developing Online GamesGame Coding Complete
Building a Virtual Private Network
Direct 3D Game Programming, Beginning
Beginning 3D Game Programming
Teach Yourself Game Programming  in 24 Hours

my mail addy is lanroguns@yahoo.com

simreality (m)
Re: Tutorials On Game Programming
« #62 on: March 24, 2006, 08:21 AM »

Can you please email me any and all of the ebooks, Ynot?  Grin I'm decent at game programming but want to get better. If you sent me those ebooks, you'd be my best friend in the whole world.

My email: nickgravelyn [at] gmail.com
simreality (m)
Re: Tutorials On Game Programming
« #63 on: March 24, 2006, 08:22 AM »

Also, if you email me the books, I could put them on my webserver so you don't have to keep emailing them. I have unlimited transfer so it wouldn't be a problem at all.
Page 2
Pages: (1) (2) (3) (4) (5) Go Up Send Topic to Friend by E-mail Reply 
Google
 
Web www.nairaland.com
Sections: TV/Movies (2) Music/Radio (2) Celebrities Jobs (2) Career Romance Books Politics Sports Fashion Travel
Health Schooling Religion General(2) Business Webmaster Programming Computers Phones Cars & Trucks

Links: Page1 Page2 Page3 Page4 Page5 Page6 Page7 Page8 Page9 Page10

Nairaland is owned by Oluwaseun Osewa
Nairaland Forum | Powered by SMF 1.0.12.
© 2001-2005, Lewis Media. All Rights Reserved.