Search:

Type: Posts; User: Eber Kain

Page 1 of 17 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    9
    Views
    1,860

    That Linux has less API support than Macs.

    That Linux has less API support than Macs.
  2. Replies
    8
    Views
    7,010

    Use the ClearScreen() fuction that is part of...

    Use the ClearScreen() fuction that is part of whatever API your using.
  3. Replies
    5
    Views
    1,939

    I read the FAQ and all the articles before I...

    I read the FAQ and all the articles before I posted, I dont think im getting my point across, or either you think I just started with C++. Lets take this for example.

    class A {
    public:
    A() {
    ...
  4. Replies
    5
    Views
    1,939

    When to Allocate or Not to Allocate

    What factors should one use to determine when you should use the new and delete operators? I am completely comfortable with pointers, is there a reason to dynamicaly allocate members of a class, if...
  5. Replies
    5
    Views
    3,115

    glOrtho(window dimensions); DrawMouse();...

    glOrtho(window dimensions);
    DrawMouse();
    gluPerspective(field of vision);
    DrawWord();


    you use both perspectives each pass. There are some optimization techniques that can cut down the system...
  6. Replies
    4
    Views
    2,448

    Before you draw the textured object color it full...

    Before you draw the textured object color it full white, and before you draw the white box disable textures with glDisable(GL_TEXTURE_2D). Always keep in mind that OpenGL is a State Machine, so once...
  7. Replies
    18
    Views
    3,219

    I remember posting this about 2 years ago.

    I remember posting this about 2 years ago.
  8. Replies
    2
    Views
    1,082

    Thats what it was, damn annoying I tell you. ...

    Thats what it was, damn annoying I tell you. Thanks.
  9. Replies
    2
    Views
    1,082

    Weird Inheritence Error

    The error message I get is this.


    C:\Programming\4x\ClientCode\SplashManager.cpp(81) : error C2039: 'LoadMenuA' : is not a member of 'sGameMode'
    c:\programming\4x\clientcode\mode.h(36) :...
  10. Replies
    8
    Views
    3,818

    Provided that i have no idea how your code is...

    Provided that i have no idea how your code is designed, what I would try first is to create a new child window, like one of the tile selection windows, and use it to display a 50x50 grid of the main...
  11. Replies
    3
    Views
    1,689

    I knew there was a library function out there,...

    I knew there was a library function out there, but damned if I could find it. :)

    Thanks alot man.
  12. Replies
    3
    Views
    1,689

    Measure text according to font

    Say I create a font like so.


    HFONT font = CreateFont(f_height,f_width,0,0,f_weight,f_italic,
    f_underline,f_strike,f_charset,OUT_TT_PRECIS,
    CLIP_DEFAULT_PRECIS,f_quality,...
  13. Replies
    9
    Views
    1,979

    You left out the most important part, the API. ...

    You left out the most important part, the API. You doing it with OpenGL, DirectX, SDL, or some other library?
  14. When I have these kind of problems that hang...

    When I have these kind of problems that hang around, I take a step back and have a long stareing contest with the basic concepts behind my code design. Heres the idea I had that may help you....
    ...
  15. Replies
    1
    Views
    1,151

    MSVC++ 6.0 Question

    I have setup a macro that auto increments a build number declared as a #define in a header file. For some reason, whenever the macro is finished the file is not flagged by the editor as being...
  16. You might consider running a profile of your...

    You might consider running a profile of your program, provided you are using MSVC. You can find the option under the Build->Profile... menu.

    If there is not profiling option in your debugger, you...
  17. You can put a Translatef in a display list, but...

    You can put a Translatef in a display list, but if you are changing the values from frame to frame, then thats no good. Remember that the list is only going to save gl functions, so while the for...
  18. Using a display list cannot be slower that...

    Using a display list cannot be slower that calling the functions standard. The real speed boost you get from DisplayLists is when you have matrix manipulation routines, lighting models, or...
  19. Replies
    4
    Views
    24,680

    It does not look like you are actually calling...

    It does not look like you are actually calling your Cylinder() function during the draw function...
  20. A Display List is a cache of OpenGL commands that...

    A Display List is a cache of OpenGL commands that can be executed with a single call. OpenGL holds all the transforms or whatever in memory until they are called, and does not recalculate everything...
  21. Are they all the same size? You could use a...

    Are they all the same size? You could use a DisplayList to create one, and then just repeat it. That should be fast enough.



    unsigned int ID; //this is a unique ID for the list, like a...
  22. So... you know exactly what pixels you need to...

    So... you know exactly what pixels you need to change? If so, then change to a 2D ortho perspective with Width and Height the same as the window and draw a single poly untextured 20x20.

    If you...
  23. Replies
    10
    Views
    2,922

    Warning, I could be wrong about this. ...

    Warning, I could be wrong about this.

    (*iter)->VertexBuffer

    Dereferencing the iterator gives you the address of the object instance.
  24. Replies
    6
    Views
    1,249

    Awsome, thanks a bunch for that.

    Awsome, thanks a bunch for that.
  25. Replies
    6
    Views
    1,249

    Ill set that up, thanks for the tip.

    Ill set that up, thanks for the tip.
Results 1 to 25 of 412
Page 1 of 17 1 2 3 4