Re: [osg-users] s there some documentation on what gets dumped out if you set OSG_NOTIFY_LEVEL to various things?

2012-04-11 Thread Zachary Hilbun
Hi,

Would still like to know the answer to this question.

Thank you!

Cheers,
Zachary

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=46992#46992





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] s there some documentation on what gets dumped out if you set OSG_NOTIFY_LEVEL to various things?

2012-04-11 Thread Paul Martz
I believe Chris has already answered your question. The source code shows what 
is displayed at various verbosity levels. IMO, the important information is the 
list of OpenGL extensions, and a dump of the loaded shader code. These are 
displayed with OSG_NOTIFY_LEVEL set to INFO.


OSG doesn't use a logging system (such as Poco) that allows you to set varying 
verbosity levels per module; the verbosity level applies to all of OSG. During 
development, I often write messages to DEBUG_FP, but I usually use a common tag 
at the start of the message so I can pipe it to grep to filter out the cruft I 
don't want to see.

   -Paul


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] s there some documentation on what gets dumped out if you set OSG_NOTIFY_LEVEL to various things?

2012-04-11 Thread Martin Naylor
Hi,
There is no documentation on what is exactly is dumped out of the different
notify levels.
Running 'grep 'DEBUG_MESSAGE' src/ -R' (cygwin on windows) lists the below,
which I assume is the message you are seeing.


src/osgViewer/Renderer.cpp://#define DEBUG_MESSAGE OSG_NOTICE
src/osgViewer/Renderer.cpp:#define DEBUG_MESSAGE OSG_DEBUG
src/osgViewer/Renderer.cpp:DEBUG_MESSAGERender::Render()
thisstd::endl;
src/osgViewer/Renderer.cpp:
DEBUG_MESSAGE_availableQueue.size()=_availableQueue._queue.size()std
::endl;
src/osgViewer/Renderer.cpp:DEBUG_MESSAGERender::~Render()
thisstd::endl;
src/osgViewer/Renderer.cpp:
DEBUG_MESSAGERenderer::compile()std::endl;
src/osgViewer/Renderer.cpp:DEBUG_MESSAGEcull()std::endl;
src/osgViewer/Renderer.cpp:DEBUG_MESSAGEcull() got SceneView
sceneViewstd::endl;
src/osgViewer/Renderer.cpp:DEBUG_MESSAGECollecting rendering
statsstd::endl;
src/osgViewer/Renderer.cpp:DEBUG_MESSAGEend cull()
thisstd::endl;
src/osgViewer/Renderer.cpp:DEBUG_MESSAGEdraw() thisstd::endl;
src/osgViewer/Renderer.cpp:DEBUG_MESSAGEdraw() got SceneView
sceneViewstd::endl;
src/osgViewer/Renderer.cpp:DEBUG_MESSAGEend draw()
thisstd::endl;
src/osgViewer/Renderer.cpp:DEBUG_MESSAGEcull_draw()
thisstd::endl;
src/osgViewer/Renderer.cpp:DEBUG_MESSAGECollecting rendering
statsstd::endl;
src/osgViewer/Renderer.cpp:DEBUG_MESSAGEend cull_draw()
thisstd::endl;


Regards

Martin.

-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Zachary
Hilbun
Sent: 11 April 2012 21:58
To: osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] s there some documentation on what gets dumped out
if you set OSG_NOTIFY_LEVEL to various things?

Hi,

Would still like to know the answer to this question.

Thank you!

Cheers,
Zachary

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=46992#46992





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] s there some documentation on what gets dumped out if you set OSG_NOTIFY_LEVEL to various things?

2012-04-11 Thread Martin Naylor
Hi Paul,
Ok the message Zachary was seeing was due to the extra lines in renderer.cpp
which have replaced the OSG_NOTIFY with DEBUG_MESSAGE.
Thats assuming the latest SVN is used here.
Not sure why the DEBUG_MESSAGE is being used, I can only guess that this a
transitional phase whilst implementations are being tested in SVN.
Anyone know?

Martin


-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Paul Martz
Sent: 11 April 2012 22:28
To: osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] s there some documentation on what gets dumped out
if you set OSG_NOTIFY_LEVEL to various things?

I believe Chris has already answered your question. The source code shows
what is displayed at various verbosity levels. IMO, the important
information is the list of OpenGL extensions, and a dump of the loaded
shader code. These are displayed with OSG_NOTIFY_LEVEL set to INFO.

OSG doesn't use a logging system (such as Poco) that allows you to set
varying verbosity levels per module; the verbosity level applies to all of
OSG. During development, I often write messages to DEBUG_FP, but I usually
use a common tag at the start of the message so I can pipe it to grep to
filter out the cruft I don't want to see.
-Paul


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] s there some documentation on what gets dumped out if you set OSG_NOTIFY_LEVEL to various things?

2012-04-06 Thread Zachary Hilbun
Hi,

I've seen debug environment variables in the OSG source code such as FATAL | 
WARN | NOTICE | DEBUG_INFO | DEBUG_FP | DEBUG | INFO | ALWAYS but I haven't 
seen any documentation on what they do.  Is there some documentation on what 
gets dumped out if you set OSG_NOTIFY_LEVEL to one of these?

Thank you!

Cheers,
Zachary

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=46915#46915





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] s there some documentation on what gets dumped out if you set OSG_NOTIFY_LEVEL to various things?

2012-04-06 Thread Chris Hanson
On Fri, Apr 6, 2012 at 2:55 PM, Zachary Hilbun osgfo...@tevs.eu wrote:

 Hi,
 I've seen debug environment variables in the OSG source code such as
 FATAL | WARN | NOTICE | DEBUG_INFO | DEBUG_FP | DEBUG | INFO | ALWAYS but
 I haven't seen any documentation on what they do.  Is there some
 documentation on what gets dumped out if you set OSG_NOTIFY_LEVEL to one of
 these?


  The source is the only documentation.

  Did you have a question about something specific?


-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com
http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 •
GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Digital Imaging • GIS • GPS • Telemetry • Cryptography • Digital Audio •
LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] s there some documentation on what gets dumped out if you set OSG_NOTIFY_LEVEL to various things?

2012-04-06 Thread Zachary Hilbun
Hi,

When it runs, it is constantly dumping out:

Cull draw
end cull draw

To the Console window of Eclipse during debug.  If I dump out something myself, 
it gets lost among all that text.  I'd like to be able to control what is being 
dumped out.

I assumed there would be some kind of documentation as to how to set the 
environmental variable in order to control what got dumped.  How useful can 
this feature be if people don't know how to use it?

Thank you!

Cheers,
Zachary

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=46919#46919





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org