Re: [osg-users] Hello and a Couple Quick Getting Started Questions
Jan Ciger wrote: On Mon, Apr 13, 2015 at 11:00 AM, Robert Osfield On the other hand, if your goal is a realtime application with relatively lightweight UI using custom graphics elements that is being rendered by the 3D engine itself, such as a simulator or a game, then it is better to use specialized middleware but there are tools like Coherent UI, Scaleform, libRocket, etc. Regards, Jan -- Post generated by Mail2Forum I do indeed wish to create an application with custom graphics elements as you describe, I'll take a look at these middleware components as well. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=63370#63370 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello and a Couple Quick Getting Started Questions
robertosfield wrote: On 12 April 2015 at 14:52, Jacob Moen There is the osgviewerWX example that illustrates how to integrate OSG with wxWidgets. As a general advice, unless you actually need dialog boxes in your applicaiton I would recommend that you stay away from the complexities that Qt, WxWidgets etc. introduce. If you are writing a pure 3D graphics application like a simulator or game you are far better off just using the OSG's native osgViewer's windowing functionality. osgViewer is fully threaded, something that cannot be said of Qt etc, where threading is a messy after thought. Robert. -- Post generated by Mail2Forum I like this advice.. Thank you very much. I'll stay with osgViewer then!! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=63369#63369 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello and a Couple Quick Getting Started Questions
On 12 April 2015 at 14:52, Jacob Moen jacmoe...@gmail.com wrote: I forgot one thing: It looks like Qt and OSG is really good friends (which is great because I personally love Qt!) osgQt is part of the core, however I would be surprised to learn that there isn't at least one integration for wxWidgets out there. ;) There is the osgviewerWX example that illustrates how to integrate OSG with wxWidgets. As a general advice, unless you actually need dialog boxes in your applicaiton I would recommend that you stay away from the complexities that Qt, WxWidgets etc. introduce. If you are writing a pure 3D graphics application like a simulator or game you are far better off just using the OSG's native osgViewer's windowing functionality. osgViewer is fully threaded, something that cannot be said of Qt etc, where threading is a messy after thought. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello and a Couple Quick Getting Started Questions
On Mon, Apr 13, 2015 at 11:00 AM, Robert Osfield robert.osfi...@gmail.com wrote: ... osgViewer is fully threaded, something that cannot be said of Qt etc, where threading is a messy after thought. That is perhaps a bit harsh. In general, there is no problem with threading in Qt at all and there is a fairly decent threading library included with it. However, you need to be aware that the GUI library itself is not thread safe (pretty much no GUI libraries are) and if you wish to integrate an external library with Qt, it needs to respect that. Normally you should practically never need to use threads to drive the UI, so that shouldn't be an issue in 99.5% of the cases. The rest is covered by various tools provided by the library, such as asynchronous tasks, networking in the background, etc. I have done a lot of integration of both OSG and Ogre3D with Qt for my work and I have worked with wxWidgets in the past as well. I think the far larger problem with Qt (and also wxWidgets and other big framework type UI libraries) is that these are not really GUI libraries but complete application frameworks. Their programming model is very different from what OSG or simulator/game programmers assume and one can't just cherrypick bits and pieces needed by the application. It is an all or nothing proposition - either you design you application following the design principles of hte framework and then everything works like magic, or you don't and then you can't really use it. These frameworks are all event driven (no busy main loop, application is sitting idle waiting for input instead!), expect to have full control of the top level application event loop (weird things happen if this isn't the case) and often they expect to fully manage OpenGL state too if you are using the provided OpenGL support. These impedance mismatches make things difficult when two libraries with such assumptions meet in a single application. Generally speaking, Qt, wxWidgets and similar are great if you are building an UI-centric desktop application, using standard UI elements and an embedded OpenGL/OSG window. Especially the Qt Designer is very hard to beat when it comes to quickly building the application interfaces. A typical application using this could be perhaps something like a CAD program, mesh visualizer/editor or something like Google Earth (uses Qt). On the other hand, if your goal is a realtime application with relatively lightweight UI using custom graphics elements that is being rendered by the 3D engine itself, such as a simulator or a game, then it is better to use specialized middleware. CEGUI is rather primitive, but there are tools like Coherent UI, Scaleform, libRocket, etc. We have tried to use Qt and its new QML system to render a GUI *inside* of an OSG application (render QML to texture and display using OSG) and while it is possible, it requires a lot of non-trivial hacks because the library is simply not written with such use case in mind at all. I certainly don't recommend this approach. Regards, Jan ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello and a Couple Quick Getting Started Questions
I forgot one thing: It looks like Qt and OSG is really good friends (which is great because I personally love Qt!) osgQt is part of the core, however I would be surprised to learn that there isn't at least one integration for wxWidgets out there. ;) Cheers, Jacob -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=63346#63346 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Hello and a Couple Quick Getting Started Questions
Hi All, Thanks for the help getting going yesterday. I thought I'd take a quick second to introduce myself. Years back I used Ogre3D on an RD effort at work, to build a pluggable application that was google earth-like. In this context I also used a widget system called CEGUI Crazy Eddies Gui - which was quite flexible. I was able to build a fair number of graphical plugins and after 2 years of development had a fairly robust application. I'm jumping back into 3D graphics and decided to take a different road. I'm looking forward to learning OSG. Very glad to hear that the community is still quite active. I would like to poll you on some quick questions: 1] Can someone please point me to the best tutorial for creating a first application. 2] Can someone please point me to the best tutorial for loading Blender models. 3] Can someone recommend a widget system. Is WxWidgets the most commonly used widget system? Cheers, Dave -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=63343#63343 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello and a Couple Quick Getting Started Questions
I am still trying to get my feet wet in the waters of OSG, but you definitely want to check out OSGRecipes: https://github.com/xarray/osgRecipes The 'integrations' directory is a true godsend! However, you can find the old friend CEGUI in the source for chapter 9: https://github.com/xarray/osgRecipes/tree/master/cookbook/chapter9/ch09_04 If you are really interested in OSG, then I guess it wouldn't be a bad idea to get the book itself. :) It is awesome that the author decided to put the code up on Github. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=63344#63344 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello and a Couple Quick Getting Started Questions
Thank you! Good advice on all counts. I'm on it. :) Cheers, Dave -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=63345#63345 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello and a Couple Quick Getting Started Questions
jacmoe wrote: I am still trying to get my feet wet in the waters of OSG, but you definitely want to check out OSGRecipes: https://github.com/xarray/osgRecipes The 'integrations' directory is a true godsend! However, you can find the old friend CEGUI in the source for chapter 9: https://github.com/xarray/osgRecipes/tree/master/cookbook/chapter9/ch09_04 If you are really interested in OSG, then I guess it wouldn't be a bad idea to get the book itself. :) It is awesome that the author decided to put the code up on Github. In case anyone is interested the osgRecipes seem to need this data (though not called out in the readme (https://github.com/xarray/osgRecipes/blob/master/README)): https://github.com/openscenegraph/osg-data -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=63348#63348 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello and a Couple Quick Getting Started Questions
Hi, I've built 75 of the 78 cookbooks/integrations: 3 failed for reasons that I'll investigate later. I'd like to jump right in to running the samples in the debugger. I'm not a cmake expert, and I'm hoping there is a simple way in cmake or in the osgRecipe solution that it created to point the full set of cookbooks and integrations to the runtime libraries. The OSG runtime libraries are installed in C:\Program Files (x86)\OpenSceneGraph\lib, and the includes are installed in C:\Program Files (x86)\OpenSceneGraph\include. I specified the following two cmake tags to point to these locations: OPENSCENEGRAPH_LIB_DIR OPENSCENEGRAPH_INCLUDE_DIR This resulted in a largely successful build (except for the 3 menioned above). I would have thought it would also suffice in order to then select a project and debug the instance. However when I try to do this, the debugger fails to find key DLL's (example osg100-osgd.dll). I know that I can begin to edit each project in visual studio in order to point the project to the runtime libraries. However I'd like to do this solution wide and preferably through cmake. Do you know offhand if there is a cmake option that will do this? Cheers, Dave -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=63347#63347 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Hello Robert OSGERS all, OSG DEMOS SITE is not a trojan!
Hello Robert OSGERS all,OSG DEMOS SITE is not a trojan!!! This is a gift for you and the whole osg community,yeah,I not know much about osg,but i know how to burn out a beautiful and cool osg demos in many aspects,tonight i wantn't to say anything before you get the contents of OSGWARES 1.0 Betas,when you get her,then you really know everything is reality,and not virtual reality,even osg is more suitable for VR:) Before Robert head off for a weeks holiday can get and know the final result,so you can own a more happy holiday! cheers Learned osg five months ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello Robert OSGERS all, OSG DEMOS SITE is not a trojan!
might be good if you introduce yourself, name etc ... Cheers, Nick On Thu, Jun 26, 2014 at 3:00 PM, LearningOSG LearningOSG learning...@gmail.com wrote: Hello Robert OSGERS all,OSG DEMOS SITE is not a trojan!!! This is a gift for you and the whole osg community,yeah,I not know much about osg,but i know how to burn out a beautiful and cool osg demos in many aspects,tonight i wantn't to say anything before you get the contents of OSGWARES 1.0 Betas,when you get her,then you really know everything is reality,and not virtual reality,even osg is more suitable for VR:) Before Robert head off for a weeks holiday can get and know the final result,so you can own a more happy holiday! cheers Learned osg five months ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- trajce nikolov nick ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello Robert OSGERS all, OSG DEMOS SITE is not a trojan!
hello trajce.nikolov.nick, The informations already displayed in the demo video's window top title or the .exe's windows top title,and my skype have more detailed informations,no hacker will learned osg first then make a trojan to ..becuase all the osg codes is open source,needn't to do that. cheers Learned osg five months 2014-06-26 21:08 GMT+08:00 Trajce Nikolov NICK trajce.nikolov.n...@gmail.com: might be good if you introduce yourself, name etc ... Cheers, Nick On Thu, Jun 26, 2014 at 3:00 PM, LearningOSG LearningOSG learning...@gmail.com wrote: Hello Robert OSGERS all,OSG DEMOS SITE is not a trojan!!! This is a gift for you and the whole osg community,yeah,I not know much about osg,but i know how to burn out a beautiful and cool osg demos in many aspects,tonight i wantn't to say anything before you get the contents of OSGWARES 1.0 Betas,when you get her,then you really know everything is reality,and not virtual reality,even osg is more suitable for VR:) Before Robert head off for a weeks holiday can get and know the final result,so you can own a more happy holiday! cheers Learned osg five months ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- trajce nikolov nick ___ 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] Hello Robert OSGERS all, OSG DEMOS SITE is not a trojan!
This is an open source community. Just run my exe and you will understand everything doesn't really fly here. It smacks of malware, and your evasiveness has done nothing to assuage people's suspicions -- only heighten them. I wouldn't click on your site if you paid me. On Thu, Jun 26, 2014 at 7:19 AM, LearningOSG LearningOSG learning...@gmail.com wrote: hello trajce.nikolov.nick, The informations already displayed in the demo video's window top title or the .exe's windows top title,and my skype have more detailed informations,no hacker will learned osg first then make a trojan to ..becuase all the osg codes is open source,needn't to do that. cheers Learned osg five months 2014-06-26 21:08 GMT+08:00 Trajce Nikolov NICK trajce.nikolov.n...@gmail.com: might be good if you introduce yourself, name etc ... Cheers, Nick On Thu, Jun 26, 2014 at 3:00 PM, LearningOSG LearningOSG learning...@gmail.com wrote: Hello Robert OSGERS all,OSG DEMOS SITE is not a trojan!!! This is a gift for you and the whole osg community,yeah,I not know much about osg,but i know how to burn out a beautiful and cool osg demos in many aspects,tonight i wantn't to say anything before you get the contents of OSGWARES 1.0 Betas,when you get her,then you really know everything is reality,and not virtual reality,even osg is more suitable for VR:) Before Robert head off for a weeks holiday can get and know the final result,so you can own a more happy holiday! cheers Learned osg five months ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- trajce nikolov nick ___ 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 -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Training • Consulting • Contracting 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL Digital Imaging • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android @alphapixel https://twitter.com/alphapixel facebook.com/alphapixel (775) 623-PIXL [7495] ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello Robert OSGERS all, OSG DEMOS SITE is not a trojan!
hi Chris Hanson, I think you have some misunstanding: 1.Not mentioned you must run and click the osg demos sites's .exe,this is a release of OSGWARES 1.0 Beta,and you never tried her until now. 2.If you and other osg users think the demos is valuable,all can get the codes. 3.osg is a very open community,why forbiden another and also valuable manners cheers Learned osg five months 2014-06-26 22:20 GMT+08:00 Chris Hanson xe...@alphapixel.com: This is an open source community. Just run my exe and you will understand everything doesn't really fly here. It smacks of malware, and your evasiveness has done nothing to assuage people's suspicions -- only heighten them. I wouldn't click on your site if you paid me. On Thu, Jun 26, 2014 at 7:19 AM, LearningOSG LearningOSG learning...@gmail.com wrote: hello trajce.nikolov.nick, The informations already displayed in the demo video's window top title or the .exe's windows top title,and my skype have more detailed informations,no hacker will learned osg first then make a trojan to ..becuase all the osg codes is open source,needn't to do that. cheers Learned osg five months 2014-06-26 21:08 GMT+08:00 Trajce Nikolov NICK trajce.nikolov.n...@gmail.com: might be good if you introduce yourself, name etc ... Cheers, Nick On Thu, Jun 26, 2014 at 3:00 PM, LearningOSG LearningOSG learning...@gmail.com wrote: Hello Robert OSGERS all,OSG DEMOS SITE is not a trojan!!! This is a gift for you and the whole osg community,yeah,I not know much about osg,but i know how to burn out a beautiful and cool osg demos in many aspects,tonight i wantn't to say anything before you get the contents of OSGWARES 1.0 Betas,when you get her,then you really know everything is reality,and not virtual reality,even osg is more suitable for VR:) Before Robert head off for a weeks holiday can get and know the final result,so you can own a more happy holiday! cheers Learned osg five months ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- trajce nikolov nick ___ 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 -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Training • Consulting • Contracting 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL Digital Imaging • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android @alphapixel https://twitter.com/alphapixel facebook.com/alphapixel (775) 623-PIXL [7495] ___ 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] Hello Robert OSGERS all, OSG DEMOS SITE is not a trojan!
Can you just provide your name without further explanations? :D 2014-06-26 21:34 GMT+07:00 LearningOSG LearningOSG learning...@gmail.com: hi Chris Hanson, I think you have some misunstanding: 1.Not mentioned you must run and click the osg demos sites's .exe,this is a release of OSGWARES 1.0 Beta,and you never tried her until now. 2.If you and other osg users think the demos is valuable,all can get the codes. 3.osg is a very open community,why forbiden another and also valuable manners cheers Learned osg five months 2014-06-26 22:20 GMT+08:00 Chris Hanson xe...@alphapixel.com: This is an open source community. Just run my exe and you will understand everything doesn't really fly here. It smacks of malware, and your evasiveness has done nothing to assuage people's suspicions -- only heighten them. I wouldn't click on your site if you paid me. On Thu, Jun 26, 2014 at 7:19 AM, LearningOSG LearningOSG learning...@gmail.com wrote: hello trajce.nikolov.nick, The informations already displayed in the demo video's window top title or the .exe's windows top title,and my skype have more detailed informations,no hacker will learned osg first then make a trojan to ..becuase all the osg codes is open source,needn't to do that. cheers Learned osg five months 2014-06-26 21:08 GMT+08:00 Trajce Nikolov NICK trajce.nikolov.n...@gmail.com: might be good if you introduce yourself, name etc ... Cheers, Nick On Thu, Jun 26, 2014 at 3:00 PM, LearningOSG LearningOSG learning...@gmail.com wrote: Hello Robert OSGERS all,OSG DEMOS SITE is not a trojan!!! This is a gift for you and the whole osg community,yeah,I not know much about osg,but i know how to burn out a beautiful and cool osg demos in many aspects,tonight i wantn't to say anything before you get the contents of OSGWARES 1.0 Betas,when you get her,then you really know everything is reality,and not virtual reality,even osg is more suitable for VR:) Before Robert head off for a weeks holiday can get and know the final result,so you can own a more happy holiday! cheers Learned osg five months ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- trajce nikolov nick ___ 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 -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Training • Consulting • Contracting 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL Digital Imaging • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android @alphapixel https://twitter.com/alphapixel facebook.com/alphapixel (775) 623-PIXL [7495] ___ 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] Hello Robert OSGERS all, OSG DEMOS SITE is not a trojan!
Not want to say more,all is realty,and currently this is only osg programming related things,no related with money and other things,thank you all! 2014-06-26 23:06 GMT+08:00 michael kapelko korn...@gmail.com: Can you just provide your name without further explanations? :D 2014-06-26 21:34 GMT+07:00 LearningOSG LearningOSG learning...@gmail.com : hi Chris Hanson, I think you have some misunstanding: 1.Not mentioned you must run and click the osg demos sites's .exe,this is a release of OSGWARES 1.0 Beta,and you never tried her until now. 2.If you and other osg users think the demos is valuable,all can get the codes. 3.osg is a very open community,why forbiden another and also valuable manners cheers Learned osg five months 2014-06-26 22:20 GMT+08:00 Chris Hanson xe...@alphapixel.com: This is an open source community. Just run my exe and you will understand everything doesn't really fly here. It smacks of malware, and your evasiveness has done nothing to assuage people's suspicions -- only heighten them. I wouldn't click on your site if you paid me. On Thu, Jun 26, 2014 at 7:19 AM, LearningOSG LearningOSG learning...@gmail.com wrote: hello trajce.nikolov.nick, The informations already displayed in the demo video's window top title or the .exe's windows top title,and my skype have more detailed informations,no hacker will learned osg first then make a trojan to ..becuase all the osg codes is open source,needn't to do that. cheers Learned osg five months 2014-06-26 21:08 GMT+08:00 Trajce Nikolov NICK trajce.nikolov.n...@gmail.com: might be good if you introduce yourself, name etc ... Cheers, Nick On Thu, Jun 26, 2014 at 3:00 PM, LearningOSG LearningOSG learning...@gmail.com wrote: Hello Robert OSGERS all,OSG DEMOS SITE is not a trojan!!! This is a gift for you and the whole osg community,yeah,I not know much about osg,but i know how to burn out a beautiful and cool osg demos in many aspects,tonight i wantn't to say anything before you get the contents of OSGWARES 1.0 Betas,when you get her,then you really know everything is reality,and not virtual reality,even osg is more suitable for VR:) Before Robert head off for a weeks holiday can get and know the final result,so you can own a more happy holiday! cheers Learned osg five months ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- trajce nikolov nick ___ 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 -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Training • Consulting • Contracting 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL Digital Imaging • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android @alphapixel https://twitter.com/alphapixel facebook.com/alphapixel (775) 623-PIXL [7495] ___ 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] Hello Robert OSGERS all, OSG DEMOS SITE is not a trojan!
On 26 June 2014 16:14, LearningOSG LearningOSG learning...@gmail.com wrote: Not want to say more,all is realty,and currently this is only osg programming related things,no related with money and other things,thank you all! From everything you have written on this list and the nature of the site and content you have linked to looks suspicious. You have written nothing to allay those fears. The only thing in your defence has been the lack of sophistication that you have gone about your actions. FYI, I never use Windows - not for well over a decade. I almost never run 3rd party binaries, the only time I do is when they come from a trusted source. I wouldn't ever take the OSG near Direct3D as it's not portable, the OSG is at is core a portable API. Hacking the OSG to support Direct3D would be a MASSIVE undertaking and would fundamentally undermine the design and implementation elegance of the OSG. For a single coder to learn OSG and then port the OSG across to support Direct3D without support from the OSG community just isn't plausible. If you have the code then post it in public repository as source code only. If not we'll remove you from the lists and warn all genuine users away from your site as all pointers so far suggest an unsophisticated malware attack. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello Robert OSGERS all, OSG DEMOS SITE is not a trojan!
This guy has been keeping me entertained for days. Sometimes I wonder if some bot somewhere has gained a small amount of self awareness and is trying to make friends on the osg mailing list. Maybe we have a Turing test winner in our midst. lol -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=59964#59964 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello Robert OSGERS all, OSG DEMOS SITE is not a trojan!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/26/2014 07:49 PM, Thomas Hogarth wrote: This guy has been keeping me entertained for days. Sometimes I wonder if some bot somewhere has gained a small amount of self awareness and is trying to make friends on the osg mailing list. Maybe we have a Turing test winner in our midst. lol Most likely a hobbyist/newbie that communicates in English through a computer translator. I have worked with Chinese students and this was a fairly common problem. Most of the bizarre and seemingly malicious behaviour we encountered was simply due to the language barrier (people picking up a word here and there) and both sides extrapolating too much from the written text. The cultural differences don't make things easier neither - e.g. online etiquette, concepts of attribution, copyright, etc. don't mean necessarily the same thing to a Westerner and someone from there. By that I don't mean that the Chinese/Asian people are boorish but that simply some things that are OK there are not OK here and vice versa - heck, even American presidents are known for their faux pas! I wouldn't jump to conclusions about his/her intentions here. Ideally a native Mandarin speaker should contact the person in private and explain that they are coming across really poorly. I am sure the issue will be cleared up in one direction or another rather quickly then. J. -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iD8DBQFTrGhxn11XseNj94gRAiWNAJsFH6FmD+AHddHBkpSs4tIGAi4aHACeJVgW zMiYS2fzO6VccdCc1qbgEgI= =lrfb -END PGP SIGNATURE- ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello Robert OSGERS all, OSG DEMOS SITE is not a trojan!
I'm leaning towards that too Jan, but the bizarre just run my sketchy looking self-packed EXE and evasiveness is still raising my hackles. On Thu, Jun 26, 2014 at 12:37 PM, Jan Ciger jan.ci...@gmail.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/26/2014 07:49 PM, Thomas Hogarth wrote: This guy has been keeping me entertained for days. Sometimes I wonder if some bot somewhere has gained a small amount of self awareness and is trying to make friends on the osg mailing list. Maybe we have a Turing test winner in our midst. lol Most likely a hobbyist/newbie that communicates in English through a computer translator. I have worked with Chinese students and this was a fairly common problem. Most of the bizarre and seemingly malicious behaviour we encountered was simply due to the language barrier (people picking up a word here and there) and both sides extrapolating too much from the written text. The cultural differences don't make things easier neither - e.g. online etiquette, concepts of attribution, copyright, etc. don't mean necessarily the same thing to a Westerner and someone from there. By that I don't mean that the Chinese/Asian people are boorish but that simply some things that are OK there are not OK here and vice versa - heck, even American presidents are known for their faux pas! I wouldn't jump to conclusions about his/her intentions here. Ideally a native Mandarin speaker should contact the person in private and explain that they are coming across really poorly. I am sure the issue will be cleared up in one direction or another rather quickly then. J. -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iD8DBQFTrGhxn11XseNj94gRAiWNAJsFH6FmD+AHddHBkpSs4tIGAi4aHACeJVgW zMiYS2fzO6VccdCc1qbgEgI= =lrfb -END PGP SIGNATURE- ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Training • Consulting • Contracting 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL Digital Imaging • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android @alphapixel https://twitter.com/alphapixel facebook.com/alphapixel (775) 623-PIXL [7495] ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello Robert OSGERS all, OSG DEMOS SITE is not a trojan!
Jan Ciger wrote: Most of the bizarre and seemingly malicious behaviour we encountered was simply due to the language barrier (people picking up a word here and there) and both sides extrapolating too much from the written text. Well said Jan, and that mirrors my experience as well. I'm willing to assume this guy has good intentions until proven otherwise. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=59967#59967 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello Robert OSGERS all, OSG DEMOS SITE is not a trojan!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/26/2014 09:20 PM, Chris Hanson wrote: I'm leaning towards that too Jan, but the bizarre just run my sketchy looking self-packed EXE and evasiveness is still raising my hackles. If you were trying to spread some secret-stealing malware, this would be a rather silly way to do it. Those compressed exes are quite common even among completely legit software. I guess he did it to make disassembly/reverse engineering harder - common precaution in a place where ripping off someone else is the norm and not an exception. That's likely why there is no source code neither. The perceived evasiveness I would really attribute to the language barrier. Whenever one of my students didn't actually understand what I am saying, they just kept going at whatever they were doing, ignoring what has been said. A western student would stop me and ask, for an Asian student it would be showing disrespect to the teacher (a big no-no), so they would stay silent and pretend to have understood everything. It took me a while to learn to deal with this. All that said, it could still be a hamfisted attempt to spread malware to steal trade secrets or something else. Or simply spam, trying to piggyback on OSG to sell some vaguely related product. But I wouldn't jump to conclusions - don't ascribe malice to what can be explained by incompetence :) J. -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iD8DBQFTrIInn11XseNj94gRAuGkAKDYZAXyc8wKY5Ols/kOFxPpTR6x8wCeMjlZ 3QEqmXZMxIdvFkXZ/ZHq5mo= =bzSn -END PGP SIGNATURE- ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] hello all, find osg is very powerful after learned five months
hi Merrill, How do you know will not share?and vice versa soon share the osg demos resource for the whole osg community. cheers LearningOSG 2014-06-19 9:07 GMT+08:00 Merrill zhxm...@gmail.com: Don't show your example if you do not share the source code.Just showing, so boring. 2014-06-17 23:43 GMT+08:00 LearningOSG LearningOSG learning...@gmail.com : Yeah,Have the possibility,if you get the template,then you can also make such a demo,without write one line osg code,are you familiar with LUA?this demo is writen using LUA JIT. only a few keyboard click,then the osg demo comes out,this is the reason i consider osg is very very powerfull! cheers LearningOSG 2014-06-17 23:36 GMT+08:00 Jaime xatp...@hotmail.com: Yeah, I mean sharing the source code of your demo. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=59786#59786 ___ 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] hello all, find osg is very powerful after learned five months
Don't show your example if you do not share the source code.Just showing, so boring. 2014-06-17 23:43 GMT+08:00 LearningOSG LearningOSG learning...@gmail.com: Yeah,Have the possibility,if you get the template,then you can also make such a demo,without write one line osg code,are you familiar with LUA?this demo is writen using LUA JIT. only a few keyboard click,then the osg demo comes out,this is the reason i consider osg is very very powerfull! cheers LearningOSG 2014-06-17 23:36 GMT+08:00 Jaime xatp...@hotmail.com: Yeah, I mean sharing the source code of your demo. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=59786#59786 ___ 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] hello all, find osg is very powerful after learned five months
And more osg demos are coming,welcome vist OSG DEMOS SITE www.osg3d.org my email:learning...@gmail.com skype:learning...@hotmail.com Thanks all. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] hello all, find osg is very powerful after learned five months
Good example! Congratulations! Are you going to share the code? It would be great! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=59784#59784 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] hello all, find osg is very powerful after learned five months
Yeah, I mean sharing the source code of your demo. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=59786#59786 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] hello all, find osg is very powerful after learned five months
Hi Jaime, Thanks,currently i only know how to make a cool and beautiful osg demo,and have many questions about osg mechanism,because only learned osg five months. cheers LearningOSG 2014-06-17 23:21 GMT+08:00 Jaime xatp...@hotmail.com: Good example! Congratulations! Are you going to share the code? It would be great! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=59784#59784 ___ 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] hello all, find osg is very powerful after learned five months
Yeah,Have the possibility,if you get the template,then you can also make such a demo,without write one line osg code,are you familiar with LUA?this demo is writen using LUA JIT. only a few keyboard click,then the osg demo comes out,this is the reason i consider osg is very very powerfull! cheers LearningOSG 2014-06-17 23:36 GMT+08:00 Jaime xatp...@hotmail.com: Yeah, I mean sharing the source code of your demo. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=59786#59786 ___ 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] hello
http://www.jans.com.au/wsjgcsjia.php___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Hello
Hi, I'm new member of this forum and interested to share with others member. Thank you! Cheers, sharior -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=53618#53618 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Hello All
Hi Guys, I am Newbie here.. Just want to say hello all of you.. Thank you! Cheers, Ryan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=50080#50080 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello All
On 16 September 2012 14:06, Ryan Ron ryan.ro...@yahoo.com wrote: I am Newbie here.. Just want to say hello all of you.. Hello and welcome ;-) ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello OSG
Donn Washburn writes: This is my first time to join in on OSGs email. The main purpose was to notify of a error I am getting on a SVN version on two different OS versions. It shows up on ffmpeg/FFmpegDecoder.cpp which is at about 99% and states depreciated causing OSG to fail. I do have it saved so if this is the correct place to ask I can send it. Hi Donn, Yes, it should be helpful that you provide the exact error you are getting and your ffmpeg version. -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello OSG
On 07/05/2011 03:31 AM, Alberto Luaces wrote: Donn Washburn writes: This is my first time to join in on OSGs email. The main purpose was to notify of a error I am getting on a SVN version on two different OS versions. It shows up on ffmpeg/FFmpegDecoder.cpp which is at about 99% and states depreciated causing OSG to fail. I do have it saved so if this is the correct place to ask I can send it. Hi Donn, Yes, it should be helpful that you provide the exact error you are getting and your ffmpeg version. Ok will do! osg.err -- 73 de Donn Washburn 307 Savoy StreetEmail: n5...@comcast.net Sugar Land, TX 77478 LL# 1.281.242.3256 Ham Callsign N5XWB HAMs : n5...@arrl.net VoIP via Skype:n5xwbg BMWMOA #:4146 Ambassador http://counter.li.org #279316 [ 96%] Built target osgdb_txp [ 96%] Built target osgdb_xine [ 96%] Building CXX object src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoder.o In file included from /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegHeaders.hpp:12:0, from /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegClocks.hpp:10, from /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp:9, from /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.hpp:5, from /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:2: /usr/include/libavcodec/avcodec.h:528:27: warning: attribute ignored in declaration of �enum AVLPCType� [enabled by default] /usr/include/libavcodec/avcodec.h:528:27: warning: attribute for �enum AVLPCType� must follow the �enum� keyword [enabled by default] /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp: In member function �bool osgFFmpeg::FFmpegDecoder::open(const string, osgFFmpeg::FFmpegParameters*)�: /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:57:26: warning: �AVFormatParameters::channel� is deprecated (declared at /usr/include/libavformat/avformat.h:251) [-Wdeprecated-declarations] /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:57:26: warning: �AVFormatParameters::channel� is deprecated (declared at /usr/include/libavformat/avformat.h:251) [-Wdeprecated-declarations] /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:58:26: warning: �AVFormatParameters::standard� is deprecated (declared at /usr/include/libavformat/avformat.h:252) [-Wdeprecated-declarations] /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:58:26: warning: �AVFormatParameters::standard� is deprecated (declared at /usr/include/libavformat/avformat.h:252) [-Wdeprecated-declarations] /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:60:26: warning: �AVFormatParameters::width� is deprecated (declared at /usr/include/libavformat/avformat.h:248) [-Wdeprecated-declarations] /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:60:26: warning: �AVFormatParameters::width� is deprecated (declared at /usr/include/libavformat/avformat.h:248) [-Wdeprecated-declarations] /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:61:26: warning: �AVFormatParameters::height� is deprecated (declared at /usr/include/libavformat/avformat.h:249) [-Wdeprecated-declarations] /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:61:26: warning: �AVFormatParameters::height� is deprecated (declared at /usr/include/libavformat/avformat.h:249) [-Wdeprecated-declarations] /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:66:26: warning: �AVFormatParameters::time_base� is deprecated (declared at /usr/include/libavformat/avformat.h:245) [-Wdeprecated-declarations] /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:66:26: warning: �AVFormatParameters::time_base� is deprecated (declared at /usr/include/libavformat/avformat.h:245) [-Wdeprecated-declarations] /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:67:26: warning: �AVFormatParameters::time_base� is deprecated (declared at /usr/include/libavformat/avformat.h:245) [-Wdeprecated-declarations] /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:67:26: warning: �AVFormatParameters::time_base� is deprecated (declared at /usr/include/libavformat/avformat.h:245) [-Wdeprecated-declarations] /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:81:25: warning: �int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)� is deprecated (declared at /usr/include/libavformat/avformat.h:1094) [-Wdeprecated-declarations] /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:81:106: warning: �int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)� is deprecated (declared at /usr/include/libavformat/avformat.h:1094)
Re: [osg-users] Hello OSG
On Tue, Jul 5, 2011 at 8:03 AM, Donn Washburn n5...@comcast.net wrote: On 07/05/2011 03:31 AM, Alberto Luaces wrote: Donn Washburn writes: This is my first time to join in on OSGs email. The main purpose was to notify of a error I am getting on a SVN version on two different OS versions. It shows up on ffmpeg/FFmpegDecoder.cpp which is at about 99% and states depreciated causing OSG to fail. I do have it saved so if this is the correct place to ask I can send it. Hi Donn, Yes, it should be helpful that you provide the exact error you are getting and your ffmpeg version. Ok will do! osg.err So the deprecation warnings you mention aren't actually the problem strictly speaking - those are warnings, not errors. The errors are better hidden - here they are without the warnings around them: [ 96%] Building CXX object src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoder.o In file included from /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegHeaders.hpp:12:0, from /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegClocks.hpp:10, from /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp:9, from /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.hpp:5, from /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:2: /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp: In member function �void osgFFmpeg::FFmpegDecoder::findAudioStream()�: /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:211:64: error: �CODEC_TYPE_AUDIO� was not declared in this scope /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp: In member function �void osgFFmpeg::FFmpegDecoder::findVideoStream()�: /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:229:64: error: �CODEC_TYPE_VIDEO� was not declared in this scope What version of ffmpeg and linux are you using? Ryan -- Ryan Pavlik HCI Graduate Student Virtual Reality Applications Center Iowa State University rpav...@iastate.edu http://academic.cleardefinition.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello OSG
Hi all, I've recently fixed some of these in our own code. See here: http://code.google.com/p/flitr/source/detail?r=34 It was for ffmpeg on Debian sid: apt-cache policy ffmpeg ffmpeg: Installed: 5:0.8-0.1 It should give some hints on where to start. I'm too busy to help currently. cheers jp On 05/07/11 16:04, Ryan Pavlik wrote: On Tue, Jul 5, 2011 at 8:03 AM, Donn Washburn n5...@comcast.net mailto:n5...@comcast.net wrote: On 07/05/2011 03:31 AM, Alberto Luaces wrote: Donn Washburn writes: This is my first time to join in on OSGs email. The main purpose was to notify of a error I am getting on a SVN version on two different OS versions. It shows up on ffmpeg/FFmpegDecoder.cpp which is at about 99% and states depreciated causing OSG to fail. I do have it saved so if this is the correct place to ask I can send it. Hi Donn, Yes, it should be helpful that you provide the exact error you are getting and your ffmpeg version. Ok will do! osg.err So the deprecation warnings you mention aren't actually the problem strictly speaking - those are warnings, not errors. The errors are better hidden - here they are without the warnings around them: [ 96%] Building CXX object src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoder.o In file included from /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegHeaders.hpp:12:0, from /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegClocks.hpp:10, from /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp:9, from /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.hpp:5, from /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:2: /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp: In member function �void osgFFmpeg::FFmpegDecoder::findAudioStream()�: /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:211:64: error: �CODEC_TYPE_AUDIO� was not declared in this scope /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp: In member function �void osgFFmpeg::FFmpegDecoder::findVideoStream()�: /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:229:64: error: �CODEC_TYPE_VIDEO� was not declared in this scope What version of ffmpeg and linux are you using? Ryan -- Ryan Pavlik HCI Graduate Student Virtual Reality Applications Center Iowa State University rpav...@iastate.edu mailto:rpav...@iastate.edu http://academic.cleardefinition.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello OSG
On 07/05/2011 09:04 AM, Ryan Pavlik wrote: On Tue, Jul 5, 2011 at 8:03 AM, Donn Washburn n5...@comcast.net mailto:n5...@comcast.net wrote: On 07/05/2011 03:31 AM, Alberto Luaces wrote: Donn Washburn writes: This is my first time to join in on OSGs email. The main purpose was to notify of a error I am getting on a SVN version on two different OS versions. It shows up on ffmpeg/FFmpegDecoder.cpp which is at about 99% and states depreciated causing OSG to fail. I do have it saved so if this is the correct place to ask I can send it. Hi Donn, Yes, it should be helpful that you provide the exact error you are getting and your ffmpeg version. Ok will do! osg.err So the deprecation warnings you mention aren't actually the problem strictly speaking - those are warnings, not errors. The errors are better hidden - here they are without the warnings around them: [ 96%] Building CXX object src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoder.o In file included from /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegHeaders.hpp:12:0, from /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegClocks.hpp:10, from /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp:9, from /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.hpp:5, from /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:2: /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp: In member function �void osgFFmpeg::FFmpegDecoder::findAudioStream()�: /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:211:64: error: �CODEC_TYPE_AUDIO� was not declared in this scope /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp: In member function �void osgFFmpeg::FFmpegDecoder::findVideoStream()�: /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:229:64: error: �CODEC_TYPE_VIDEO� was not declared in this scope What version of ffmpeg and linux are you using? Ryan -- Ryan Pavlik HCI Graduate Student Virtual Reality Applications Center Iowa State University I see you are in Iowa - hope you are dry. If needed send the water here. OpenSuSE 12.1 rc2 and A very current CVS/GIT version of ffmpeg. Because openSuSE version of devel. was not being found. -- 73 de Donn Washburn 307 Savoy StreetEmail: n5...@comcast.net Sugar Land, TX 77478 LL# 1.281.242.3256 Ham Callsign N5XWB HAMs : n5...@arrl.net VoIP via Skype:n5xwbg BMWMOA #:4146 Ambassador http://counter.li.org #279316 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello OSG
Donn Washburn writes: OpenSuSE 12.1 rc2 and A very current CVS/GIT version of ffmpeg. Because openSuSE version of devel. was not being found. Do you require the ffmpeg plugin? If not, you could blank out the ffmpeg entries in CMake in order for it not to get compiled and finish the build. -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello OSG
On 07/05/2011 09:56 AM, Alberto Luaces wrote: Donn Washburn writes: OpenSuSE 12.1 rc2 and A very current CVS/GIT version of ffmpeg. Because openSuSE version of devel. was not being found. Do you require the ffmpeg plugin? If not, you could blank out the ffmpeg entries in CMake in order for it not to get compiled and finish the build. Thanks for the replies. It really looks like an ffmpeg file.h problem. So if I find out I will let everyone know. Of course it maybe a something else problem that is why I asked. -- 73 de Donn Washburn 307 Savoy StreetEmail: n5...@comcast.net Sugar Land, TX 77478 LL# 1.281.242.3256 Ham Callsign N5XWB HAMs : n5...@arrl.net VoIP via Skype:n5xwbg BMWMOA #:4146 Ambassador http://counter.li.org #279316 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Hello OSG
This is my first time to join in on OSGs email. The main purpose was to notify of a error I am getting on a SVN version on two different OS versions. It shows up on ffmpeg/FFmpegDecoder.cpp which is at about 99% and states depreciated causing OSG to fail. I do have it saved so if this is the correct place to ask I can send it. -- 73 de Donn Washburn 307 Savoy StreetEmail: n5...@comcast.net Sugar Land, TX 77478 LL# 1.281.242.3256 Ham Callsign N5XWB HAMs : n5...@arrl.net VoIP via Skype:n5xwbg BMWMOA #:4146 Ambassador http://counter.li.org #279316 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello from New Orleans
Paul Martz wrote: I strongly encourage everyone to take a look at the OSG In Chine presentation. It's amazing to see how big their OSG community is. That's great news, the OpenCV community in China is also very strong. I suspect there's a big first mover advantage for whoever has translated documentation - well done Wang. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16153#16153 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello from New Orleans
I updated this page with the PDF of Wang Rui's presentation. I strongly encourage everyone to take a look at the OSG In Chine presentation. It's amazing to see how big their OSG community is. Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com +1 303 859 9466 Jean-Sbastien Guay wrote: Hi all, It was great meeting all of you at the BOF. Great presentations all around, and very encouraging to see such an active community in China. I've started a page on the wiki: http://www.openscenegraph.org/projects/osg/wiki/Support/SIGGRAPH2009 Perhaps people can post their presentations in PDF or send me their presentation personally and I can post it for them. Also if anyone has photos either post them here or to the wiki, or send them to me. Also the page is missing Marc Olano's affiliation (that'll teach me not to take notes) - if someone could tell me or update the page to correct that. J-S ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello from New Orleans
Hi Paul, Added one photo. I can never recall all the wiki inline commands, so if someone else could pretty that up for me, I'd appreciate it. Done :-) Thanks, J-S -- __ Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com http://www.cm-labs.com/ http://whitestar02.webhop.org/ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello from New Orleans
I've added my and Robert's slides, as well as the agenda slide. Still working on the photos. Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com +1 303 859 9466 Jean-Sbastien Guay wrote: Hi all, It was great meeting all of you at the BOF. Great presentations all around, and very encouraging to see such an active community in China. I've started a page on the wiki: http://www.openscenegraph.org/projects/osg/wiki/Support/SIGGRAPH2009 Perhaps people can post their presentations in PDF or send me their presentation personally and I can post it for them. Also if anyone has photos either post them here or to the wiki, or send them to me. Also the page is missing Marc Olano's affiliation (that'll teach me not to take notes) - if someone could tell me or update the page to correct that. J-S ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello from New Orleans
Added one photo. I can never recall all the wiki inline commands, so if someone else could pretty that up for me, I'd appreciate it. Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com +1 303 859 9466 Jean-Sbastien Guay wrote: Hi all, It was great meeting all of you at the BOF. Great presentations all around, and very encouraging to see such an active community in China. I've started a page on the wiki: http://www.openscenegraph.org/projects/osg/wiki/Support/SIGGRAPH2009 Perhaps people can post their presentations in PDF or send me their presentation personally and I can post it for them. Also if anyone has photos either post them here or to the wiki, or send them to me. Also the page is missing Marc Olano's affiliation (that'll teach me not to take notes) - if someone could tell me or update the page to correct that. J-S ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello from New Orleans
Hi, I'm in Seattle now, and will be back to China in 1-2 days. Really glad to meet many friends at the BOF. Hope to see you again next year, although it's diffcult to apply for visa here. :) Wang Rui 2009/8/6 Paul MARTZ pma...@skew-matrix.com OSG BOF was a success. Attendance was light, 65 people, but overall conference attendance was down this year. Traveling today, more later including photos. Paul Martz Skew Matrix Software 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 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello from New Orleans
Great time in BOF, Happy to meet many OSG users (especially over 2000 friends in China) :D Maybe I have to trip 26hrs again to return, but it's no matter. I hope that I'm there in 2010. Hansoo Kim. Konkuk Univ., Korea. Wang Rui 쓴 글: Hi, I'm in Seattle now, and will be back to China in 1-2 days. Really glad to meet many friends at the BOF. Hope to see you again next year, although it's diffcult to apply for visa here. :) Wang Rui 2009/8/6 Paul MARTZ pma...@skew-matrix.com mailto:pma...@skew-matrix.com OSG BOF was a success. Attendance was light, 65 people, but overall conference attendance was down this year. Traveling today, more later including photos. Paul Martz Skew Matrix Software http://www.skew-matrix.com http://www.skew-matrix.com/ +1 303 859 9466 ___ osg-users mailing list osg-users@lists.openscenegraph.org mailto: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] Hello from New Orleans
Kudos to Hansoo Kim and Wang Rui for making the long trip from east Asia to New Orleans to attend the OSG BOF. I don't recall anyone from east Asia at past BOFs so maybe this was a first. Certainly Wang Rui's presentation on the growth/acceptance of OSG in China was impressive. I was astonished with the size of the OSG China community. Thanks to both of you for attending, which clearly shows that OSG is a global community. Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com +1 303 859 9466 Hansoo Kim wrote: Great time in BOF, Happy to meet many OSG users (especially over 2000 friends in China) :D Maybe I have to trip 26hrs again to return, but it's no matter. I hope that I'm there in 2010. Hansoo Kim. Konkuk Univ., Korea. Wang Rui 쓴 글: Hi, I'm in Seattle now, and will be back to China in 1-2 days. Really glad to meet many friends at the BOF. Hope to see you again next year, although it's diffcult to apply for visa here. :) Wang Rui 2009/8/6 Paul MARTZ pma...@skew-matrix.com mailto:pma...@skew-matrix.com OSG BOF was a success. Attendance was light, 65 people, but overall conference attendance was down this year. Traveling today, more later including photos. Paul Martz Skew Matrix Software http://www.skew-matrix.com http://www.skew-matrix.com/ +1 303 859 9466 ___ osg-users mailing list osg-users@lists.openscenegraph.org mailto: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] Hello from New Orleans
Hi all, It was great meeting all of you at the BOF. Great presentations all around, and very encouraging to see such an active community in China. I've started a page on the wiki: http://www.openscenegraph.org/projects/osg/wiki/Support/SIGGRAPH2009 Perhaps people can post their presentations in PDF or send me their presentation personally and I can post it for them. Also if anyone has photos either post them here or to the wiki, or send them to me. Also the page is missing Marc Olano's affiliation (that'll teach me not to take notes) - if someone could tell me or update the page to correct that. J-S -- __ Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com http://www.cm-labs.com/ http://whitestar02.webhop.org/ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Hello from New Orleans
Hi J-S - I'll add presentations and photos shortly. Marc's volume fire rendering software was created as part of his work with NIST (National Institute of Standards Technology). Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com +1 303 859 9466 Jean-Sbastien Guay wrote: Hi all, It was great meeting all of you at the BOF. Great presentations all around, and very encouraging to see such an active community in China. I've started a page on the wiki: http://www.openscenegraph.org/projects/osg/wiki/Support/SIGGRAPH2009 Perhaps people can post their presentations in PDF or send me their presentation personally and I can post it for them. Also if anyone has photos either post them here or to the wiki, or send them to me. Also the page is missing Marc Olano's affiliation (that'll teach me not to take notes) - if someone could tell me or update the page to correct that. J-S ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Hello from New Orleans
OSG BOF was a success. Attendance was light, 65 people, but overall conference attendance was down this year. Traveling today, more later including photos. Paul Martz Skew Matrix Software 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
Re: [osg-users] hello,I have a problem.
Hello. Niu: You need to set the class niuhm : public osg::Drawable::UpdateCallback object to your node to update; by: geom-setDataVariance( ); geom-setUpdateCallback( ); You can refer to the osgcallback in the osgExamples. xiaodong 2008/3/19 Niuheming [EMAIL PROTECTED]: Hi, I want to write a class from osg::Drawable::UpdateCallback to update a Geometry call named geom,but there is no update happen.I dot't know what's wrong.Does someone knows? Thanks in advance! NiuHeming class niuhm : public osg::Drawable::UpdateCallback { public: niuhm(const osg::Vec3 v11,const osg::Vec3 v22,const osg::Vec3 v33) { v1=v11; v2=v22; v2=v33; bs.radius()*=1.5f; bs=osg::BoundingSphere(osg::Vec3(0.0f,0.0f,0.0f),4.0f); bb.expandBy(bs); } nbsp ;virtual void update(osg::NodeVisitor* nv, osg::Drawable* node) { osg::Geometry* geom = dynamic_castosg::Geometry*(node); const osg::FrameStamp* frameStamp = nv-getFrameStamp(); if (geom frameStamp) { osg::PositionAttitudeTransform* mt = new osg::PositionAttitudeTransform(); { // set up the animation path osg::AnimationPath* animationPath = new osg::AnimationPath; animationPath-insert(0.0 ,osg::AnimationPath::ControlPoint(bb.corner(0))); animationPath-inse rt(1.0 ,osg::AnimationPath::ControlPoint(bb.corner(1))); animationPath-insert(2.0 ,osg::AnimationPath::ControlPoint(bb.corner(2))); animationPath-insert(3.0 ,osg::AnimationPath::ControlPoint(bb.corner(3))); animationPath-insert(4.0 ,osg::AnimationPath::ControlPoint(bb.corner(0))); animationPath-setLoopMode(osg::AnimationPath::SWING); nbs p; mt-setUpdateCallback(new osg::AnimationPathCallback(animationPath)); } // create marker for point light. osg::Vec3 vertices = mt-getPosition(); unsigned int noXSteps = 100; unsigned int noYSteps = 100; osg::Vec3Array* coords = new osg::Vec3Array; coords-reserve(noXSteps*noYSteps); osg::Vec3 dx = (v2-v1)/((float)noXSteps-1.0f); nbs p;osg::Vec3 dy = (v3-v1)/((float)noYSteps-1.0f); unsigned int rowvertices; unsigned int colvertices; rowvertices=(unsigned int)((vertices._v[0])/(dx._v[0])); colvertices=(unsigned int)((vertices._v[1])/(dy._v[1])); unsigned int row; nbsp; osg::Vec3 vRowStart = v1; for(row=0;rownoYSteps;++row){ osg::Vec3 v = vRowStart; for(unsigned int col=0;colnoXSteps;++col){ if ((row==rowvertices)(col==colvertices)) coords-push_back(v+osg::Vec3(0.0f,0.0f ,-1.0f)); else coords-push_back(v); v += dx; } vRowStart+=dy; } geom-setVertexArray(coords); } } osg::Vec3 v1; osg::Vec3 v2; osg::Vec3 v3; osg::BoundingSphere bs; osg::BoundingBox bb; }; -- 七件武器,七种完美 立刻体验! http://get.live.cn ___ 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] hello,I have a problem.
Hi, I want to write a class from osg::Drawable::UpdateCallback to update a Geometry call named geom,but there is no update happen.I dot't know what's wrong.Does someone knows?Thanks in advance!NiuHeming class niuhm : public osg::Drawable::UpdateCallback{public: niuhm(const osg::Vec3 v11,const osg::Vec3 v22,const osg::Vec3 v33) {v1=v11;v2=v22; v2=v33; bs.radius()*=1.5f; bs=osg::BoundingSphere(osg::Vec3(0.0f,0.0f,0.0f),4.0f); bb.expandBy(bs);}virtual void update(osg::NodeVisitor* nv, osg::Drawable* node){osg::Geometry* geom = dynamic_castosg::Geometry*(node);const osg::FrameStamp* frameStamp = nv-getFrameStamp();if (geom frameStamp) { osg::PositionAttitudeTransform* mt = new osg::PositionAttitudeTransform(); { // set up the animation path osg::AnimationPath* animationPath = new osg::AnimationPath; animationPath-insert(0.0,osg::AnimationPath::ControlPoint(bb.corner(0))); animationPath-insert(1.0,osg::AnimationPath::ControlPoint(bb.corner(1))); animationPath-insert(2.0,osg::AnimationPath::ControlPoint(bb.corner(2))); animationPath-insert(3.0,osg::AnimationPath::ControlPoint(bb.corner(3))); animationPath-insert(4.0,osg::AnimationPath::ControlPoint(bb.corner(0))); animationPath-setLoopMode(osg::AnimationPath::SWING); mt-setUpdateCallback(new osg::AnimationPathCallback(animationPath)); } // create marker for point light. osg::Vec3 vertices = mt-getPosition(); unsigned int noXSteps = 100; unsigned int noYSteps = 100; osg::Vec3Array* coords = new osg::Vec3Array; coords-reserve(noXSteps*noYSteps); osg::Vec3 dx = (v2-v1)/((float)noXSteps-1.0f); osg::Vec3 dy = (v3-v1)/((float)noYSteps-1.0f); unsigned int rowvertices; unsigned int colvertices;rowvertices=(unsigned int)((vertices._v[0])/(dx._v[0])); colvertices=(unsigned int)((vertices._v[1])/(dy._v[1])); unsigned int row; osg::Vec3 vRowStart = v1; for(row=0;rownoYSteps;++row){ osg::Vec3 v = vRowStart;for(unsigned int col=0;colnoXSteps;++col){ if ((row==rowvertices)(col==colvertices)) coords-push_back(v+osg::Vec3(0.0f,0.0f,-1.0f)); else coords-push_back(v); v += dx; } vRowStart+=dy;} geom-setVertexArray(coords); } } osg::Vec3 v1; osg::Vec3 v2; osg::Vec3 v3; osg::BoundingSphere bs;osg::BoundingBox bb; }; _ MSN圣诞礼物火热登场,免费发放中,快来领取吧! http://im.live.cn/emoticons/?ID=18___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] hello
Hello osg-users, hello,I am learning osg. Best regards, 2007-10-16 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] hello
hi ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org