Hello....... Again.

This is a discussion on Hello....... Again. within the Game Programming forums, part of the General Programming Boards category; Hi every one, I registered here a little over a year ago, and stopped posting becuase I generaly stopped programming. ...

  1. #1
    mov.w #$1337,D0 Jeremy G's Avatar
    Join Date
    Nov 2001
    Posts
    704

    Hello....... Again.

    Hi every one, I registered here a little over a year ago, and stopped posting becuase I generaly stopped programming.

    I just started again recently (due to deciding to major in Computer Science at my college [im a freshman now]) and decided to re-bookmark this forum.

    Now, I am not new to the hole forum idea, and I understand the purpose of "themed" topics in forums. And as to sooth the nerves of the moderators, following is "Game" related subject matter.

    [start funny story]
    Recently I've reread the first few chapters of "The Zen of Direct3D Game Programming" by Peter Walsh and then continued on with the ones I neglected before. I've been building my own 3D game engine utilizing the book and adding my own performance tweaks to the engine provided by the book.

    During the camera portion of the book (working with matrices and etc.) I modified some code and, Innocently, compiled some test code that when run, resembled a cheap cyber porn program.

    What it is specificly, is a texture triangle (texture is a glamour picture of a model) and a camera oscilation back and forth. I thought I had untextured the triangle earlier and was quite surprised when I ran the program. The triangle goes to and fro in a "provocative manner" lol.

    I guess It's funnier when you actualy run the program. So for any one interested:
    http://amithran.hybd.net/downloads/seriesone.zip
    Just click the exe and prepare to be amazed!
    Current features of the engine at that point are:
    Press F11 to bring up the "console"
    commands supported in the console are :
    Add someNumber, SomeOtherNumber, etc., ....., someFinalNumber
    -----This will print the sum of the numbers
    Logging
    -----Type once to enable logging, which just prints every line you type (and press return) into a CLog.txt file. Type Logging again to turn it off.

    The cheap cyber porn effect is best when the console is up becuase the frame rate drops from like 500's to 80 or so.
    [end funny story]

    So anyways, thats it for my re-introduction.
    c++->visualc++->directx->opengl->c++;
    (it should be realized my posts are all in a light hearted manner. And should not be taken offense to.)

  2. #2
    Registered User
    Join Date
    Oct 2002
    Posts
    12
    When I run SeriesOne.exe it doesn't work and I get:
    "Initialization Failed" in the log file.

    Am I missing a dll or something ?

  3. #3
    mov.w #$1337,D0 Jeremy G's Avatar
    Join Date
    Nov 2001
    Posts
    704
    Hrm thats the first time I've heard of that being an error in the log file (from my friends who have tested it)

    That error specificly comes from the WndProc if the gameInit() sub routine doesnt finish and return S_OK;

    And the only reason i can possibly come up with it exiting there is your DirectX is the current 8.0 .

    I dunno know.

    Could you please tell me what operating system your running and DX version?

    Thanks.

    btw, did ANY one else have a problem running this?









    PS currently the validate device function (used to reset everything after an alt-tab sequence is still being developed, so alt tabbing out, then back into the exe will cause a crash.)
    c++->visualc++->directx->opengl->c++;
    (it should be realized my posts are all in a light hearted manner. And should not be taken offense to.)

  4. #4
    Registered User
    Join Date
    Oct 2002
    Posts
    12
    I am using DirectX 8.1 on Windows XP.
    I even installed DX 8.2b just to try, but still, it won't initialize.
    Last edited by Deltree; 11-03-2002 at 09:15 PM.
    All my brilliant admirable outstanding creations are here:
    http://naderchehab.tripod.com
    take a look!

  5. #5
    Unregistered Leeman_s's Avatar
    Join Date
    Oct 2001
    Posts
    753
    im running xp and latest DX version, worked fine for me. maybe you have a sucky video card or something :/

  6. #6
    Registered User
    Join Date
    Oct 2002
    Posts
    12
    DirectX works fine here.
    I've been running thousands of DX games, no error... until today.
    All my brilliant admirable outstanding creations are here:
    http://naderchehab.tripod.com
    take a look!

Popular pages Recent additions subscribe to a feed

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