[squeak-dev] Re: Need someone to test if NBOpenGL works for you
on win32
Igor Stasenko
siguctua at gmail.com
Tue May 25 03:32:11 UTC 2010
On 25 May 2010 05:57, Andreas Raab <andreas.raab at gmx.de> wrote:
> On 5/24/2010 6:17 PM, Igor Stasenko wrote:
>>
>> You can just take a prebuilt VM from
>> http://code.google.com/p/nativeboost/downloads/list
>
> Okay, good, that's what I did. FWIW, there's an installation bug for NB.
> When you run "NBInstaller install" *without* the plugin, it will fail to
> determine the platform id and will not install the Windows stuff. That's
> what caused my later problems. I would recommend installing *all* platform
> examples regardless of actual platform id to avoid issues like these. I find
> Unix examples just as instructive as Windows examples ;-)
>
Oh give it a time :)
> However, even after doing that, it fails to run. It blows up in
> NBGLFrameBuffer>>checkStatus which needs to use "self CLASS bindingOf: sym"
> to resolve the code.
Thanks for finding it! I never run into that code, that's why it
wasn't tested. :)
> When I fix that it gets me to an
> GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT and that's where I'm at right now. In
> case it helps, the offending code is in
>
> NBMSAAOffscreenDisplay>>initDisplay
> "perform a usual initializations"
> renderFBO := NBGLFrameBuffer new initialize: self gl extent: extent.
> renderFBO createMultisampleAttachments: 4.
> renderFBO checkStatus.
> "... more stuff ..."
>
> Any ideas what to look for? I have an ATI Mobility Radeon HD 4330 running
> Windows 7.
>
It either your card doesn't supports MSAA,
or driver don't likes the FBO configuration which i provided.
Check that
NBWinContextState new pixelFormatInfo extensions includes:
#GL_EXT_packed_depth_stencil
i suspect this is your problem, because you're unlucky owner of wrong
hardware/drivers :)
http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=234085
Also, you could try running with MSAA turned off, go to
NBGLDisplay class>>pickImplementation
and put comment around " ^ NBMSAAOffscreenDisplay "
> Cheers,
> - Andreas
>
>
--
Best regards,
Igor Stasenko AKA sig.
More information about the Squeak-dev
mailing list
|