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..
Type: Posts; User: JanHH
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..
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...
now I managed to compile and link the original (linux) version of the app with GLee.. :-)
at least I succeeded in compiling and running a simple opengl demo program with GLee.. this gives some hope.
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
{...
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...
that was just mistyped here in the forum (opengl is on another computer, so i cannot copy+paste)
now i put
PFNGLACTIVETEXTUREARBPROC glActiveTextureARB = (PFNGLACTIVETEXTUREARBPROC )wglGetProcAdress("glActiveTextureARB ");
into my program, include windows.h, glext.h and wglext.h, it...
thank you.
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...
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...
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....
with Dev-C++, use wxWidgets for GUI?
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?
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...
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...
RigidBody:
AbstractFactory:
you define a class (this is java-like code)
abstract class MyOpenGLGUI
{
public abstract void createWindow(...);
}
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...
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)...
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...
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
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...
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...
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...
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,...