Re: [osg-users] 3d Model Editing
Hi John, Have a look at Remo 3D (www.remograph.com) which supports import and export of most of the file formats in OpenSceneGraph. /Andreas On 2010-03-27 16:58, John Galt wrote: Hi, I need separate models of a man's body and head. Can you suggest where I can find them? Any of these file formats will do: 3dc, 3ds, flt, geo, iv, ive, lwo, md2, obj, osg. Also, does anyone know how to edit an osg model. For instance in the example cow.osg, how do I edit it so that only its head is present and the body is deleted? Thank you! Cheers, John -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=26224#26224 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- __ Andreas Ekstrand Remograph Norrbergavägen 58 SE-590 54 Sturefors SWEDEN Web: www.remograph.com E-mail: andreas.ekstr...@remograph.com Phone: +46 708 490 697 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] osgWidget WindowManager - EventInterface ?! const ?!
Hi, i want to controll my camera over a osgWidget. ive implemened the mousePush method from EvenetInterface Code: bool mousePush(double, double, const osgWidget::WindowManager* wm2) { osgWidget::WindowManager* t = const_castosgWidget::WindowManager*(wm2); double b = t-getView()-getCameraManipulator()-getDistance(); b+=2; t-getView()-getCameraManipulator()-setDistance( b ); std::cout t-getView()-getCameraManipulator()-getDistance() std::endl; return true; } no changes in camera, because osgWidget::WindowManager is const how can i access to the viewer and the camera? Cheers Matthias[/code] -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=26232#26232 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [vpb] which is the best Manipulator for a globe Earth?
Hi, ... I have try the osgGA::TerrainManipulator to manipulat a globle Earth,it does not work very well .I also tried the EarthManipulator of osgEarth,it does well to a .earth model,but it seems work fail to a vpb generated (.osga) model.Can there be a solution? Thank you! Cheers, Lv -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=26233#26233 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgViewer::GraphicsWindowWin32 cursor issue
Hello. Attached patch can solve those problems. Mikhail. Index: GraphicsWindowWin32.cpp === --- GraphicsWindowWin32.cpp (revision 11300) +++ GraphicsWindowWin32.cpp (working copy) @@ -2465,11 +2465,18 @@ break; /// -case WM_NCHITTEST : +case WM_NCMOUSEMOVE : +case WM_NCHITTEST : /// { -LONG_PTR result = _windowProcedure==0 ? ::DefWindowProc(hwnd, uMsg, wParam, lParam) : - ::CallWindowProc(_windowProcedure, hwnd, uMsg, wParam, lParam); +// WM_NCMOUSEMOVE needed because windows vista not send WM_NCHITTEST message correct +// you can see that with spy++ +LONG_PTR result; +if(uMsg == WM_NCHITTEST) +result = _windowProcedure==0 ? ::DefWindowProc(hwnd, uMsg, wParam, lParam) : + ::CallWindowProc(_windowProcedure, hwnd, uMsg, wParam, lParam); +else +result = wParam; switch(result) { @@ -2504,11 +2511,14 @@ break; default: -if (_traits-useCursor _appMouseCursor != InheritCursor) +//we must call setCursorImpl(InheritCursor) to set back +//_mouseCursor = InheritCursor which needed to correct WM_SETCURSOR handling +if (_traits-useCursor/* _appMouseCursor != InheritCursor*/) setCursorImpl(_appMouseCursor); break; } -return result; +if(uMsg == WM_NCHITTEST) +return result; } break; ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] which is the best Manipulator for a globe Earth?
Hi Lv, See my answer on the osgEarth forum, I've committed a fix to get the EarthManipulator to work with VPB databases again. Jason On Sun, Mar 28, 2010 at 1:17 PM, Lv Qing donlvq...@msn.com wrote: Hi, ... I have try the osgGA::TerrainManipulator to manipulat a globle Earth,it does not work very well .I also tried the EarthManipulator of osgEarth,it does well to a .earth model,but it seems work fail to a vpb generated (.osga) model.Can there be a solution? Thank you! Cheers, Lv -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=26233#26233 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] 2.8.3 release imminent
Hi all -- Just a note to say that I'm planning to tag the 2.8.3 release late Wednesday 31 March. I'm not seeing a lot of posts about 2.8.3 experiences, so if you've been using it, please post and let me know how it's working, good or bad. I am using it myself for many external projects, and have received offline emails about testing on various platforms. At this point I'm not aware of any show stoppers. If that continues to be the case, then I'll rename the rc2 tag as the final tag. I'll try to put together a press release as time allows. If the authors of these modules could send me a summary of the changes that have gone into 2.8.3 (I took them from trunk-head), I'd appreciate it: * FBX plugin * ply plugin * ffmpeg plugin * 3ds plugin * osgAnimation * ImageIO plugin * QuickTime plugin * Inventor plugin Thanks, -- Paul Martz Skew Matrix Software LLC _http://www.skew-matrix.com_ http://www.skew-matrix.com/ +1 303 859 9466 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org