OpenGL Demo Error
Hi!
Sorry before login wrong account。
I am get the code from https://github.com/Noesis/Tutorials/tre ... ntegration, then I integrated NoesisGUI-SDK-win-1.2.5f9 in the Vs2013. I have installed the GULT and NoesisGUI。Compilation of normal,But when I run, error is produced. Gui.XamlPlayer work good
Please help me to solve this problem
thanks
glBindFramebuffer and glUseProgram always null
Sorry before login wrong account。
I am get the code from https://github.com/Noesis/Tutorials/tre ... ntegration, then I integrated NoesisGUI-SDK-win-1.2.5f9 in the Vs2013. I have installed the GULT and NoesisGUI。Compilation of normal,But when I run, error is produced. Gui.XamlPlayer work good
Please help me to solve this problem
thanks
Code: Select all
glBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC)wglGetProcAddress("glBindFramebuffer");
glUseProgram = (PFNGLUSEPROGRAMPROC)wglGetProcAddress("glUseProgram");
Re: OpenGL Demo Error
Could you add the following code and tell me the value of the following strings (just after glutCreateWindow() invocation):
Code: Select all
const char* vendor = glGetString(GL_VENDOR);
const char* renderer= glGetString(GL_RENDERER);
const char* version = glGetString(GL_GL_VERSION);
Re: OpenGL Demo Error
Could you also test if XamlPlayer works correctly in OpenGL?
To activate the GL renderer, please edit the file (Gui.XamlPlayer.ini):
To activate the GL renderer, please edit the file (Gui.XamlPlayer.ini):
Code: Select all
[Render.RenderSystem]
Render = "GL"
Re: OpenGL Demo Error
vendor:Microsoft Corporation
renderer : GDI Generic
version : 1.1.0
renderer : GDI Generic
version : 1.1.0
Code: Select all
[Render.RenderSystem]
;CenterPixelOffset = 0.5
;CheckATI1N = false
;CheckATI2N = false
;CheckAlphaToCoverage = false
;CheckFetch4 = false
;CheckHWPCF = false
;ForceReferenceRasterizer = false
;MinPixelShaderVersion = 3
;MinVertexShaderVersion = 3
;PerfHUDEnabled = false
;Render = ""
;WaitRetrace = true
Re: OpenGL Demo Error
The GL context is not being created properly, we need at least GL2. It seems that GLUT is creating a non-hw accelerated context. I can't give you more information because the code that creates the context is in GLUT. By the way, why did you have to install GLUT? We provide the binary in our sample.vendor:Microsoft Corporation
renderer : GDI Generic
version : 1.1.0
Re: OpenGL Demo Error
I shouldn't in Mac systems running Windows vm, directly using the Windows system operation is normal
Thank you very much
Thank you very much
Re: OpenGL Demo Error
Fine! Anyway we should report a better error. We will add a check in the next version.
Who is online
Users browsing this forum: Google [Bot] and 9 guests