[osg-users] Movies with osgviewer
Hi, I have a OSG map and now I want to add a video to a specific position. How can I do that? Thank you! Cheers, Alex -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17536#17536 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgmovie plugin missing?
Ok thank you again! Using this qt plugin am I going to hear any sound? Or just the video without any sound? Cheers, Alex -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17068#17068 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgmovie plugin missing?
Hi thanks again for the file! Now that I installed quicktime sdk, I used CMake to configure and generate, with the new quicktime links (like exposed in http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/VisualStudio/VisualStudioPlugins). Then I open the project in VisualStudio and build it. However the same error percists: Code: Warning: Could not find plugin to read objects form file "xpto.mov". Unable to read file xpto.mov Do I need to Rebuild the whole project? Thank you! Cheers, Alex -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17062#17062 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgmovie plugin missing?
Hi, thanks for your reply. I tryied to install quicktime sdk for windows how ever I has not able to download it from https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=19910 . I need to have a specific account to do it. I used the following link to get the link for quicktime sdk for window: http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/VisualStudio/VisualStudioPlugins Is there any other way to get this? Thank you! Cheers, Alex -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17059#17059 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] osgmovie plugin missing?
Hi, After compiling the osg source files I try to load a video using osgmovie (that comes inside the share\OpenSceneGraph\bin). Unfortunately, when I run osgmovie.exe xpto.mov I get the following error: Code: Warning: Could not find plugin to read objects form file "xpto.mov". Unable to read file xpto.mov Am I forgetting something? Thank you! Cheers, Alex ps: osgviewer.exe run well (testing purpose) -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16968#16968 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] Inconsistent dll linkage
Hi, Now my osgviewer.cpp is working fine. However when I add one other code the following error is: [code] -- Rebuild All started: Project: OSGDefaultProject, Configuration: Release Win32 -- Deleting intermediate and output files for project 'OSGDefaultProject', configuration 'Release|Win32' Compiling... DoomLikeManipulator.cpp .\DoomLikeManipulator.cpp(28) : warning C4273: 'osgGA::DoomLikeManipulator::DoomLikeManipulator' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(56) : see previous definition of '{ctor}' .\DoomLikeManipulator.cpp(53) : warning C4273: 'osgGA::DoomLikeManipulator::~DoomLikeManipulator' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(126) : see previous definition of '{dtor}' .\DoomLikeManipulator.cpp(57) : warning C4273: 'osgGA::DoomLikeManipulator::intersect' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(128) : see previous definition of 'intersect' .\DoomLikeManipulator.cpp(74) : warning C4273: 'osgGA::DoomLikeManipulator::setNode' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(82) : see previous definition of 'setNode' .\DoomLikeManipulator.cpp(84) : warning C4273: 'osgGA::DoomLikeManipulator::getNode' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(85) : see previous definition of 'getNode' .\DoomLikeManipulator.cpp(89) : warning C4273: 'osgGA::DoomLikeManipulator::getNode' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(88) : see previous definition of 'getNode' .\DoomLikeManipulator.cpp(95) : warning C4273: 'osgGA::DoomLikeManipulator::className' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(61) : see previous definition of 'className' .\DoomLikeManipulator.cpp(100) : warning C4273: 'osgGA::DoomLikeManipulator::setByMatrix' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(66) : see previous definition of 'setByMatrix' .\DoomLikeManipulator.cpp(113) : warning C4273: 'osgGA::DoomLikeManipulator::setByInverseMatrix' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(71) : see previous definition of 'setByInverseMatrix' .\DoomLikeManipulator.cpp(126) : warning C4273: 'osgGA::DoomLikeManipulator::getMatrix' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(74) : see previous definition of 'getMatrix' .\DoomLikeManipulator.cpp(131) : warning C4273: 'osgGA::DoomLikeManipulator::getInverseMatrix' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(77) : see previous definition of 'getInverseMatrix' .\DoomLikeManipulator.cpp(136) : warning C4273: 'osgGA::DoomLikeManipulator::computeHomePosition' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(92) : see previous definition of 'computeHomePosition' .\DoomLikeManipulator.cpp(182) : warning C4273: 'osgGA::DoomLikeManipulator::init' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(98) : see previous definition of 'init' .\DoomLikeManipulator.cpp(189) : warning C4273: 'osgGA::DoomLikeManipulator::home' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(95) : see previous definition of 'home' .\DoomLikeManipulator.cpp(197) : warning C4273: 'osgGA::DoomLikeManipulator::home' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(96) : see previous definition of 'home' .\DoomLikeManipulator.cpp(216) : warning C4273: 'osgGA::DoomLikeManipulator::handle' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(101) : see previous definition of 'handle' .\DoomLikeManipulator.cpp(264) : warning C4273: 'osgGA::DoomLikeManipulator::getUsage' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(104) : see previous definition of 'getUsage' .\DoomLikeManipulator.cpp(280) : warning C4273: 'osgGA::DoomLikeManipulator::_keyUp' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(163) : see previous definition of '_keyUp' .\DoomLikeManipulator.cpp(307) : warning C4273: 'osgGA::DoomLikeManipulator::_keyDown' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(162) : see previous definition of '_keyDown' .\DoomLikeManipulator.cpp(395) : warning C4273: 'osgGA::DoomLikeManipulator::_move' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipula
Re: [osg-users] [build] Inconsistent dll linkage
Hi thaks for your reply, You are right, it's a compile error. I tried to compile the osgviewer.cpp and I got these errors: Code: -- Build started: Project: OSGDefaultProject, Configuration: Debug Win32 -- Compiling... Main.cpp Linking... LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library Main.obj : warning LNK4217: locally defined symbol ?setst...@?$basic_ios@du?$char_tra...@d@std@@@std@@qaex...@z (public: void __thiscall std::basic_ios >::setstate(int,bool)) imported in function "class std::basic_ostream > & __cdecl std::operator<< >(class std::basic_ostream > &,char const *)" (??$?6u?$char_tra...@d@std@@@std@@yaaav?$basic_ostr...@du?$char_traits@d...@std@@@0...@aav10@p...@z) Main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream > & __thiscall std::basic_ostream >::flush(void)" (__imp_?fl...@?$basic_ostream@du?$char_tra...@d@std@@@std@@qaeaa...@xz) referenced in function "class std::basic_ostream > & __cdecl std::endl(class std::basic_ostream > &)" (?e...@std@@yaaav?$basic_ostr...@du?$char_traits@d...@std@@@1...@aav21@@Z) Main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream > & __thiscall std::basic_ostream >::put(char)" (__imp_?...@?$basic_ostream@du?$char_tra...@d@std@@@std@@qaeaa...@d@Z) referenced in function "class std::basic_ostream > & __cdecl std::endl(class std::basic_ostream > &)" (?e...@std@@yaaav?$basic_ostr...@du?$char_traits@d...@std@@@1...@aav21@@Z) Main.obj : error LNK2019: unresolved external symbol __CrtDbgReportW referenced in function "public: char const & __thiscall std::basic_string,class std::allocator >::operator[](unsigned int)const " (??a?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@std@@qbea...@z) libcpmtd.lib(stdthrow.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW libcpmtd.lib(cout.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW Main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::basic_ostream >::_Osfx(void)" (__imp_?_o...@?$basic_ostream@du?$char_tra...@d@std@@@std@@QAEXXZ) referenced in function "public: __thiscall std::basic_ostream >::sentry::~sentry(void)" (??1sen...@?$basic_ostream@du?$char_tra...@d@std@@@std@@q...@xz) Main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream > & __thiscall std::basic_ostream >::operator<<(class std::basic_ostream > & (__cdecl*)(class std::basic_ostream > &))" (__imp_??6?$basic_ostr...@du?$char_traits@d...@std@@@std@@qaeaa...@p6aaav01@AAV01@@z...@z) referenced in function _main libcpmtd.lib(xdebug.obj) : error LNK2019: unresolved external symbol __malloc_dbg referenced in function "void * __cdecl operator new(unsigned int,struct std::_DebugHeapTag_t const &,char *,int)" (?...@yapaxiabu_debugheaptag_t@std@@p...@z) libcpmtd.lib(xdebug.obj) : error LNK2019: unresolved external symbol __free_dbg referenced in function "void __cdecl operator delete(void *,struct std::_DebugHeapTag_t const &,char *,int)" (?...@yaxpaxabu_debugheaptag_t@std@@p...@z) libcpmtd.lib(_tolower.obj) : error LNK2019: unresolved external symbol __calloc_dbg referenced in function __Getctype C:\OSG\OSGDefaultProject\Debug\OSGDefaultProject.exe : fatal error LNK1120: 8 unresolved externals Build log was saved at "file://c:\OSG\OSGDefaultProject\OSGDefaultProject\Debug\BuildLog.htm" OSGDefaultProject - 11 error(s), 2 warning(s) == Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped == Any tips? Thank you! Cheers, Alex -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16887#16887 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [build] Inconsistent dll linkage
Hi, I'm trying to build my first osg project. I used the link (http://dwightdesign.com/2009/05/installing-openscenegraph-280/) to configure my system, everything went well, but I'm having some problems: [code] Compiling... Main.cpp DoomLikeManipulator.cpp .\DoomLikeManipulator.cpp(28) : warning C4273: 'osgGA::DoomLikeManipulator::DoomLikeManipulator' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(56) : see previous definition of '{ctor}' .\DoomLikeManipulator.cpp(53) : warning C4273: 'osgGA::DoomLikeManipulator::~DoomLikeManipulator' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(126) : see previous definition of '{dtor}' .\DoomLikeManipulator.cpp(57) : warning C4273: 'osgGA::DoomLikeManipulator::intersect' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(128) : see previous definition of 'intersect' .\DoomLikeManipulator.cpp(74) : warning C4273: 'osgGA::DoomLikeManipulator::setNode' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(82) : see previous definition of 'setNode' .\DoomLikeManipulator.cpp(84) : warning C4273: 'osgGA::DoomLikeManipulator::getNode' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(85) : see previous definition of 'getNode' .\DoomLikeManipulator.cpp(89) : warning C4273: 'osgGA::DoomLikeManipulator::getNode' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(88) : see previous definition of 'getNode' .\DoomLikeManipulator.cpp(95) : warning C4273: 'osgGA::DoomLikeManipulator::className' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(61) : see previous definition of 'className' .\DoomLikeManipulator.cpp(100) : warning C4273: 'osgGA::DoomLikeManipulator::setByMatrix' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(66) : see previous definition of 'setByMatrix' .\DoomLikeManipulator.cpp(113) : warning C4273: 'osgGA::DoomLikeManipulator::setByInverseMatrix' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(71) : see previous definition of 'setByInverseMatrix' .\DoomLikeManipulator.cpp(126) : warning C4273: 'osgGA::DoomLikeManipulator::getMatrix' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(74) : see previous definition of 'getMatrix' .\DoomLikeManipulator.cpp(131) : warning C4273: 'osgGA::DoomLikeManipulator::getInverseMatrix' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(77) : see previous definition of 'getInverseMatrix' .\DoomLikeManipulator.cpp(136) : warning C4273: 'osgGA::DoomLikeManipulator::computeHomePosition' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(92) : see previous definition of 'computeHomePosition' .\DoomLikeManipulator.cpp(182) : warning C4273: 'osgGA::DoomLikeManipulator::init' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(98) : see previous definition of 'init' .\DoomLikeManipulator.cpp(189) : warning C4273: 'osgGA::DoomLikeManipulator::home' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(95) : see previous definition of 'home' .\DoomLikeManipulator.cpp(197) : warning C4273: 'osgGA::DoomLikeManipulator::home' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(96) : see previous definition of 'home' .\DoomLikeManipulator.cpp(216) : warning C4273: 'osgGA::DoomLikeManipulator::handle' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(101) : see previous definition of 'handle' .\DoomLikeManipulator.cpp(264) : warning C4273: 'osgGA::DoomLikeManipulator::getUsage' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(104) : see previous definition of 'getUsage' .\DoomLikeManipulator.cpp(280) : warning C4273: 'osgGA::DoomLikeManipulator::_keyUp' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(163) : see previous definition of '_keyUp' .\DoomLikeManipulator.cpp(307) : warning C4273: 'osgGA::DoomLikeManipulator::_keyDown' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(162) : see previous definition of '_keyDown' .\DoomLikeManipulator.cpp(395) : warning C4273: 'osgGA::DoomLikeManipulator::_move' : inconsistent dll linkage c:\osg\osgdefaultproject\osgdefaultproject\DoomLikeManipulator.h(164) : see previous definition of '_move' .\DoomLikeManipulator.cpp(432) : w
Re: [osg-users] Rotate camera
Thanks for your reply! Now that I have a code that will allow me to move how can I use it inside the osgviewer.cpp? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16878#16878 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Rotate camera
Hi, I am trying to move the camera using the osgviewer. The user robertosfield already gave me the tipo to change the CameraManipulator, but I am still trying to figure out how to do that, is there any tutorial or example that I can see to help me? Where (among the source files) can I find this CameraManipulator? Sorry, but I am quite a noob in osg. Thank you! Cheers, Alex -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16826#16826 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] OSGViewer camera position and external data
Yes, you were right, there was a part missing, my mistake. There is one other thing bothering me, I think you might help: I've compiled the openscenegraph source files (I already tried the new camera position, and it's working well). But, there is one thing that i don't know how to solve. When I try to load a osg map the following message appears: Warning: Could not find plugin to read objects from file "..\pics\temp.png". How can I solve this issue? Thank you! Regards. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16810#16810 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] OSGViewer camera position and external data
I suppose that: Code: osg::Vec3 LookFrom, LookAt, Up; LookFrom = osg::Vec3(10,0,1); LookAt = osg::Vec3(10,0,1); Up = osg::Vec3(0,0,1); viewer.setHomePosition( LookFrom, LookAt, Up ); viewer.home(); will do the job. No? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16806#16806 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] OSGViewer camera position and external data
Which values should go inside brackets of setHomePosition(...) ? Any example? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16803#16803 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] OSGViewer camera position and external data
Hi, When I load a map with OSGViewer the camera is positioned very far from the map. How can I change the initial position of the camera? There is one other question, how can I use external data (gamepad, wiimote, etc..) to make movements inside my osgViewer? Thank you! Cheers, Alex -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16688#16688 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgviewer picture parcial transparency
Hi, I'm loading a osg map with osgviewer, but there are some pictures that should appear with a transparency. How can I make it work? The picture was already used in other osg applications and it was showing the appropriate transparency. The image is this: [Image: http://i26.tinypic.com/2wnbdix.png ] And it is used in: [Image: http://i30.tinypic.com/nv1t2v.jpg ] Thank you! Cheers, Alex[/img] -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=15783#15783 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org