Hi Michael,

The first step would be to disable get osgViewer to build without any
of X11/Win32/Cocoa/Carbon implementations of GraphicsWindow*.cpp and
PixelBuffer*.cpp, to do this will be a pretty straight forward tweak
of the src/osgViewer/CMakeLists.txt, there is even a chance it'll
compile out of the box...

The next step would be try out osgviewerSDL or osgviewerGLUT if either
of these primitive OpenGL windowing toolkits are available.   These
examples use the GraphicsWindowEmbedded feature of osgViewer, it
doesn't provide all full threading and multi-context support of
osgViewer but will at least get you a window up and a 3d scene
rendering.

The next step is then to create your own native GraphicsWindow*.cpp
and PixelBuffer*.cpp implementations for Haiku, and have CMake
automatically select this when building under Haiku.   Once you've
done this the OSG should be fully functionality and able to done full
multi-thread and multi-context viewers like it can on other platforms.

Robert.

2010/8/9 Michael Vinícius de Oliv <[email protected]>:
> Hi,
>
> I'm porting OSG to Haiku
>
> but, It lacks of an osgViewer afterall
>
> someone could create a simple Viewer using our app_server instead Xserver or
>
> use a pure Mesa OpenGL instead GLX?
>
> ...
>
> Thank you!
>
> Cheers,
> Michael
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=30635#30635
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to