Re: [osg-users] [build] Multi-threading crashing on start-up (2.8.3, XP, VS2008)
Hi, i detail the error... //- // // Description: set processor affinity for the thread // // Use: public // int Thread::setProcessorAffinity(unsigned int cpunum) { --- QtThreadPrivateData* pd = static_castQtThreadPrivateData*(_prvData); pd-cpunum = cpunum; if (!pd-isRunning) return 0; // FIXME: // Qt doesn't have a platform-independent thread affinity method at present. // Does it automatically configure threads on different processors, or we have to do it ourselves? return -1; } Thank you! Cheers, Michele -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=38800#38800 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgart 2.0 with osg2.9.8 video blinking
Hi, i got this problem compiling osgart with trunk of osg Microsoft (R) Windows Resource To Object Converter Version 9.00.30729.01 1Copyright (C) Microsoft Corporation. All rights reserved. 1adding resource. type:MANIFEST, name:2, language:0x0409, flags:0x30, size:2048 1VideoLayer.obj : error LNK2001: unresolved external symbol public: virtual void __thiscall osgART::Calibration::setSize(int,int) (?setSize@Calibration@osgART@@UAEXHH@Z) 1Calibration.obj : error LNK2001: unresolved external symbol public: virtual void __thiscall osgART::Calibration::setSize(int,int) (?setSize@Calibration@osgART@@UAEXHH@Z) 1Foundation.obj : error LNK2001: unresolv somebody can help me? Thank you! Cheers, Michele -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36508#36508 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] logo plugin how to use it from command line and programmatically
Dear osg-users, I am pretty new to this platform. I would like to know how to use the .logo plugin to show a semi transparent logo of my lab in a corner programmatically (using command line arguments could be useful too). As far as I have seen there is no documentation about. Thanks, michele Michele Fiorentino, DdR, Politecnico di Bari Dipartimento di Ingegneria Meccanica e Gestionale http://www-dimeg.poliba.it/ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] R: logo plugin how to use it from command line and programmatically
Thanks Magnus Kessler, if I run osgviewer with arguments (picture is a renamed png) vr3lab.logo cow.osg I get this: Warning: Could not find plugin to read objects from file ‰PNG. What's wrong? Thanks Michele Fiorentino, DdR, Professore Aggregato, Politecnico di Bari Dipartimento di Ingegneria Meccanica e Gestionale http://www-dimeg.poliba.it/ Viale Japigia 182, 70126, Bari, IT Ufficio: 0039 080 596 2800 Fax: 0039 080 596 2777 Mail: fiorent...@poliba.it Webpage Ricerca: http://www.vr3lab.it/ Webpage Didattica Bari: http://climeg.poliba.it/ Webpage Didattica Taranto: http://elearning.poliba.it/ Ai sensi del D. Lgs 196 del 30 giugno 2003 questo messaggio di posta, incluso ogni eventuale allegato, potrebbe contenere materiale riservato, di proprietà esclusiva e/o non pubblico ed è destinato soltanto alla persona o al soggetto al quale è indirizzato. E’ strettamente vietato modificare, ritrasmettere, divulgare, fare in altro modo uso del messaggio, o intraprendere qualsiasi azione sulla base delle informazioni in esso contenute, da parte di persone diverse dal destinatario.Qualora non foste il destinatario corretto, Vi preghiamo di comunicarlo immediatamente al mittente e di distruggere il presente messaggio da ogni supporto, nonché ogni stampa o copia dello stesso. -Messaggio originale- Da: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] Per conto di Magnus Kessler Inviato: giovedì 20 maggio 2010 18.28 A: OpenSceneGraph Users Oggetto: Re: [osg-users] logo plugin how to use it from command line and programmatically On Thursday 20 May 2010 17:00:55 Michele Fiorentino wrote: Dear osg-users, I am pretty new to this platform. I would like to know how to use the .logo plugin to show a semi transparent logo of my lab in a corner programmatically (using command line arguments could be useful too). As far as I have seen there is no documentation about. Hi Michele, there's an easy way to do this with osgviewer: Just load a logo AND your desired model by passing both on the command line $ osgviewer lab.logo cow.osg The viewer will happily render the logo on top of your model. Internally it uses osgDB::readNodeFiles() for this. Just make sure your logo file references an image (e.g. png file) with transparent parts. HTH, Magnus Thanks, michele --- - Michele Fiorentino, DdR, Politecnico di Bari Dipartimento di Ingegneria Meccanica e Gestionale http://www-dimeg.poliba.it/ ___ 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] R: R: logo plugin how to use it from command line and programmatically
Now it works! thanks Magnus p.s. please it's possible do document this somewhere in the code?? Thanks --- - Michele Fiorentino, DdR, Professore Aggregato, Politecnico di Bari Dipartimento di Ingegneria Meccanica e Gestionale http://www-dimeg.poliba.it/ Viale Japigia 182, 70126, Bari, IT Ufficio: 0039 080 596 2800 Fax: 0039 080 596 2777 Mail: fiorent...@poliba.it Webpage Ricerca: http://www.vr3lab.it/ Webpage Didattica Bari: http://climeg.poliba.it/ Webpage Didattica Taranto: http://elearning.poliba.it/ --- - Ai sensi del D. Lgs 196 del 30 giugno 2003 questo messaggio di posta, incluso ogni eventuale allegato, potrebbe contenere materiale riservato, di proprietà esclusiva e/o non pubblico ed è destinato soltanto alla persona o al soggetto al quale è indirizzato. E’ strettamente vietato modificare, ritrasmettere, divulgare, fare in altro modo uso del messaggio, o intraprendere qualsiasi azione sulla base delle informazioni in esso contenute, da parte di persone diverse dal destinatario.Qualora non foste il destinatario corretto, Vi preghiamo di comunicarlo immediatamente al mittente e di distruggere il presente messaggio da ogni supporto, nonché ogni stampa o copia dello stesso. -Messaggio originale- Da: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] Per conto di Magnus Kessler Inviato: giovedì 20 maggio 2010 18.28 A: OpenSceneGraph Users Oggetto: Re: [osg-users] logo plugin how to use it from command line and programmatically On Thursday 20 May 2010 17:00:55 Michele Fiorentino wrote: Dear osg-users, I am pretty new to this platform. I would like to know how to use the .logo plugin to show a semi transparent logo of my lab in a corner programmatically (using command line arguments could be useful too). As far as I have seen there is no documentation about. Hi Michele, there's an easy way to do this with osgviewer: Just load a logo AND your desired model by passing both on the command line $ osgviewer lab.logo cow.osg The viewer will happily render the logo on top of your model. Internally it uses osgDB::readNodeFiles() for this. Just make sure your logo file references an image (e.g. png file) with transparent parts. HTH, Magnus Thanks, michele - -- - Michele Fiorentino, DdR, Politecnico di Bari Dipartimento di Ingegneria Meccanica e Gestionale http://www-dimeg.poliba.it/ ___ 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 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
Re: [osg-users] [osgPlugins] WRL Plugin needed
Hi, using VS2008 on windows XP with up-to date svn osg and vrml i get this error. I succeded to compile ( I used dlls) working on C++precompiler option and libs but it will be nice to modify it in cmake for community. Unbfortuantely i am very ignorant in Cmake scripting...someone can help? Code: ReaderWriterVRML2.cpp ..l\ext_libraries\openvrml-trunk\src\libopenvrml\openvrml-config.h(35) : fatal error C1189: #error : Must define one of OPENVRML_BUILD_DLL, OPENVRML_USE_DLL, OPENVRML_BUILD_LIB, or OPENVRML_USE_LIB. ... more Thank you! Cheers, Michele[/code] -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27452#27452 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] WRL Plugin needed
Hi, you need the iv plugin which (svn sorce code speaking )is the only which implements such reader. You need coin library to compile it Actually i experienced crashes in reading simple and complex iv \wrl models which i can open easily with coin .(see post) Thank you! Cheers, Michele -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=25633#25633 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [osgPlugins] ivplugin or vrml plugin? this is the problem
Hi, ok nice to know! i was walking in the bad direction. Just using cmake it detected my coin installation and ivplugin the only available when i did a search .wrl in my solution with VSC++ , thus my response Now, should i abandon the coin ivplugin ? i was just debugging it! vrml plugin should be the mainstream? Thank you! Cheers, Michele -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=25636#25636 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] iv plugin with coin4 from svn
Hi, this is the simple model i could find.. and gives assert! the same eror from vrml and more complex files... cube.iv Code: #Inventor V2.1 ascii DEF _CUBE_SEP Separator { Cube { width 0.1 height 0.1 depth 0.1 } } Code: C:\dev\external_libs\OSG-dataosgviewerglutd cube.iv osgDB::ReaderWriterIV::readNode() Reading file cube.iv Assertion failed: unit PRIVATE(this)-unitdata.getLength(), file ..\..\src\ele ments\SoMultiTextureCoordinateElement.cpp, line 435 Thank you! Cheers, Michele -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=25611#25611 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] iv plugin with coin4 from svn
Hi, i cannot open any iv or vrml on MS VC 2008 and OSG 2 days ago svn- coin from svn (= mercurial) i got a breakpoint triggered in Code: SoCallbackAction::getNumTextureCoordinates(void) const { return SoMultiTextureCoordinateElement::getInstance(this-state)-getNum(0); } call stack : Code: msvcr90d.dll!_NMSG_WRITE(int rterrnum=10) Line 198 C msvcr90d.dll!abort() Line 59 + 0x7 bytes C msvcr90d.dll!_wassert(const wchar_t * expr=0x066a6b48, const wchar_t * filename=0x066a6ad8, unsigned int lineno=435) Line 163 C coin4d.dll!SoMultiTextureCoordinateElement::getNum(const int unit=0) Line 435 + 0x27 bytes C++ coin4d.dll!SoCallbackAction::getNumTextureCoordinates() Line 850 C++ osgdb_ivd.dll!ConvertFromInventor::postShape(void * data=0x0013ade8, SoCallbackAction * action=0x0013ac48, const SoNode * node=0x034bb648) Line 913 + 0xb bytesC++ coin4d.dll!SoCallbackData::doNodeCallbacks(SoCallbackAction * action=0x0013ac48, const SoNode * node=0x034bb648) Line 229 + 0x14 bytes C++ coin4d.dll!SoCallbackAction::invokePostCallbacks(const SoNode * const node=0x034bb648) Line 1117 + 0x28 bytes C++ coin4d.dll!SoNode::callbackS(SoAction * action=0x0013ac48, SoNode * node=0x034bb648) Line 990 C++ coin4d.dll!SoAction::traverse(SoNode * const node=0x034bb648) Line 963 + 0xd bytes C++ coin4d.dll!SoChildList::traverse(SoAction * const action=0x0013ac48, const int first=0, const int last=1) Line 337 C++ coin4d.dll!SoChildList::traverse(SoAction * const action=0x0013ac48) Line 407 C++ auto variables Code: + rterrs 0x10311048 rterrs {rterrno=2 rterrtxt=0x10201cc8 R6002 - floating point support not loaded } rterrmsgs [23] + rterrs[tblindx] {rterrno=10 rterrtxt=0x10201bd8 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. } rterrmsgs + rterrs[tblindx].rterrtxt0x10201bd8 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. char * tblindx 3 int any solution? Thank you! Cheers, Michele -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=25589#25589 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org