[osg-users] RE:When I drag left mouse botton I don't want to change the view position, how can I do?

2007-07-16 Thread litingbaotou
ipulator or write your own that uses different mouse/keyboard >strokes. litingbaotou 2007-07-17 ___ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/

[osg-users] Re: How to use projectWindowXYIntoObject() in OSG 2.0?

2007-07-16 Thread litingbaotou
ix() * > camera->getViewport()->computeWindowMatrix(); >Vec3 window = world * VPW; >To go from window into to world: >Matrix inverseVPW; >inverseVPW.invert(VPW); >Vec3d world = window * inverseVPW; >Robert. >On 7/13/07, litingbaotou <[EMAIL PROTECTED]> wr

[osg-users] How to use projectWindowXYIntoObject() in OSG 2.0?

2007-07-12 Thread litingbaotou
ome unproject function like projectWindowXYIntoObject(). I find osgViewer::Viewer has _sceneViews as a osgUtil::SceneView member, but I can not find and "getSceneView()" method in osgViewer::Viewer. Can someone give me a hand? Thanks. --LiTing.

[osg-users] Can I use a pickVistor or intersectVistor to pick a linesegment in my scene?

2007-06-26 Thread litingbaotou
s support for line, plane and polytope intersections" in OSG 2.0. I don't know what "support for line, plane and polytope" exactly mean, can anyone tell me the meaning? How can I pick a linesegment via these vistors? Thanks. LiT

[osg-users] Re: How can I write a node with its textures?

2007-06-12 Thread litingbaotou
To Pawan Harish & Ulrich: Thanks guys, I change to write as ive format and it's done. litingbaotou 2007-06-12 ___ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-u

[osg-users] How can I write a node with its textures?

2007-06-11 Thread litingbaotou
ant to write a node with textures, how can I do? litingbaotou 2007-06-11 ___ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/

[osg-users] new osg::Group; new osg::Group(); Are there some differences between these two method?

2007-06-06 Thread litingbaotou
when I want to allocate memory for a group, I can use: 1) osg::ref_ptr< osg::Group > myGroup = new osg::Group; 2) osg::ref_ptr< osg::Group > myGroup = new osg::Group(); Are there some differences between these two method? litingbaoto