[osg-users] Matrix Application Problem

2009-05-18 Thread sunitha sunagad
--  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 34 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
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Binding user interface to the recording

2009-03-16 Thread sunitha sunagad
-- Hi All
 I need to know how to bind the user interface for ex i am using
Qt toolkit for the GUI and when i click the record option i internally i
need to enable the 'z' option for recording the animation...
Please let me know how to bind it or enable the osg recording option with
the user interface







 Defeat the defeat before defeat defeats you 




Regards
Sunitha.S.Sunagad
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Binding the recording

2009-03-16 Thread sunitha sunagad
-- Hi, Robert














Always
  Keep
 Smiling!

 Defeat the defeat before defeat defeats you 




Regards
Sunitha.S.Sunagad
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Binding Recording

2009-03-16 Thread sunitha sunagad
-- Hi Robert Osfield
   My problem is by enabling the z key the recording starts
and get saved in animation path file thats fine...
But i need to enable this recording with the Qt tool kit have GUI built in
Qt when i click the record symbol in the Qt GUI it should internally do the
recording function . how ? i get signal from the Qt on clicking the user
interface and in that signal i have to enable the 'z' key to start
recording...I hope u got my problem...

















Regards
Sunitha.S.Sunagad
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Regarding Camera

2009-03-02 Thread sunitha sunagad
-- Hi
how do i get the camera position and the quaternion...
the data that is getting recorded in saved_anaimation.path with out using
the record option of OSG
i mean i need
t,x,y,z,q0,q1,q2,q3 this values which get stored in saved_animation.path
file i nead it externally not using the record option of OSG
I hope u understood











 Defeat the defeat before defeat defeats you 




Regards
Sunitha.S.Sunagad
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Regarding Camera Position

2009-03-02 Thread sunitha sunagad
I just need to know how will i get the camera position and the quaternion i
need it to be recorded it
with out the help of using the record option of the OSG feature that holds
time x,y,z and quaternion
So let me know if some one know how to get the Camera Position ans
Quaternion
-- 













 Defeat the defeat before defeat defeats you 




Regards
Sunitha.S.Sunagad
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Regarding Camera Position

2009-03-01 Thread sunitha sunagad
Hi All,

I need to know the xyz and the q0,q1,q2 from the osgviewer
how can i get the x y and z position and the orientation of the
camera as i am collectin it and later i need it to play...
 as we use the saved_animation.path
where the saved_animation.path gets the data similarly i need to
collect the deatils and store it and later use it to play I need to do dis
with out the recording facility which is present in OSG
can any one tell me how do i get these details manually and use it



-- 













 Defeat the defeat before defeat defeats you 




Regards
Sunitha.S.Sunagad
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] saved_animation.path

2009-02-16 Thread sunitha sunagad
-- Can anyone tell me what are the values that are getting recorded in
saved_animation.path file after recording
I can see 8 values please let me know what are they...









Regards
Sunitha.S.Sunagad
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] (no subject)

2009-02-02 Thread sunitha sunagad
-- 
How can i get the staeset of the model i have lodeaded to the
openScenegraph
I am loading an iv file which has the state set attribute in it i need the
current state set attribute does any one know...
I am using getStateset but its returning  null.











Always
  Keep
 Smiling!

 Defeat the defeat before defeat defeats you 




Regards
Sunitha.S.Sunagad
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Do any one know

2009-02-02 Thread sunitha sunagad
-- Hi,
I am loading an iv file in Osg i need to know the StateSet of the particular
node i pick in the iv file loaded on
to the osg iv file has its Attributes in itthat is applied to the mode i
need the information from it
I am getting the picked node information and in turn i
need to know the StateSet Atrributes of the current picked node...
I am using the Pickednode-getStateSet() i get null each time
Is ther any way that i have to set the attributes ON while Loading the mode
Please Let me know

















Regards
Sunitha.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org