Hi Luc,
  There were a couple bugs in VRJuggler related to scene updating that have
been recently fixed. So, you might want to grab the latest SVN code and give
it a try. Also, you should be able to set the frame_stamp of a visitor
yourself with: 

  m_update_visitor = new osgUtil::UpdateVisitor();
  m_update_visitor->setFrameStamp(m_frame_stamp.get());

We do this for all of our visitors to make sure it's operating on the same
time. 

Good luck.

E.

---
Eric Maslowski
Research Computer Specialist
University of Michigan 3D Lab

Autodesk 3D Studio Max Certified Trainer

email: [EMAIL PROTECTED]
office: 734-615-9699
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:osg-users-
> [EMAIL PROTECTED] On Behalf Of Frauciel Luc
> Sent: Friday, September 08, 2006 05:36
> To: osg users
> Subject: RE: [osg-users] Pb with Uniform Callback and VRJuggler
> 
> Objet : Re: [osg-users] Pb with Uniform Callback and VRJuggler
>  > Hi Luc,
>  >
>  > I don't know what might be wrong.  What type of callback are you using?
> An update or event callback?
>  >  Robert
> 
> An update callback. I'm doing exactly the same thing as in osgparametric
> example.
> I'm not very surprised to have problems with FrameStamps and VRJuggler (it
> took me some time to set up correctly a databasepager), but since I dont
> know where does the NodeVisitor's FrameStamp comes from, I don't know
> either how to set it up correctly.
> 
>       Luc
> 
> 
> On 9/8/06, Frauciel Luc <[EMAIL PROTECTED]> wrote:
> 
>       Hi,
> 
>       I've got a problem with Uniform Callbacks and VRJuggler.
> 
>       class TextureVarying : public osg::Uniform::Callback
>       {
>               public :
>           virtual void operator () (osg::Uniform* uniform,
> osg::NodeVisitor* nv)
>           {
>               const osg::FrameStamp* fs = nv->getFrameStamp();
>           }
>       }
> 
>       nv->getFrameStamp() returns 0.
>       I have no problem with a Producer app.
>       I have an internal FrameStamp for my VRJuggler App that is correctly
> updated, but I don't know how to make a link with this one.
>       Where does this FrameStamp should come from and how is it updated ?
> 
>         Thanks in advance,
> 
>            Luc
> 
>       Luc FRAUCIEL - BRGM
>       Unité Calcul, 3D et réalité virtuelle
>       Service Systèmes et Technologies de l'Information
>       3, av C. Guillemin BP 6009 - 45060 Orléans Cedex 2, France
>       Tél. 02 38 64 35 65
>       Fax 02 38 64 39 70
>       ********************************************************************
> **************************
>       Le contenu de cet e-mail et de ses pièces jointes est destiné à
> l'usage exclusif du
>       (des) destinataire(s) expressément désigné(s) comme tel(s). En cas
> de réception de cet
>       e-mail par erreur, le signaler à son expéditeur et ne pas en
> divulguer le contenu.
>       L'absence de virus a été vérifié à l'émission du message. Il
> convient néanmoins de
>       vérifier l'absence de corruption à sa réception. The contents of
> this email and any attachments are
>       confidential. They are intended for
>       the named recipient(s) only. If you have received this email in
> error please notify the
>       system manager or the sender immediately and do not disclose the
> contents to
>       anyone or make copies. eSafe scanned this email for viruses, vandals
> and malicious
>       content.
>       ********************************************************************
> **************************
> 
>       _______________________________________________
>       osg-users mailing list
>       [email protected]
>       http://openscenegraph.net/mailman/listinfo/osg-users
>       http://www.openscenegraph.org/
> 
> 
> 
> Le contenu de cet e-mail et de ses pièces jointes est destiné à l'usage
> exclusif du
> (des) destinataire(s) expressément désigné(s) comme tel(s). En cas de
> réception de cet
>  e-mail par erreur, le signaler à son expéditeur et ne pas en divulguer le
> contenu.
> L'absence de virus a été vérifié à  l'émission du message. Il convient
> néanmoins de
> vérifier l'absence de corruption à sa réception.
> 
> The contents of this email and any attachments are confidential. They are
> intended for
> the named recipient(s) only. If you have received this email in error
> please notify the
> system manager or  the sender immediately and do not disclose the contents
> to
> anyone or make copies. eSafe scanned this email for viruses, vandals and
> malicious
> content.

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

Reply via email to