A few questions...

This is a discussion on A few questions... within the Game Programming forums, part of the General Programming Boards category; Hi there, Just a few questions... 1) If anybody happened to be daft enough to program an entire game in ...

  1. #1
    Registered User
    Join Date
    May 2003
    Posts
    44

    A few questions...

    Hi there,

    Just a few questions...

    1) If anybody happened to be daft enough to program an entire game in complete assembler, where would they begin...i.e. are there links to tutorials for opening 3d models in assembler? Also, is there a noticable increase in speed compared to a game programmed in C/C++?

    2) Right...I'm not fully sure on this questions details, but anybody with the required know-how will get the drift...I hope! Graphics cards are measured in vertices per second, does that mean that's how many it can draw? For example the new GeForce FX 5900 Ultra, has 388 million vertices per second, does that mean I can have:

    97,000,000 squares on the screen at a time, each one rotating? (as, 388mil / 4 = 97,000,000).

    Also, would that mean if I was under this limit, the game would run no problem, but if I went over, it would start to crawl?

    3) Is there an deciding piece of hardware that says if the game runs smoothly or not?


    Thanks!
    Uni

  2. #2
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    1) if someone was daft enough to program an entire game in assembly, they wouldn't need a tutorial on how to load files in ASM, because if they did, they wouldn't be programming the entire game in ASM. That would be very very difficult anyway. But the file formats for the models are available online, so they would just get what they need from that and code the file loader. There would be a noticable increase in speed compared to a game programmed in straight C - if the person could optimize everything. They could also, and probably would, suck and the game would run slower, because of the difficulties in programming something of that magnitude in ASM. It's better to just do important functions in ASM. Use a profiler.

    2) no. no. The CPU has to do computations involving trig and such to rotate a square. It couldn't keep up with that. The graphics card is capable of displaying that many verticies a second...screens are updated 60 times a second or so (depending on frame rate)...which gives you considerably fewer verticies with which to work...and they're not all going to be rotating and stuff. As you increase the load on the processor, the game will start to run slower or be choppy. There is no "magic point."

    3) No. The RAM, Hard drive, video card, processor, and chipset are all very important.
    Away.

  3. #3
    Registered User
    Join Date
    May 2003
    Posts
    44
    Thanks for the response!

    Much appreciated,
    Uni

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. questions....so many questions about random numbers....
    By face_master in forum C++ Programming
    Replies: 2
    Last Post: 07-30-2009, 09:47 AM
  2. A very long list of questions... maybe to long...
    By Ravens'sWrath in forum C Programming
    Replies: 16
    Last Post: 05-16-2007, 06:36 AM
  3. Several Questions, main one is about protected memory
    By Tron 9000 in forum C Programming
    Replies: 3
    Last Post: 06-02-2005, 08:42 AM
  4. Trivial questions - what to do?
    By Aerie in forum A Brief History of Cprogramming.com
    Replies: 23
    Last Post: 12-26-2004, 09:44 AM
  5. questions questions questions.....
    By mfc2themax in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 08-14-2001, 08:22 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21