Search:

Type: Posts; User: tegwin

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. ah I thought the sizeof function was getting the...

    ah I thought the sizeof function was getting the size of the first index of the array i did not know that all pointers are 4 bytes.. just so happened the struct was 4 bytes and the pointer was the...
  2. sizeof() function on a pointer to an array of a struct

    Whew now that that confusing Thread Title is done and over with.. I think I explained it correct...

    Well... here is my problem..



    RGBQUAD *mColorTable;

    mColorTable = new RGBQUAD[256];...
  3. Simple Ddraw question. Display bitmap on a screen.

    Hey. Just started some programming using some graphics API's. Know some openGL, but moving into Direct X API..

    My problem is a simple one that I'm hoping someone can answer for me.. I wrote a...
  4. Replies
    8
    Views
    3,645

    ah

    ah quick replies.. nice.. i'll try some of ur guys suggestions and see if i can get it to work...

    yeah i tried to put both structs in same file but since i never used forward declarations before...
  5. Replies
    8
    Views
    3,645

    Struct inside a Struct inside a Struct?!?

    i seem to be having problems with some code.. and to be honest i can't figure out why... i won't post my code but i'll post something similar...



    // One.h

    #ifndef ONE_H
    #define ONE_H
    ...
  6. Replies
    2
    Views
    16,481

    Also

    Also if you want another way to skip the first 2 characters of every line..





    #include <fstream>

    int main()
    {
  7. Replies
    4
    Views
    1,576

    thanx for the info.. i figured thats how it...

    thanx for the info.. i figured thats how it worked.. just wanted to double check... last thing i need is a memory leak.. :D
  8. Replies
    4
    Views
    1,576

    thanx that piece of code fixed my problem.. now...

    thanx that piece of code fixed my problem.. now if i write it the way u showed.. do i still need to use new/delete or is memory automatically freed when the SYSTEMTIME structure goes out of scope?
  9. Replies
    4
    Views
    1,576

    how to get Date/Time under WinXP??

    I have a question about retrieving the system date/time ... i can't seem to get it to work and i am unsure why...

    here is some code i've tried..



    #include <windows.h>

    int main()
    {
  10. Replies
    3
    Views
    1,383

    i don't know what stdin is... so... anyways.. why...

    i don't know what stdin is... so... anyways.. why not just create two functions with the same name and use an IF statement and depending on the IF statement one of the functions is called... or pass...
  11. Hmm

    I take it when u say software engineer you are talking about all steps in the development.. planning, development, testing, coding, etc..

    perhaps:

    - Problem solving skills.
    - Teamwork skills....
  12. Here

    http://www.makegames.com/3drotation/

    helped me out.. i also went through the camera tutorials @ gametutorials and couldn't figure out what they were doing... i found this tutorial and read through...
  13. Thread: Number Race

    by tegwin
    Replies
    1
    Views
    1,579

    Not bad..

    Not bad mate... though in your instructions it says pick a # 1-10 and in the game sometimes the number is 0.
    Also, after you play a game and win.. if u click New game again it doesn't reset the game...
  14. Thread: Win API

    by tegwin
    Replies
    4
    Views
    1,268

    Hmm

    Hmm.. i think when i learned Win API i looked at www.gametutorials.com under the win32 section.. (not positive and too lazy too look) but i think the tutorials are good and progressively get...
  15. Replies
    11
    Views
    7,590

    Hello

    Hello... from reading your post in which you wrote


    Vector3D vRight; // Right of camera
    Vector3D vUp; // Up from camera
    Vector3D vBack; // Back of camera


    i found myself completely lost...
  16. Replies
    11
    Views
    7,590

    Camera rotation/movement in 3D world

    hmm.. I seem to be having some troubles with moving a camera in 3D space.. I've read through some tutorials and tried writing some code but I just cannot get the effect I want..

    1) When up or down...
  17. Replies
    11
    Views
    9,743

    Here is the code

    Here is the code that you wanted.. These are my personal templates i've been writing.. not quite finished yet so it isn't all documented/commented but it should be well enough for you to follow.....
  18. Replies
    11
    Views
    9,743

    sure

    glColor3ub() stands for GL-Color-3 values of unsigned byte type: which just means the three values must range between 0 - 255 (which is the range for RGB coloring)
    glColor3f() stands for GL-Color-3...
  19. Replies
    10
    Views
    1,637

    Vector

    A vector can be considered the equivilant to a point in 2D space..

    POINT = (x, y);
    VECTOR = (x, y, z);

    An addition axis/coordinate for depth/distance so you can draw/animate in "3D"
  20. Replies
    10
    Views
    1,637

    Me too

    Depends how much you know about C++... I know alittle about Win API also... and decided I'd had enough and now i've moved on to OpenGL.. seems pretty easy... NeHe tutorials are very good if your...
  21. Replies
    11
    Views
    9,743

    Hope this helps

    Is this what you are looking for? I wrote a small little program that has two cubes side by side that rotate independently but can also rotate together.. this what your looking for? I included an...
  22. Replies
    11
    Views
    9,743

    hmm..

    Hmmm.. i'm new to OpenGL as well.. it sounds like you are looking for heirarchies.(i can't spell)... like a arm ... with shoulder/elbow/wrist/fingers that would move together or independently... why...
  23. Thread: C++ library

    by tegwin
    Replies
    31
    Views
    3,263

    thnx

    Thanx.. that clears things up.. thought thats what these were but wasn't sure... wouldn't that mean that SDL and such would be slower?? since you weren't writing all the code yourself wouldn't there...
  24. Thread: C++ library

    by tegwin
    Replies
    31
    Views
    3,263

    Hmm.. i'm confused

    I am confused about all these game development things.. can someone help me out? I went to SDL website and read some stuff on it but I am not really sure what it is... I currently program OpenGL...
  25. Replies
    2
    Views
    1,971

    Yes

    Yes that is very very useful.. just what I needed.. thnx mate.. good reference sheet..:D
Results 1 to 25 of 95
Page 1 of 4 1 2 3 4