gdtiti01
Topic Author
Posts: 6
Joined: 05 Dec 2015, 04:07

OpenGL Demo Error

09 Jan 2016, 15:26

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 = (PFNGLBINDFRAMEBUFFERPROC)wglGetProcAddress("glBindFramebuffer");
glUseProgram = (PFNGLUSEPROGRAMPROC)wglGetProcAddress("glUseProgram");
glBindFramebuffer and glUseProgram always null
 
User avatar
jsantos
Site Admin
Posts: 2904
Joined: 20 Jan 2012, 17:18
Contact:

Re: OpenGL Demo Error

09 Jan 2016, 16:08

Could you add the following code and tell me the value of the following strings (just after glutCreateWindow() invocation):
const char* vendor = glGetString(GL_VENDOR);
const char* renderer= glGetString(GL_RENDERER);
const char* version = glGetString(GL_GL_VERSION);
 
User avatar
jsantos
Site Admin
Posts: 2904
Joined: 20 Jan 2012, 17:18
Contact:

Re: OpenGL Demo Error

09 Jan 2016, 16:11

Could you also test if XamlPlayer works correctly in OpenGL?

To activate the GL renderer, please edit the file (Gui.XamlPlayer.ini):
[Render.RenderSystem]
Render = "GL"
 
gdtiti01
Topic Author
Posts: 6
Joined: 05 Dec 2015, 04:07

Re: OpenGL Demo Error

09 Jan 2016, 16:40

vendor:Microsoft Corporation
renderer : GDI Generic
version : 1.1.0
[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

 
gdtiti01
Topic Author
Posts: 6
Joined: 05 Dec 2015, 04:07

Re: OpenGL Demo Error

09 Jan 2016, 16:43

Render = "GL"
Gui.XamlPlayer work good
 
User avatar
jsantos
Site Admin
Posts: 2904
Joined: 20 Jan 2012, 17:18
Contact:

Re: OpenGL Demo Error

09 Jan 2016, 17:00

vendor:Microsoft Corporation
renderer : GDI Generic
version : 1.1.0
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.
 
gdtiti01
Topic Author
Posts: 6
Joined: 05 Dec 2015, 04:07

Re: OpenGL Demo Error

09 Jan 2016, 17:05

Thank you, maybe I know where is wrong
 
gdtiti01
Topic Author
Posts: 6
Joined: 05 Dec 2015, 04:07

Re: OpenGL Demo Error

09 Jan 2016, 17:28

I shouldn't in Mac systems running Windows vm, directly using the Windows system operation is normal
Thank you very much
 
User avatar
jsantos
Site Admin
Posts: 2904
Joined: 20 Jan 2012, 17:18
Contact:

Re: OpenGL Demo Error

09 Jan 2016, 18:05

Fine! Anyway we should report a better error. We will add a check in the next version.

Who is online

Users browsing this forum: No registered users and 1 guest