Heey,
Thanks all for trying to help me, i solved the problem. and i succesfully run
the following code
Code:
#import iphoneViewerAppDelegate.h
#include osgGA/TrackballManipulator
#include osg/ShapeDrawable
#include osgViewer/api/IOS/GraphicsWindowIOS
#include osg/Node
#include osg/Group
Hi All,
I'm Software Engineer,
and here in the company we are trying our product to IPhone/IPad.
anyway. after near to 1 month of search , modifying and fixing i didnt find
any answer to my problems Problems In Open Scene Graph.
Here Is the Problem.
im trying to run the following code :
its
Hi,
First, I don't see any call to realize();
Second, do you set any camera manipulator or position to look at your box?
Eric
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=35068#35068
___
Hey Eric,
Thanks for replay to me :).
actually sorry i use them in the code, but it seem i miss to write them
anyway.. here is the code i use currently:
Code:
//if the context was created then attach to our viewer
if(graphicsContext)
{
Hi,
On 23/12/10 0:23 , Laith Dhawahir wrote:
Code:
//if the context was created then attach to our viewer
if(graphicsContext)
{
viewer-getCamera()-setGraphicsContext(graphicsContext);
//viewer-getCamera()-setViewport(new osg::Viewport(0, 0,
traits-width,
5 matches
Mail list logo