Re: [osg-users] SceneView error

2008-05-10 Thread erf
When I call sceneViewer-cull() first it works like a charm.. But should I have to? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 8. april 2008 13:51 To: osg-users@lists.openscenegraph.org Subject: [osg-users] SceneView error I try to use OpenSceneGraph

Re: [osg-users] SceneView error

2008-05-10 Thread Robert Osfield
On Thu, Apr 10, 2008 at 10:41 AM, [EMAIL PROTECTED] wrote: When I call sceneViewer-cull() first it works like a charm.. But should I have to? You always have to call cull() before draw(), even osgViewer::Viewer::renderingTraversals() does this internally. cull() is what culls the scene graph

Re: [osg-users] SceneView error

2008-05-10 Thread Gordon Tomlinson
To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] SceneView error When I call sceneViewer-cull() first it works like a charm.. But should I have to? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 8. april 2008 13:51 To: osg-users

Re: [osg-users] SceneView error

2008-04-10 Thread Robert Osfield
Hi Erf??? Can't make any sense of your email, and not about to go trying to sieve through your example code trying to work out what you might mean. Please try and be specific, tell us what error you get, a compile, and link error, a runtime error Also try telling us which version of the OSG

Re: [osg-users] SceneView error

2008-04-10 Thread erf
ps, its the latest version, 2.3.7. its just an example i created myself. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 10. april 2008 18:42 To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] SceneView error i did get a runtime error

Re: [osg-users] SceneView error

2008-04-10 Thread erf
:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: 10. april 2008 18:08 To: OpenSceneGraph Users Subject: Re: [osg-users] SceneView error Hi Erf??? Can't make any sense of your email, and not about to go trying to sieve through your example code trying to work out what you might mean. Please try

Re: [osg-users] SceneView error

2008-04-10 Thread Ulrich Hertlein
Hi Erf, Quoting [EMAIL PROTECTED]: i did get a runtime error at _localStateSet-setAttribute(getViewport()); when calling SceneView-draw if not calling SceneView-cull first. dont have Makes sense doesn't it? If you don't call cull() then draw() is kind-of in an indeterminate state. You're

Re: [osg-users] SceneView error

2008-04-10 Thread Gordon Tomlinson
:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, April 08, 2008 7:51 AM To: osg-users@lists.openscenegraph.org Subject: [osg-users] SceneView error I try to use OpenSceneGraph and SceneView as shown in example when using an existing renderer, but get an error when calling SceneView

[osg-users] SceneView error

2008-04-09 Thread erf
I try to use OpenSceneGraph and SceneView as shown in example when using an existing renderer, but get an error when calling SceneView-draw() or more spesific in _localStateSet-setAttribute(getViewport()); The example code I use is as following: int CMapRenderThread::InitOpenSceneGraph() {