-
The 10.5.7 update from Apple broke Ogre's ability to render cocoa windows.
It turns out that mIsFullscreen was left uninitialized in the OgreOSXCocoaWindow class
Additionally there was no way to retrieve the window handle from the Cocoa class unlike the Carbon class
This patch resolves both issues in like 6 lines of code :-) I made patch versus trunk--but users of 1-6 will see this too...
09:18PM UTC on May 16 2009 in OGRE (O-O Graphics Rendering Engine)
-
Ya I understand why this won't work--and I realized the code I included only worked on OS X 10.4 (when I tested on a 10.5 machine it failed to refresh the window anyhow) Thanks for looking through it though. My next resolution is much simpler and only 6 lines of code (posted as new patch to access WINDOW)
09:55AM UTC on Apr 27 2009 in OGRE (O-O Graphics Rendering Engine)
-
currently while other platforms have access to the platform specific window handle the mac has no way of getting this data, for use with other input systems like the new SDL 1.3
Making these 2 parameters available in the straightforward way makes compatibility with other input systems easy.
With this straightforward patch I don't need the special mWindow hack I posted in a previous thread.
09:53AM UTC on Apr 27 2009 in OGRE (O-O Graphics Rendering Engine)
-
Currently in Ogre you have to hand ogre an external NSView--- then a setOgreWindow function is called on it (but never defined anywhere as best as I can tell)
This patch fixes the NSView code so that the mWindow is set from the NSView by invoking the window method to retrieve the nswindow.
Additionally this patch allows the user to specify a NSWindow instead of an NSView since some API's like...
08:44AM UTC on Apr 24 2009 in OGRE (O-O Graphics Rendering Engine)
-
Your patch forgets to set
mWindow = [view window];
and thusly on my mac it fails to refresh the window every frame.
08:40AM UTC on Apr 24 2009 in OGRE (O-O Graphics Rendering Engine)
-
hellcatv committed revision 674 to the Elysia Brain Simulation SVN repository, changing 3 files.
06:03AM UTC on Apr 23 2009 in Elysia Brain Simulation
-
hellcatv committed revision 673 to the Elysia Brain Simulation SVN repository, changing 1 files.
05:38AM UTC on Apr 23 2009 in Elysia Brain Simulation
-
hellcatv committed revision 671 to the Elysia Brain Simulation SVN repository, changing 2 files.
05:23AM UTC on Apr 23 2009 in Elysia Brain Simulation
-
hellcatv committed revision 670 to the Elysia Brain Simulation SVN repository, changing 9 files.
05:10AM UTC on Apr 23 2009 in Elysia Brain Simulation
-
hellcatv committed revision 669 to the Elysia Brain Simulation SVN repository, changing 3 files.
02:13AM UTC on Apr 23 2009 in Elysia Brain Simulation