Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: JanHH

Page 1 of 20 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: texture loading

    by JanHH
    Replies
    2
    Views
    314

    texture loading

    the next windows related question.. how to load textures (these are stored as jpg, yes I knot it's not the best quality but I cannot change that)? On linux, I use jpeglib, but this is a *ix-library..
  2. Thread: header files

    by JanHH
    Replies
    16
    Views
    3,715

    Re: header files

    With linux there never were any problems ;) .

    On Windows.. the weird "expected primary-expression before ';' token".. I am not really sure about it, but it seems that something somewhere has the...
  3. Thread: header files

    by JanHH
    Replies
    16
    Views
    3,715

    Re: header files

    now I managed to compile and link the original (linux) version of the app with GLee.. :-)
  4. Thread: header files

    by JanHH
    Replies
    16
    Views
    3,715

    Re: header files

    at least I succeeded in compiling and running a simple opengl demo program with GLee.. this gives some hope.
  5. Thread: header files

    by JanHH
    Replies
    16
    Views
    3,715

    Re: header files

    If you do so, would you like to eplain how? GLee doesn't work, as well. Oviously I must be doing something wrong.

    I got code like this:

    #include "GLee.h"
    #include "GL/glu.h"

    class abc
    {...
  6. Thread: header files

    by JanHH
    Replies
    16
    Views
    3,715

    Re: header files

    Now I got it compiled and linked, but now the program crashes when trying to use one of the extension functions. I will try GLee, it looks very simple. GLEW doesn't seem to work with wxdevcpp, which...
  7. Thread: header files

    by JanHH
    Replies
    16
    Views
    3,715

    Re: header files

    that was just mistyped here in the forum (opengl is on another computer, so i cannot copy+paste)
  8. Thread: header files

    by JanHH
    Replies
    16
    Views
    3,715

    Re: header files

    now i put

    PFNGLACTIVETEXTUREARBPROC glActiveTextureARB = (PFNGLACTIVETEXTUREARBPROC )wglGetProcAdress("glActiveTextureARB ");

    into my program, include windows.h, glext.h and wglext.h, it...
  9. Thread: header files

    by JanHH
    Replies
    16
    Views
    3,715

    Re: header files

    thank you.
  10. Thread: header files

    by JanHH
    Replies
    16
    Views
    3,715

    Re: header files

    thanks, looks interesting, but not perfectly suitable, as I am simply porting an existing application to windows, and there shoud be only really neccesary changes in the sourcecode. What ist the...
  11. Thread: header files

    by JanHH
    Replies
    16
    Views
    3,715

    header files

    Sorry if this is a very basic question, but my c++ compiler complains about things like glEnable(GL_FRAGMENT_PROGRAM_ARB), in fact about everything which is an extension. Which is no wonder since I...
  12. Replies
    11
    Views
    1,503

    Re: free compiler and GUI library

    The project I am working on is NOT opensource, it is a commercial application. But not one with great success, so QT is too expensive.

    Dev-C++/wxWidgets seems promising, it will be my first try....
  13. Replies
    11
    Views
    1,503

    Re: free compiler and GUI library

    with Dev-C++, use wxWidgets for GUI?
  14. Replies
    11
    Views
    1,503

    Re: free compiler and GUI library

    After posting my question, I found VS Express, downloaded and installed it. However, it seems not to be so easy to get started with OpenGL. Does someone have experiences with this?
  15. Replies
    11
    Views
    1,503

    free compiler and GUI library

    Hello,

    what to do if you want an opengl app to run on windows, but do not want to use any commercial software in the development process? So, no Visual C++, no MFC, no QT can be used. I am looking...
  16. Replies
    13
    Views
    1,004

    Re: which gui library and programming language

    My code was just an example of this pattern, of course it will not compile. Probably using #ifdef for creating the GUI object is more suitable.

    #ifdef windows
    myGui=new MFCGUI();
    #endif
    #ifdex...
  17. Replies
    13
    Views
    1,004

    Re: which gui library and programming language

    RigidBody:

    AbstractFactory:

    you define a class (this is java-like code)

    abstract class MyOpenGLGUI
    {
    public abstract void createWindow(...);
    }
  18. Replies
    13
    Views
    1,004

    Re: which gui library and programming language

    The point is not what one prefers, what is better, what is faster, etc., but simply what has more future. It is pointless to port the code to something we will not be able to buy compilers for in 3...
  19. Replies
    13
    Views
    1,004

    Re: which gui library and programming language

    The last point is in fact important, you have to pay for it.. MFC comes with VC++.

    C++ is "out" (or at least, there is such a tendency) because a) it is not very clean in terms of design, and b)...
  20. Replies
    13
    Views
    1,004

    which gui library and programming language

    Hello,

    I don't know which forum is the right one for my question, so I am putting it here.

    Most OpenGL programs are written in C++, but C++ is a little bit outdated.. another point is which GUI...
  21. Replies
    12
    Views
    1,344

    Re: how to make shadows in 2007

    Yes, alpha test is used (for plants). So it seems like not so many things changed according to shadows, as using PSM was the choice we made back then in 2004.

    Thx
    Jan
  22. Replies
    12
    Views
    1,344

    how to make shadows in 2007

    Hello,

    i haven't worked on my OpenGL project sinced 2004, but now it comes up again. I am asked to implement shadows, and before I start I just wish to know which shadow technique is the preffered...
  23. enabling fragment program causes invalid_operation

    Hello,

    I do some very simple drawing (the smt tutorial demo program from pauls projects), everything works fine. But when I try to use a very simlpe fragment program for rendering, nothing is...
  24. Replies
    2
    Views
    319

    half vector problem with directional light

    Hello,

    I am trying to integrate bump mapping and have problems with the specular highlights/half vector. I guess it is not really complicated but I just don't get it.

    The objects in the scene...
  25. Replies
    8
    Views
    487

    Re: tangent space with smoothed normals

    OK I see.. have an orthogonal N vector, but smooth T, B and N together. But how is this calculated?

    I do not compute smoothed vectors myself, the gemoetry data is loaded from a .obj file (rather,...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4