b523cb15c1
attached you'll find the second part of the IOS-submission. It contains * GraphicsWindowIOS, which supports external and "retina" displays, multisample-buffers (for IOS > 4.0) and multi-touch-events * an ios-specific implementation of the imageio-plugin * an iphone-viewer example * cMake support for creating a xcode-project * an updated ReadMe-file describing the necessary steps to get a working xcode-project-file from CMake Please credit Thomas Hogarth and Stephan Huber for these changes. This brings the ios-support in line with the git-fork on github. It needs some more testing and some more love, the cmake-process is still a little complicated. You'll need a special version of the freetype lib compiled for IOS, there's one bundled in the OpenFrameworks-distribution, which can be used." Notes, from Robert Osfield, modified CMakeLists.txt files so that the IOS specific paths are within IF(APPLE) blocks.
20 lines
259 B
C
Executable File
20 lines
259 B
C
Executable File
#pragma once
|
|
|
|
#include <osgViewer/GraphicsWindow>
|
|
#include <osgDB/Registry>
|
|
|
|
//windowing system
|
|
USE_GRAPICSWINDOW_IMPLEMENTATION(IOS)
|
|
|
|
|
|
//plugins
|
|
|
|
//USE_OSGPLUGIN(obj)
|
|
//USE_OSGPLUGIN(ive)
|
|
USE_OSGPLUGIN(osg)
|
|
|
|
USE_OSGPLUGIN(imageio)
|
|
|
|
USE_OSGPLUGIN(freetype)
|
|
|