Re: [osg-users] crash in frame(); in the multithreading

2008-07-21 Thread Wu Xiaodong
. On Fri, Jul 18, 2008 at 6:13 PM, Robert Osfield [EMAIL PROTECTED] wrote: 2008/7/18 Wu Xiaodong [EMAIL PROTECTED]: In my case, I added some new child-node to a group-node, then it crashed some times; Could the bug be fixed if i call osg::Group::setDataVariance ( )? Setting DataVariance

Re: [osg-users] crash in frame(); in the multithreading

2008-07-21 Thread Wu Xiaodong
I debug my code once more. Your judgment was right. In the single thread, it crashed also. Thanks. Xiaodong 2008/7/22 Wu Xiaodong [EMAIL PROTECTED]: Based on your opinion that the crash is *a straight iterator invalidation issue due to your add/removing stuff from the scene graph

Re: [osg-users] crash in frame(); in the multithreading

2008-07-18 Thread Wu Xiaodong
Xiadong, If you are updating StateSet/StateAttribute or Drawables/Geometry in your update then you should mark their DataVariance to DYNAMIC so that the draw traversal knows not to release the current frame till they are all done. Robert. 2008/7/18 Wu Xiaodong [EMAIL PROTECTED]: Hi

[osg-users] crash in frame(); in the multithreading

2008-07-17 Thread Wu Xiaodong
Hi. I begin a new thread for osg::Viewer()::frame(); I create a simple scene , then call osg::Viewer::frame() ; it all works well; while I add some chilld-nodes to a group node, then it crashed in frame(); Is the error generated because of the

Re: [osg-users] OpenSceneGraph 2.4 released

2008-04-28 Thread Wu Xiaodong
Greate Work. Thanks Robert! On Fri, Apr 25, 2008 at 8:34 PM, Robert Osfield [EMAIL PROTECTED] wrote: I have just tagged OpenSceneGraph-2.4 stable release and update the front page downloads pages with new release, you can grab 2.4 from the downloads page:

[osg-users] osgSim::ScalarBar: supporting the osgText::String title;

2008-04-16 Thread Wu Xiaodong
Hi. I try to update the class osgSim::ScalarBar to support for the osgText::String title. it may be very simple. but I hope i can do something to OSG. Thanks. xiaodong // header == /* -*-c++-*- OpenSceneGraph - Copyright (C)

Re: [osg-users] OpenSceneGraph-2.3.7 dev release tagged.

2008-04-07 Thread Wu Xiaodong
, Apr 3, 2008 at 4:40 PM, Robert Osfield [EMAIL PROTECTED] wrote: Hi Xiaodong Wu et. al, 2008/4/3 Wu Xiaodong [EMAIL PROTECTED]: How could the community do when the next Microsoft Technologies, such as DirectX changes like OS changes from Win95 to WinXp. The email about adopting

Re: [osg-users] OpenSceneGraph-2.3.7 dev release tagged.

2008-04-02 Thread Wu Xiaodong
How could the community do when the next Microsoft Technologies, such as DirectX changes like OS changes from Win95 to WinXp. On Wed, Apr 2, 2008 at 5:37 AM, Robert Osfield [EMAIL PROTECTED] wrote: One more thing... In the light of the recent efforts from Microsoft to support standards and

Re: [osg-users] Help! Some error in my scene, but I don't how to fix it.

2008-03-31 Thread Wu Xiaodong
probably the source data/the data import/ or your model construction that is at fault, this type of issue is unlikely to be actual OSG problem unless there is a bug in one of the loaders. Robert. 2008/3/31 Wu Xiaodong [EMAIL PROTECTED]: Hi. I got some error in my scene, I snap

Re: [osg-users] hello,I have a problem.

2008-03-19 Thread Wu Xiaodong
Hello. Niu: You need to set the class niuhm : public osg::Drawable::UpdateCallback object to your node to update; by: geom-setDataVariance( ); geom-setUpdateCallback( ); You can refer to the osgcallback in the osgExamples. xiaodong 2008/3/19 Niuheming [EMAIL

Re: [osg-users] how to update the Camera

2008-03-06 Thread Wu Xiaodong
manipulator setHomePosition or computeHomePosition method? i.e. viewer.getCamaraManipulator()-setHomePosition(...); Robert. On Mon, Mar 3, 2008 at 2:35 AM, Wu Xiaodong [EMAIL PROTECTED] wrote: Hi, I am freshman in OpenSceneGrapph. Now I have some issue on updating the Camera when

Re: [osg-users] how to update the Camera

2008-03-06 Thread Wu Xiaodong
Wu Xiaodong [EMAIL PROTECTED]: Hi, Robert: is there any limit on calling setHomePosition and computeHomePosition()? I have taken a try, but it didn't works. What do you mean by it didn't work, did it do the wrong thing, did it do nothing at all? These methods just set the home

[osg-users] how to update the Camera

2008-03-02 Thread Wu Xiaodong
Hi, I am freshman in OpenSceneGrapph. Now I have some issue on updating the Camera when the Geode under it was updated. the details of the issue is as following. 1st step. I build a viewer and its scene graph with only one osg::Geometry which contains nothing. and set a TrackballManipulator to

Re: [osg-users] STL vectors and function calls

2007-12-31 Thread Wu Xiaodong
*MyIterator-AnotherMethod(); should be MyIterator-AnotherMethod(); On Dec 30, 2007 12:47 AM, Renan Mendes [EMAIL PROTECTED] wrote: Hi, everyone. I've got quick question on STL vectors. I've created a class (let's call it MyClass) with the method 'bool MyMethod(std::vectorMyClass

[osg-users] How to enable the auto-rotate affect on a TrackballManipulator, ( win32mfc )

2007-11-22 Thread Wu Xiaodong
Hi, Everyone: I am a total begginer user of OSG for 3 days. How can i enable the auto-rotate effect on a TrackballManipulator? I have attached a osgViewer::viewer to a window on Win32.( windiow+MFC ) by following code. * viewer = new osgViewer::Viewer;

Re: [osg-users] How to enable the auto-rotate affect on a TrackballManipulator, ( win32mfc )

2007-11-22 Thread Wu Xiaodong
a look at the osganimation example. Robert. On Nov 22, 2007 9:34 AM, Wu Xiaodong [EMAIL PROTECTED] wrote: Hi, Everyone: I am a total begginer user of OSG for 3 days. How can i enable the auto-rotate effect on a TrackballManipulator? I have attached a osgViewer