Hi "osg user",

Could you provide the modified osgwindow example, I compile and look
to see if there is something amiss.

Robert.

On 7/5/06, osg user <[EMAIL PROTECTED]> wrote:
Hi Robert,

  I have tried the following:

- Load the OSG file with following structure
  osg::Group
    osg::Group
      osg::Node

- Add osgFX:Scribe node. After addition, structure is:
  osg::Group
    osg::Group
      osgFX:Scribe
        osg::Node

- Later remove the osgFX:Scribe and now again the
structure is:

  osg::Group
    osg::Group
      osg::Node

- Save the final structure into a new OSG file

- Compare the first and last OSG files... They are
identical.

I tried this operation using the osgWindows example in
OSG1.0 demos. After removel of the osgFX::Scribe, one
of the window doesnt show the model, other window
continue showing the model. I make rotation, zoom etc.
with default keyboardmouse callback in the example but
there is no change, model in the first window is
invisible.

Thank for helps.





--- Robert Osfield <[EMAIL PROTECTED]> wrote:

> Hi,
>
> Its most likely that you node is placed in the top
> most group somehow,
> as removing any node will remove all its children,
> and this applies to
> osgFX::Scribe.
>
> Take another look at the scene graph before and
> after the Scribe
> removal using osgDB::writeNodeFile()
>
> Robert.
>
> On 7/4/06, osg user <[EMAIL PROTECTED]> wrote:
> > Hi,
> >   There is an interesting behaviour that I couldnt
> > understand. I have a node structure like below
> >
> > osg::group
> >     osgFx::Scribe
> >        osg::Node
> >
> > When I remove the osgFX::Scribe from the
> hierarchy,
> > osg:Node becomes invisible. But I use a visiter
> and
> > see that its already there. Also I save it to a
> OSG
> > file, again it is in the osg file... But it is not
> > visible on the screen after I remove it. Do I need
> to
> > call
> >
> > osg::Group::DirtyBound() event or something else ?
> >
> > Thanks alot
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> > _______________________________________________
> > osg-users mailing list
> > [email protected]
> >
> http://openscenegraph.net/mailman/listinfo/osg-users
> > http://www.openscenegraph.org/
> >
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
>


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to