Sorry for the delay. I've tested the posted code and it seems to work! Thanks for your help. ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=8976#8976