Re: [osg-users] Need Help ! Open Scene Graph For IPhone Shaders Issues

2010-12-23 Thread Laith Dhawahir
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

[osg-users] Need Help ! Open Scene Graph For IPhone Shaders Issues

2010-12-22 Thread Laith Dhawahir
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

Re: [osg-users] Need Help ! Open Scene Graph For IPhone Shaders Issues

2010-12-22 Thread Eric Zaremba
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 ___

Re: [osg-users] Need Help ! Open Scene Graph For IPhone Shaders Issues

2010-12-22 Thread Laith Dhawahir
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) {

Re: [osg-users] Need Help ! Open Scene Graph For IPhone Shaders Issues

2010-12-22 Thread Ulrich Hertlein
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,