Re: [osg-users] Joystick support in OSG

2015-11-06 Thread Elias Tarasov
Hello! To solve abovementioned task i searched for examples into OSG's projects: present3D app, osgviewerSDL example and sdl plugin. Also, i looked into these docs: https://www.libsdl.org/release/SDL-1.2.15/docs/html/guideinput.html Eventually i came up with that code:

Re: [osg-users] Add loaded model to a Camera Manipulator

2015-11-06 Thread Robert Osfield
Hi James, It's hard to know what is amiss as we don't know how the CameraManipulator is written and how exactly everything is glued together. As general note, the OSG's doesn't require the use of CameraManipulator, you can set the viewer's Camera's ViewMatrix yourself on each new frame if you

Re: [osg-users] osgviewerCocoa build error with clang 7.0.0

2015-11-06 Thread Robert Osfield
Hi Ravi, Could you post the whole modified file to osg-submissions, I'll review this and get it merged. Robert. On 6 November 2015 at 02:05, Ravi Mathur wrote: > Hi all, > > The osgviewerCocoa example gives the following error during build: > > > Code: > >

Re: [osg-users] osgviewerCocoa build error with clang 7.0.0

2015-11-06 Thread Ravi Mathur
Sure thing Robert. robertosfield wrote: > Hi Ravi, > > > Could you post the whole modified file to osg-submissions, I'll review this > and get it merged. > > > Robert. > -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=65561#65561

[osg-users] wrapping an externally generated OpenGL texture in an osg::Texture ?

2015-11-06 Thread Christian Buchner
Hi, I have some legacy OpenGL code that is integrated with our OSG based application. This code creates and updates its own textures using OpenGL API calls and we are using a custom drawable with a drawImplementation() that binds said textures with OpenGL API calls before rendering the geometry.