RE: [osg-users] Shader debug

2006-11-03 Thread Gilbert, Daniel R.
ver here }   Basically I do this quick test first.  If it passes I continue on to the test compile and info log checking.   -- Dan From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy PreeceSent: Friday, November 03, 2006 7:11 AMTo: osg usersSubject: RE: [osg-use

RE: [osg-users] Shader debug

2006-11-03 Thread Andy Preece
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Preece Sent: 03 November 2006 14:42 To: osg users Subject: RE: [osg-users] Shader debug   Hi Dan,   Here is my code snippet. Can you spot what I am doing wrong? It looks like your suggested fix!   I always get the message ‘Loaded Shader

RE: [osg-users] Shader debug

2006-11-03 Thread Andy Preece
ntext %d.\n", logStr.c_str(), contextID  ) ;   }     CView::OnShowWindow(bShow, nStatus); }     -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gilbert, Daniel R. Sent: 26 October 2006 17:16 To: osg users Subject: RE: [osg-users] Shader debug   Hi Andy,

Re: [osg-users] Shader debug

2006-10-26 Thread Tony Glover
Hi Andy, You can always add a console to a windows app, check the AllocConsole function in MSDN, I have some source code if needed. Cheers, Tony. ___ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/os

RE: [osg-users] Shader debug

2006-10-26 Thread Philip Taylor
n capture stderr and stout. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Andy Preece Sent: 26 October 2006 17:06 To: osg users Subject: RE: [osg-users] Shader debug Hi, That's fine for applications that have a console. I am writing a Windows base

RE: [osg-users] Shader debug

2006-10-26 Thread Gilbert, Daniel R.
here a shader fails to > compile and display a pop up screen with the shader info. > > Is there a way I can achieve this? > > Andy. > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Charles Cosse > Sent: 26 Oct

RE: [osg-users] Shader debug

2006-10-26 Thread Andy Preece
hieve this? Andy. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Charles Cosse Sent: 26 October 2006 15:19 To: osg users Subject: Re: [osg-users] Shader debug Hi, on linux you can export OSG_NOTIFY_LEVEL=DEBUG and recompile ... then shader info is print

Re: [osg-users] Shader debug

2006-10-26 Thread Alex Queiroz
Hallo, On 10/26/06, Charles Cosse <[EMAIL PROTECTED]> wrote: Hi, on linux you can export OSG_NOTIFY_LEVEL=DEBUG and recompile ... then shader info is printed to the terminal when you run. Maybe that helps.. I don't think you need to recompile. -- -alex http://www.ventonegro.org/ __

Re: [osg-users] Shader debug

2006-10-26 Thread Charles Cosse
Hi, on linux you can export OSG_NOTIFY_LEVEL=DEBUG and recompile ... then shader info is printed to the terminal when you run. Maybe that helps.. -charlie Andy Preece wrote: Hi All, Can anyone show me how to get the shader info log from an osg::shader class? I have tried using the o

Re: [osg-users] Shader debug

2006-09-26 Thread Sinisa Popovic
Hi Andy, > You can see more info from OSG by increasing the notify level. My OSG program is a Windows MFC application and I don't see any messages coming out from OSG, regardless of the debug level. Is there a way to direct the OSG Notify Debug output to the MS VS 2005 immediate window?

RE: [osg-users] Shader debug

2006-09-26 Thread Andy Preece
e window? Regards, Andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Weiblen Sent: 26 September 2006 07:36 To: osg users Subject: Re: [osg-users] Shader debug Hi Andy, You can see more info from OSG by increasing the notify level. Run your shader sou

Re: [osg-users] Shader debug

2006-09-25 Thread Mike Weiblen
Hi Andy, You can see more info from OSG by increasing the notify level. Run your shader source thru GLSL Validate to confirm that it is valid GLSL code. http://developer.3dlabs.com/downloads/glslvalidate/index.htm Run GLSL ParserTest on your drivers to determine their compliance with the GLSL sp

Re: [osg-users] Shader debug

2006-09-25 Thread Radu Mihai
Set the OSG notify level to INFO, you should get errors from shader compilation.http://www.openscenegraph.org/osgwiki/pmwiki.php/Documentation/TipsAndTricksAlso you'll get a long listing for the OpenGL extensions supported. --Radu Mihai[EMAIL PROTECTED] On 25-Sep-06, at 12:0