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/

Reply via email to