Re: [osg-users] draw a 3D pipe

2010-12-23 Thread tang qingyuan
hi lucie, I had tied to use osgModeling to draw a curve 3D pipe. You can use Loft with a self-defined function callback of making cycle profile. this way works ok in most times, but when coordinations is very large ,but the distance is very little( some times occur in geocentric

[osg-users] Fwd: VTP with osgGA::TrackballManipulator()

2010-06-24 Thread tang qingyuan
Hello, I want to use osg Camera Manipulators in VTP. now ,when I add models like cow.osg to wxEnviro-OSG with osgGA::TrackballManipulator() ,It looks OK. But when I Import VTP data, I find that I can not zoom in/out the scene with right mouse button,while rotate the scene is ok with Left

Re: [osg-users] VTP with osgGA::TrackballManipulator()

2010-06-24 Thread tang qingyuan
I have solve this problem myself。 this is because I did not deal the VTP event response and OSG event response Appropriately. thank you all the same。 在 2010年6月25日 上午11:14,tang qingyuan tang...@gmail.com写道: Hello, I want to use osg Camera Manipulators in VTP. now ,when I add models