Hello,
in my game i created some heads-up windows using CEGUI
but the problem is that they are sometimes hidden,
sometimes visible.
I allready set depth_test and depth_write to false
but it is not working.
window->get_render_2d().attach_new_node(callback_node); //Add the CallbackNode of CEGUI to 2D render
//window->get_render_2d().set_depth_offset(0); //Testing
//window->get_render_2d().set_bin("fixed",1); //Testing
window->get_render_2d().set_depth_test(false);
window->get_render_2d().set_depth_write(false);
I am now trying to create a extra display region
but there my problem is that i do not konw how to convert the camera into nodepath.
OK, perhaps we have to wait until a solution is found. Sometimes many eyes can help find a solution faster–would you like to help research the problem, following the suggestions given in that other thread?
What do you mean “not found”? Do you mean the compiler complains there is no such symbol defined? glActiveTexture() is new as of OpenGL 1.3, so if your system’s OpenGL headers are older than that, it won’t be defined. (Of course, “new” is relative, as OpenGL 1.3 was released in 2001, but there are indeed some systems out there with OpenGL headers older than that. It’s possible that the default Microsoft-provided OpenGL headers are only 1.1, as Microsoft sometimes appears to go out of their way to make OpenGL development difficult.)
But none of these are exactly trivial, and I gather that you are fairly new to OpenGL programming, and C/C++ programming in general. So perhaps the simplest advice will be to pick up the latest version of Panda3D from the cvs source tree, which solves this problem for you.