--  Hi All

I have an iv model i import it into OSg and later when i import the next iv
model  i give an MatrixTransform for which the 2nd imported model is
attached and then i attach the MatrixTransform to the previously
imported model...
but the object gets placed to the distance which i give in the
MatrixTransform in osg but when i pick the model with respect to the pick
path it gets hilighted with respect to the global co - oardinate... not on
the imported model it hilightes some where and the model is some where for
hilighiting the picked point i use bounding box calculation and render the
bounding box around the picked node....
but during the import the  MatrixTransform  is applied globally but dont get
applied to the node or group of the imported mode...
Can any one help me....

   1)step i have Sceneroot
  2) get a MatrixTransformation
   3) I import an model
   4)attach the imported model to the MatrixTransform then attach the
MatrixTransform to the Scenroot
   5)Select the node next where u want to attach the next impoted model
   6)get a MatrixTranformation
  7)repeat the 3&4 set
 finally when i pick now it gives the bounding box in the wrong
position.....not where the model is















Always
      Keep
         Smiling!

" Defeat the defeat before defeat defeats you "




Regards
Sunitha.S.Sunagad
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to