CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: HavingPhun

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    7,792

    Re: Object Managment

    Ok thanks. Also I still need to learn alot more about physics and graphics to make it. Also Im starting by making the graphics system with opengl. Do you think I should switch to directx eventually...
  2. Replies
    4
    Views
    7,792

    Re: Object Managment

    I think your right about me starting with something smaller. I dont think im really sure i know what im talking about. Also I didnt mean an object in cpp. But an object such as a ball or a cube, etc....
  3. Replies
    4
    Views
    7,792

    Object Managment

    I do have some code for this but i forgot to grab it so ill have to add it later. I'm working on a game engine... funny its my first real project im doing other than a few other small ones, but i...
  4. Replies
    11
    Views
    2,443

    Re: Need opengl help.

    Why would that require that I declare it differently?
  5. Replies
    11
    Views
    2,443

    Re: Need opengl help.

    Well i am making a game engine and this is one of its utilities it has. So yes it would be called by other things as regular function.
    I changed the code a little:

    UtilWindow.h:




    #ifndef...
  6. Replies
    11
    Views
    2,443

    Re: Need opengl help.

    So they vector would be
    std::vector <bool> keystates[256];
    Also how do I let a function with a header take arguments because if i do this.

    Reshape.h:




    class Reshape
  7. Replies
    16
    Views
    3,859

    Re: Freeglut problems.

    Thank you.
  8. Replies
    1
    Views
    1,152

    Re: Content Generator Tutorials

    This might help. http://gameprogrammer.com/fractal.html
  9. Replies
    0
    Views
    904

    Need Gl shader help.

    I am making a shader with opengl with the help of a tut. I know that there are some things wrong with this but can someone help me fix this and also give any tips if you have any.\


    Shader.h

    ...
  10. Replies
    11
    Views
    2,443

    Re: Need opengl help.

    Ok thanks would I just make a Rendershape class with the public functions in the header and then include that in RenderShape.cpp?
  11. Replies
    11
    Views
    2,443

    Re: Need opengl help.

    you mean the .cpp part just #include <RenderShape> ?
  12. Replies
    11
    Views
    2,443

    Need opengl help.

    I made a program with opengl and I keep getting this error:





    1>------ Build started: Project: Aiedoo, Configuration: Debug Win32 ------
    1> RenderShape.cpp
    1> Main.cpp
    1> Generating...
  13. Replies
    16
    Views
    3,859

    Re: Freeglut problems.

    It works now. Just had to put glutInit() before everything else like you said.
  14. Replies
    16
    Views
    3,859

    Re: Freeglut problems.

    Can you give me an example of how to use glutMouseFunc() and the arguments it requires?
  15. Replies
    16
    Views
    3,859

    Re: Freeglut problems.

    ok ill try that.
  16. Replies
    16
    Views
    3,859

    Re: Freeglut problems.

    Ok well i am new to glut, but i only encounter this problem when i add mouse click detection so i don't know why this is happening.
  17. Replies
    16
    Views
    3,859

    Re: Freeglut problems.

    Ok so i have it built and running fine but I have another problem. I have a simple program that creates a window, but if I add mouse click detection it causes and error.

    Program:




    #include...
  18. Replies
    16
    Views
    3,859

    Re: Freeglut problems.

    Im using windows vista and visual c++ 2010.
  19. Replies
    16
    Views
    3,859

    Re: Freeglut problems.

    But how do I build it myself? I don't know how to build things.
  20. Replies
    16
    Views
    3,859

    Re: Freeglut problems.

    so i don't need lib files? The only reason i wanted them is because the tutorial i was using said to use them. But it is an older tutorial so maybe i dont need them anymore.
  21. Replies
    16
    Views
    3,859

    Freeglut problems.

    Hi im using freeglut 2.6.0 and i cant find the .lib files. Could you help me.
  22. Tex ttutorial for making guis with visual c++

    Hi i can make the drag and drop menus with visual c++ but i cant program them is there any tutorials on that? But not video tutorials they dont work on my pc.
  23. Replies
    6
    Views
    1,332

    Re: How do I read text files?

    oh std::fstream thanks!
  24. Replies
    6
    Views
    1,332

    Re: How do I read text files?

    I just realised this might be in the wrong section but I use visual C++ for compiling c++ and it makes errors for the way I tried to do it. So how would I do it with that? It has an error where I...
  25. Replies
    6
    Views
    1,332

    How do I read text files?

    Hi I already found a tutorial on this but it didnt work. But I am wondering if anyone can tell me how to read text files line by line and determine what they say. Also is it posibble to make a new...
Results 1 to 25 of 25





Click Here to Expand Forum to Full Width

Featured