Re: [osg-users] Dynamic Geometry per frame

2015-04-09 Thread Adam Pawlowski
If it isn't in a VBO or display list, then what would it copy into? Only other thing I would think of would be using Immediate Mode. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=63313#63313 ___

Re: [osg-users] osgText crash

2015-04-09 Thread Alexander Bobkov
Robert, thanks! I'll try this helper marco. Cheers, Alexander -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=63310#63310 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Dynamic Geometry per frame

2015-04-09 Thread Adam Pawlowski
I'm looking for ideas/the correct way to implement a vertex array or VBO in OSG that gets updated each frame. I have a camera that renders to a FBO. It renders a bunch of rain drops to an alpha texture that is applied to a cars windshield. Each frame on the CPU I update the rain drops to move

Re: [osg-users] [osgPlugins] ffmpeg plugin halting during playback of some videos

2015-04-09 Thread Jannik Heller
Thanks for sharing your changes Trystan! Always good to have more choices with regards to video plugins. FWIW, I have another very stable FFmpeg plugin here: https://github.com/scrawl/ogre-ffmpeg-videoplayer It's currently using Ogre for rendering rather than OSG, but should be really easy to

Re: [osg-users] [osgPlugins] ffmpeg plugin halting during playback of some videos

2015-04-09 Thread webmaster
hi Trystan, Great work! When i have more time, will test the new ffmpeg for osg plugin,and feed back. zhuwan 04,09,2015 -原始邮件- 发件人: Trystan Larey-Williams trys...@trystan.org 发送时间: 2015-4-9 5:09:27 收件人: osg-users@lists.openscenegraph.org 抄送: 主题: Re: [osg-users] [osgPlugins] ffmpeg

Re: [osg-users] Dynamic Geometry per frame

2015-04-09 Thread Sebastian Messerschmidt
HI Adam Simply configurethe geometry to geom-setUseDisplayList(false); geom-setUseVertexBufferObjects(true); in order to deactivate the display list generation Also, I think you don't have to use setVertexArray, as long as you keep the array as a pointer. (@Robert, is the data actually

Re: [osg-users] [osgPlugins] ffmpeg plugin halting during playback of some videos

2015-04-09 Thread Christian Buchner
A highly interesting contribution, for sure. Maybe it solves some of the problems I've been having with the existing FFMPEG plug-in. Thank you for placing it under the OSG license. Christian 2015-04-08 23:09 GMT+02:00 Trystan Larey-Williams trys...@trystan.org: Hi all, We ended up with a

Re: [osg-users] Culling with custom clip planes

2015-04-09 Thread Robert Osfield
Hi Jannik, You could add culling planes to the frustum during the cull traversal (see osg::CullingStack/osg::CullingSet or osgUtil::CullVisitor), or use the osg::ConvexPlanarOccluder support. Going the cull traversal route will be doing something I haven't done before but in principle you should

[osg-users] osgText crash

2015-04-09 Thread Alexander Bobkov
Hi, My osgEarth based application was crashing from time to time (3-4 times a day). It was not easy to debug. But eventually I've caught the problem place in Release with Debug info mode. DatabasePager thread crashed in osgText/Font.cpp file in the function: Code: osg::ref_ptrFont

Re: [osg-users] osgText crash

2015-04-09 Thread Robert Osfield
Hi Alexander, Could you try either putting the mutex in the global scope or creating a small initializer class that calls getDefaultFont() that gets constructed in the global scope, the OSG has a helper macro for this so you could use: OSG_INIT_SINGLETON_PROXY(InitDefaultFont, getDefaultFont())

Re: [osg-users] Dynamic Geometry per frame

2015-04-09 Thread Robert Osfield
Hi Adam and Sebastian, On 9 April 2015 at 09:49, Sebastian Messerschmidt sebastian.messerschm...@gmx.de wrote: HI Adam Simply configurethe geometry to geom-setUseDisplayList(false); geom-setUseVertexBufferObjects(true); in order to deactivate the display list generation Also, I

[osg-users] [forum] Applicaton chrashes after opening a VRML File

2015-04-09 Thread Alin Ionascu
Hi, I have a problem opening a VRML file. If I try to open it in my application it leads to a crash. I managed to find the code line which does this: SceneGraph.loadW(szFileName, false); I am using OSG version 3.0.1. Could you please tell me how can I avoid that the whole application crashes.

Re: [osg-users] [forum] Applicaton chrashes after opening a VRML File

2015-04-09 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/07/2015 03:39 PM, Alin Ionascu wrote: Hi, I have a problem opening a VRML file. If I try to open it in my application it leads to a crash. I managed to find the code line which does this: SceneGraph.loadW(szFileName, false); Well,