Hi John,

It's good so see that Pbuffers does look to be supported, shame about
the error though.  I can't really help out with the Win32 errors
though, I'll have to defer to Windows experts on this one.

Robert.

On Thu, May 22, 2008 at 4:12 PM, Argentieri, John-P63223
<[EMAIL PROTECTED]> wrote:
> Robert,
>
> I downloaded the OSG 2.4 binaries from the distribution. I can run
> osgprerender --pbuffer cow.osg just fine. When I close the viewer, I see
> this:
>
> PixelBufferWin32::closeImplementation, wglReleasePbufferDCARB error:
> Error code
> 3221684230
> PixelBufferWin32::closeImplementation, wglDestroyPbufferARB error: Error
> code 32
> 21684230
> PixelBufferWin32::closeImplementation, wglReleasePbufferDCARB error:
> Error code
> 3221684230
> PixelBufferWin32::closeImplementation, wglDestroyPbufferARB error: Error
> code 32
> 21684230
>
> So, it is obviously making use of pbuffers. Weird....
>
> John
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Argentieri, John-P63223
> Sent: Thursday, May 22, 2008 11:03 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [osg-users] PIXEL_BUFFER & PIXEL_BUFFER_RTT
>
> Robert,
>
> We require the ability to modify the scene graph in slight ways before
> each view is drawn, which I was unable to accomplish with
> CompositeViewer -- I tried setting one of osg's PreDrawCallbacks ( with
> SceneView we create our own ) and the stage at which this callback is
> issued does not permit us to change the StateSets of objects.
>
> As for contexts, we are using
> osg::GraphicsContext::createGraphicsContext( traits ) now. This gives us
> a  osg::GraphicsContext which I set in the SceneView's camera. I also
> call makeCurrent and releaseContext on it manually in the render method
> (our code). Those are the only things I am doing with the context, but I
> don't really know if I missed anything. Is there an older version of OSG
> which uses SceneView in osgprerender.cpp?
>
> I will try to run the osgprerender example from the OSG 2.4 binary
> distribution and let you know whether it works or not. Any suggestions
> you might have are greatly appreciated, as usual. I've tried probably
> 100 different things.
>
> John
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Robert
> Osfield
> Sent: Thursday, May 22, 2008 10:34 AM
> To: OpenSceneGraph Users
> Subject: Re: [osg-users] PIXEL_BUFFER & PIXEL_BUFFER_RTT
>
> Hi John,
>
> Are you using osgViewer at all?
>
> Does you custom GraphicsContext implementation implement everything
> required like the ones in osgViewer do?
>
> As for the crash in RenderStage, does this happen if you using osgViewer
> based code?
>
> Is there a particular reason why you are using SceneView instead of
> osgViewer?
>
> Robert.
>
> On Thu, May 22, 2008 at 3:26 PM, Argentieri, John-P63223
> <[EMAIL PROTECTED]> wrote:
>> Robert,
>>
>> We are using SceneView, and creating our own
>> osg::GraphicsContexts.When I set an osg::Camera's
>> RenderTargetImplementation to either of the PIXEL_BUFFER modes, the
>> SceneView causes a crash on draw() -- what looks like trying to
>> dereference a null pointer. Do you have any clues as to what this
> might be?
>>
>> Is there any way that I can force the osg::Camera to use a pbuffer
>> context that I create, instead of trying to make on in RenderStage?
>>
>> I have no reason to believe that my platform does not support
>> pbuffers. I've built OSG 2.4 in VC7 and I have a GeForce 6600 with the
>
>> latest stable drivers.
>>
>> You should come to I/ITSEC this year.
>>
>> Thanks,
>> John Argentieri
>> Software Engineer
>> GENERAL DYNAMICS
>> C4 Systems
>> (407) 281-5568
>> [EMAIL PROTECTED]
>>
>> "This email message is for the sole use of the intended recipient(s)
>> and may contain GDC4S confidential or privileged information. Any
>> unauthorized review, use, disclosure or distribution is prohibited. If
>
>> you are not an intended recipient, please contact the sender by reply
>> email and destroy all copies of the original message."
>>
>> _______________________________________________
>> 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.or
> g
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
> g
> _______________________________________________
> 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

Reply via email to