i wanted to switch between two viewers ... so what i did was i added both the viewers to a composite viewer . And i set the nodemask of first to be 0x1 and second to be 0x0 .. so that the second one is on . I also added a keyboard handler to both the viewers. On pressing key "s" i change my the nodemask of the calling viewer to 0x0 and other to be 0x1 . But this isnt working can anybody state a better idea ? ---------------------------------------------- Maruti Borker IIIT Hyderabad Website:- http://students.iiit.ac.in/~maruti Blog:- http://marutiborker.wordpress.com
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org