Re: [osg-users] QUAD_BUFFER Stereo on Vista

2012-07-01 Thread Su Gang
Hi everyone, In osgviewerQt, I also have this problem. As in topic: http://forum.openscenegraph.org/viewtopic.php?t=7860 In function createCamera, if I add this code: Code: traits-quadBufferStereo = true; , QUAD_BUFFER stereo works fine. Cheers, Su -- Read this topic

[osg-users] StateSetManipulator doesn't work

2012-03-19 Thread Su Gang
Hi, I have a strange problem. Runing the following code will cause StateSetManipulator doesn't work. That is I can't enble/ disable texture by clicking key T (And the Lighting, CyclePolygonMode). I've tried. If keep only one geom-addPrimitiveSet of the first two POLYGONs, remove the

Re: [osg-users] Particles on iOS

2011-11-08 Thread Su Gang
Hi Alessandro and everyone, I can't answer yours as having no iOS device or emulator. May I ask some simple questions on building osg? 1. Is it possible to compile and run the application osgviewer under OpenSceneGraph/applications/osgviewer on iOS? 2. If the answer of 1 is yes, I think it is

Re: [osg-users] [build] Problem with building the Android examples

2011-08-21 Thread Su Gang
Yes, the blue background appears when I run the application on a phone ZTE-T U880. I think I have made it. Thanks! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42156#42156 ___ osg-users mailing

Re: [osg-users] how to get number of points and faces while osg reading in 3D models?

2011-08-17 Thread Su Gang
Hi long yan, You can refer to the class osgViewer::StatsHandler, it will show you how to get the number of vertices and primitives. Cheers, Su -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42092#42092

[osg-users] [build] Problem with building the Android examples

2011-08-10 Thread Su Gang
Hi, I am building the two Android examples of OSG 3.0.1. The building seems successful but while I run them on Android 2.3.3 AVD emulator, there is following error: Code: The application osgAndroidExample (process osg. AndroidExample) has stopped unexpectedly. Please try again. Another

Re: [osg-users] Can't get osgText to display text using osgViewer::GraphicsWindow

2011-08-10 Thread Su Gang
Hi, I think you can try to add something else such as a primitive in void GOSGView::populate(). Code: m_viewer-setSceneData(geode); I see there is only one text node in the scene. I guess maybe the cull process ignored it. Cheers, Su pau.estalella wrote: Hi, I'm trying to add text

Re: [osg-users] Question about TerrainManipulator

2011-08-10 Thread Su Gang
Hi caijun, In CoordinateSystemNode.h: Code: /** CoordinateFrame encapsulates the orientation of east, north and up.*/ typedef Matrixd CoordinateFrame; I think it is used to tell the directions of the model. Cheers, Su -- Read this topic online here:

Re: [osg-users] [build] Problem with building the Android examples

2011-08-10 Thread Su Gang
Hi Jorge, Thanks very much for your reply. I misunderstanded about something you said so I had some errors. I'll try it later. Cheers, Su -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=41989#41989