Re: [osg-users] iOS: integration with not-OpenGL apps

2012-11-03 Thread Stephan Huber
Hi Mike, thanks for the bug-report, I fixed the issue on the gtihub repository. I will submit a new version to osg.submission asap. I am not sure why your app crashes, perhaps you can enable NSZombies and get an idea, why this happens. cheers, Stepan Am 31.10.12 17:16, schrieb Mike Wozniewski: >

Re: [osg-users] iOS: integration with not-OpenGL apps

2012-10-31 Thread Mike Wozniewski
FYI, it looks like Stephan's FlipsideView example is broken in iOS 6. I get an error when trying to add the view: Code: -[UIView setRootViewController:]: unrecognized selector sent to instance 0xca36f0 2012-10-31 11:53:50.850 viewtest[2745:907] *** Terminating app due to uncaught exception 'NSI

Re: [osg-users] iOS: integration with not-OpenGL apps

2011-05-05 Thread Alessandro Terenzi
Thanks Stephan. Alessandro On Thu, May 5, 2011 at 12:39 PM, Stephan Maximilian Huber < ratzf...@digitalmind.de> wrote: > Am 05.05.11 11:52, schrieb Alessandro Terenzi: > > 1) in GraphicsWindowIOS, beyond the window and view, also a view > > controller is defined and it is allocated in GraphicsWi

Re: [osg-users] iOS: integration with not-OpenGL apps

2011-05-05 Thread Stephan Maximilian Huber
Am 05.05.11 11:52, schrieb Alessandro Terenzi: > 1) in GraphicsWindowIOS, beyond the window and view, also a view > controller is defined and it is allocated in GraphicsWindowIOS.mm just after > the view...is this view controller really needed? How is it used? The ViewController is used to adapt t

Re: [osg-users] iOS: integration with not-OpenGL apps

2011-05-05 Thread Alessandro Terenzi
I've tried the new updated version and it works fine on my end. Now it looks very easy to manage the OSG's view within a custom view controller. I'd like to ask a couple of things, just to understand better how everything works. 1) in GraphicsWindowIOS, beyond the window and view, also a view con

Re: [osg-users] iOS: integration with not-OpenGL apps

2011-05-05 Thread Alessandro Terenzi
Thank you Stefan, I'm going to try it right now... Alessandro On Wed, May 4, 2011 at 10:22 PM, Stephan Huber wrote: > Hi Alessandro, > > I had some time to polish the GraphicsWindowIOS-implementation and it > should work now to use a GraphicsWindowIOS as part of a bigger > IOS-application. > > o

Re: [osg-users] iOS: integration with not-OpenGL apps

2011-05-04 Thread Stephan Huber
Hi Alessandro, I had some time to polish the GraphicsWindowIOS-implementation and it should work now to use a GraphicsWindowIOS as part of a bigger IOS-application. on github (https://github.com/stmh/osg/tree/iphone) there's even a new example demonstrating the usage. Basically you create a Wind

[osg-users] iOS: integration with not-OpenGL apps

2011-05-02 Thread Alessandro Terenzi
Hi, I'm trying to find a way to integrate OSG into a generic app for iOS, but I'm facing some problems. Maybe I'm missing something, but as far as I've understood, it looks like that, in order to use OSG on iOS, I must always use the UIWindow and the corresponding UIView/UIViewController objects cr