Re: [osg-users] [osgPlugins] GoogleMode
I tried your suggestion, osgconv -o GoogleMode [model 1.flt] [model 2 .dae]. Didn't work. All osg did was post up the list of all the available options OSG_DATABASE_PAGER_PRIORITY mode etc etc etc. Is it safe to assume that GoogleMode is not available? http://www.openscenegraph.org/projects/osg/wiki/Support/KnowledgeBase/Collada Under the collada reader/writer option, GoogleMode is there. How would I be able to access it? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=14654#14654 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] GoogleMode
You want capital o, O, as in: 'osgconv -O GoogleMode' to set the options string It worked! But...it didn't work at the same time. Two problems arise with this new success. 1. The model itself loses all of it's textures, leaving it a blank white series of shapes. 2. Every attempt I make at submitting this new model ends in failure. Google gives me a Server Error: The server encountered an error and could not complete your request. Please try again soon. This doesn't change when I change browsers ether. I think it may be a security issue, and that I should change the webpage to trusted...or something like that. I haven't looked into the idea past that though. I will soon. Has anyone encountered this problem before? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=14663#14663 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [osgPlugins] GoogleMode
I think a possible solution to this is osgconv -o googlemode [model 1.flt] [model 2 .dae]. Is this valid? I think this might be the solution. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=14625#14625 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] OSG Collada Bug
Hey, I think i'm using OSG version 2.9.2. Not 100 percent sure though. http://www.openscenegraph.org/projects/ ... se/Collada Under option strings for collada, there appears to be a GoogleMode for the collada writer. It apparently makes objects suitable for use in Google. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=14456#14456 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [osgPlugins] OSG Collada Bug
Hi, I'm importing models from openflight to collada using OSG. After install using these directions http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/MingwColladaEclipse Everything seemed to have worked fine, until I ran the Coherency Test on one of the models exported. It failed across the board. I also tried to upload the model onto Google's 3D warehouse, but it appears to be using the wrong schema. Upon closer inspection, it seems that OSG has a bug in it's collada exporter: - All the arrays names ...texcoord_0 are boggus. They all contain Zero elements. - All the geometry seem to want to have 2 texcoord per vertex (texcoord_0 and texcoord_1) but only the texcoord_1 is valid. Materials all reference the texcoord_0, I did not see any reference to texcoord_1 in the file. Is there a fix to this problem? or do I have to correct every model manually? It seems that I can't upload any dae files, so i uploaded it online: http://rapidshare.com/files/244289716/smp_schafer6.dae Thank you! Cheers, Adam -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=14055#14055 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] Unreckognized Commands
I recently downloaded Openscenegraph 2.9.2. But there seemed to be an issue with the Collada-dom 2.2: ..\..\..\..\collada-dom\dom\build\vc9-1.5\libcollada15dom21.dll : fatal error LNK1107: invalid or corrupt file: cannot read at 0x2F8 It doesn't seem to like the dynamic library for some reason. Any suggestions? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=9748#9748 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] Unreckognized Commands
So, I realized I just had a few linking problems. But that was all remedied. Now windows can find osgviewer and the rest...but my main problem comes when I use osgconv. It says that it cannot find libcollada15dom21.dll. Now here's the thing: I made sure to link it to my dynamic library. Both the release and debug versions are linked. Everything was built in both release and debug mode with no problems, so I can't figure out what's going on here. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=9475#9475 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] Collada Commands
rogerjames99 wrote: Adam Wise wrote: rogerjames99 wrote: Adam Wise wrote: I set osg_notify_level to debug, and I recieved this when I ran osgconv. I honestly have no idea what this means, but at least it finds something. GraphicsContext::setWindowingSystemInterface() 03571930 003D9198 Also, the collada plugin was built as far as I can tell. I attached the release log. Everything was located in:C:OpenSceneGraph-2.8.0buildsrcosgPluginsdaeosgdb_dae.dirRelease. Does that mean I made a mistake in setting things up? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=9154#9154 (http://forum.openscenegraph.org/viewtopic.php?p=9154#9154) (http://forum.openscenegraph.org/viewtopic.php?p=9154#9154 (http://forum.openscenegraph.org/viewtopic.php?p=9154#9154)) ___ osg-users mailing list () http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org) (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org)) Did you remember to run the INSTALL target as I mentioned in my last message. Remember OSG cannot find plugins from the bin (build) directory, you need to run the INSTALL target (in both Release and Debug mode) as admiminstrator if you are on Vista. This will probably copy them into the right place under /Program Files/OpenSceneGraph. Another point..If OSG cannot find ANY of the plugins then try setting the environment variable OSG_LIBRARY_PATH to C:Program FilesOpenSceneGraphlib or wherever the INSTALL target is putting the main osg libraries Roger -- Post generated by Mail2Forum Ok. just to make sure, the INSTALL target is in the solution explorer (that's in Visual studio) of the OpenSceneGraph.sln? Yes Also, to install both debug and release you simply go into properties (of the install target) and change the configuration to debug/release? No, I think that just changes the particular set of build properties you are looking at. You normally select the solution configuration to build by using the solution configuration drop down list in the standard toolbar. I'm trying to make sure that the osg library path is found by using sysedit. I normally use the Environment Variable editor on (My) Computer...Properties..Advanced. Roger -- Post generated by Mail2Forum A unique little issue comes up when I build with release, visual studio C++ prompts me for an executable for debug session. What should I select? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=9457#9457 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] Collada Commands
rogerjames99 wrote: Adam Wise wrote: I set osg_notify_level to debug, and I recieved this when I ran osgconv. I honestly have no idea what this means, but at least it finds something. GraphicsContext::setWindowingSystemInterface() 03571930 003D9198 Also, the collada plugin was built as far as I can tell. I attached the release log. Everything was located in:C:OpenSceneGraph-2.8.0buildsrcosgPluginsdaeosgdb_dae.dirRelease. Does that mean I made a mistake in setting things up? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=9154#9154 (http://forum.openscenegraph.org/viewtopic.php?p=9154#9154) ___ osg-users mailing list () http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org) Did you remember to run the INSTALL target as I mentioned in my last message. Remember OSG cannot find plugins from the bin (build) directory, you need to run the INSTALL target (in both Release and Debug mode) as admiminstrator if you are on Vista. This will probably copy them into the right place under /Program Files/OpenSceneGraph. Another point..If OSG cannot find ANY of the plugins then try setting the environment variable OSG_LIBRARY_PATH to C:Program FilesOpenSceneGraphlib or wherever the INSTALL target is putting the main osg libraries Roger -- Post generated by Mail2Forum Ok. just to make sure, the INSTALL target is in the solution explorer (that's in Visual studio) of the OpenSceneGraph.sln? Also, to install both debug and release you simply go into properties (of the install target) and change the configuration to debug/release? I'm trying to make sure that the osg library path is found by using sysedit. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=9436#9436 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] Collada Commands
I set osg_notify_level to debug, and I recieved this when I ran osgconv. I honestly have no idea what this means, but at least it finds something. GraphicsContext::setWindowingSystemInterface() 03571930 003D9198 Also, the collada plugin was built as far as I can tell. I attached the release log. Everything was located in:C:\OpenSceneGraph-2.8.0\build\src\osgPlugins\dae\osgdb_dae.dir\Release. Does that mean I made a mistake in setting things up? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=9154#9154 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] Unreckognized Commands
Another problem. I changed the path variables for osg. I made sure that everything links where it should. A copy of the executables are at C:\OpenSceneGraph-2.8.0\bin. I made sure to place that as a path at that location, but both osgviewer and osgconv crash when I use them. Cmake has everything it needs. Should I do a clean rebuild? maybe that will work? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=8892#8892 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] Unreckognized Commands
So, I went back to cmake and I realized that I didn't have a dynamic or static library assigned. So I assigned the file libcollada15dom21.lib to the COLLADA_DYNAMIC_LIBRARY variable. Everything compiled fine. But when I went to use osgconv, it tells me that it couldn't find the file libcollada15dom21.dll. So obviously, I assigned the wrong file in cmake. Earlier on, I assigned a different file for the dynamic library: libcollada15dom21-d.dll But VS C++ 08 didn't even let it compile. So I think I only have one option left: libcollada15dom21.dll. Finding that file, and assigning it to the COLLADA_DYNAMIC_LIBRARY. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=8817#8817 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [osgPlugins] Collada Commands
This might be the wrong place to post this...but I have a simple question: how would I import an Openflight (.flt) file, and EXPORT it as a Collada (.dae) file? I downloaded the COLLADA-dom...and I know my collada viewer is working...but where would I go after that? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=8579#8579 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] Collada Commands
Robert Osfield wrote: Hi Adam, On Tue, Mar 17, 2009 at 8:36 AM, Adam Wise wrote: This might be the wrong place to post this...but I have a simple question: how would I import an Openflight (.flt) file, and EXPORT it as a Collada (.dae) file? I downloaded the COLLADA-dom...and I know my collada viewer is working...but where would I go after that? On the command line: osgconv original.flt new.dae Programatically: #include osgDB/ReadFile #include osgDB/WriteFile { ... osg::ref_ptrosg::Node node = osgDB::readNodeFile(original.flt); if (node.valid()) osgDB::writeNodeFile(*node, new.dae); } Robert. -- Post generated by Mail2Forum Question: exactly what does this mean? Warning: Could not find plugin to write nodes to file new.dae -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=8634#8634 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] Collada Commands
Robert Osfield wrote: On Tue, Mar 17, 2009 at 4:35 PM, Adam Wise wrote: Question: exactly what does this mean? Warning: Could not find plugin to write nodes to file new.dae What is means is that it's warning your that it couldn't find the plugin to write the nodes to the file new.dae. But then... that's exactly what it says. I don't know what more to add. Perhaps you should try asking a different questions... such as WHY it's not able to find a plugin to write the nodes to the file new.dae If you are asking this question then ask the question have you compiled and installed the dae plugin? Robert. -- Post generated by Mail2Forum That's what I meant...why is it not able to find the plugin? As far as I know, I BUILT the collada package, and viewer in windows. I followed the instructions in the read me. As far as installing it, there were no explicit instructions as to how to do that. Should I create a path to something? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=8637#8637 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] Collada Commands
rogerjames99 wrote: Adam Wise wrote: Robert Osfield wrote: On Tue, Mar 17, 2009 at 4:35 PM, Adam Wise wrote: Question: exactly what does this mean? Warning: Could not find plugin to write nodes to file new.dae What is means is that it's warning your that it couldn't find the plugin to write the nodes to the file new.dae. But then... that's exactly what it says. I don't know what more to add. Perhaps you should try asking a different questions... such as WHY it's not able to find a plugin to write the nodes to the file new.dae If you are asking this question then ask the question have you compiled and installed the dae plugin? Robert. -- Post generated by Mail2Forum That's what I meant...why is it not able to find the plugin? As far as I know, I BUILT the collada package, and viewer in windows. I followed the instructions in the read me. As far as installing it, there were no explicit instructions as to how to do that. Should I create a path to something? A fairly fundamental check is to see if you have a file osgdb_dae.[dll|so] in the directory where all your other OSG plugins are located. On a recent windows install this will probably be c:Program FilesOpenSceneGraphbinosgPlugins-2.8.0. If you have not, then you have not built the OSG Collada plugin. The OSG Collada plugin is built as part of the OSG build, it is not part of the Collada DOM library build. Roger -- Post generated by Mail2Forum DynamicLibrary::failed loading osgPlugins-2.8.0/osgdb_daed.dll Warning: Could not find plugin to write nodes to file new.dae. So it's likely that I didn't build the OSG collada plugin. The closest thing I could find to that plugin was osgdb_daed.dll.embed.manifest. Which was located in C:\OpenSceneGraph-2.8.0\build\src\osgPlugins\dae\osgdb_dae.dir\Debug. It was well hidden for the most part. So, just to clarify, using visual studio 2008, how would I build the collada dom library? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=8662#8662 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [build] Unreckognized Commands
I am currently using Windows XP, with Visual C++ 2008 Express edition. Following the tutorials as best as I could, I Compiled and installed OSG using Cmake 2.6. Everything Compiled, and I installed OSG (from Visual C++). I then went to Autoexec (using sysedit and command line) and set my paths. But here is my problem = command line does not recognize any of the osg commands. The message I receive is as follows: 'osgviewer' is not recognized as an interal or external command, operable program or batch file. I'm stumped right now, I just can't figure out what's going on. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=8503#8503 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] Unreckognized Commands
I went to the directory where everything was built, and indeed I found the executables and ran them in command line. But here's the new problem: it cannot find the OpenSceneGraph-Data-2.8.0 folder. I'm trying to run the osgviewer cow.osg example...but that doesn't seem like a possibility right now. I want to set everything up where my data can be easily found. Also, Osgviewer...is actually Osgviewerd. What's the difference between the two? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=8505#8505 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] Unreckognized Commands
Good and bad news: The good: I can access osgviewer. The bad: It crashes every time I try to use it. The message I receive is: osgviewer.exe has encountered a problem and needs to close, We are sorry for the inconvenience. That message is oddly ambiguous...and it happens every time. What should I do? GordonTomlinson wrote: The D on the end of the name of an EXE or DLL in OSG means you're using the debug version of the code, rather than the release version which does not typically have a D at the end You need to set the environment variable OSGDATA to the location where you installed the Osg data package I would recommend you change the environment variable in your system settings, as opposed to the autoexec.bat , you can change that through control panel-system-advanced-environment variables and edit the PATH entries Note when you change environment variables you will have to close all instance of Visual studio or other programs that use them as they will not pick up any changes until you do, __ Gordon Tomlinson IM: www.vis-sim.com www.gordontomlinson.com __ -Original Message- From: [mailto:] On Behalf Of Adam Wise Sent: Sunday, March 15, 2009 7:16 PM To: Subject: Re: [build] Unreckognized Commands I went to the directory where everything was built, and indeed I found the executables and ran them in command line. But here's the new problem: it cannot find the OpenSceneGraph-Data-2.8.0 folder. I'm trying to run the osgviewer cow.osg example...but that doesn't seem like a possibility right now. I want to set everything up where my data can be easily found. Also, Osgviewer...is actually Osgviewerd. What's the difference between the two? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=8505#8505 ___ osg-users mailing list http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Post generated by Mail2Forum -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=8508#8508 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org