[osg-users] Deferring loading in an DB ReaderWriter plugin
Hi, I’m looking for some advice on deferring / stalling a DB read request for a period of time and then resuming it. (Or some equivalent) This is for a download-on-demand thing - inside the readNode() implementation I can detect that a given set of files needs to be downloaded, which may take many seconds depending on the user’s Internet connection. The download system is already separately threaded, but I need a way to suspend the request (or simulate the same) and then resume it / resubmit it. I can imagine various solutions, eg returning a placeholder node and then when my download completes, re-running the load but passing in some special info including the placeholder as the parent. But I can also guess that this scenario is common enough to have some more explicit support in osgDB. I can also imagine the Pager / Database ’s internal load queue must basically do what I need, if I could manipulate it directly. (Cancel the current item, stash it somewhere and resubmit when some condition occurs) But I’ve not seen any examples of doing that (I am going to look for them now). So, any advice or thoughts are much appreciated. Kind regards, James ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Use OSG with an existing renderer in OpenGL ES
Are you trying to render combined 3D scenes, or have OSG render a texture that will be used on a surface within your other renderer's scene? When we were faced with the second situation, what we did was to create a whole new context (shared) for OSG let OSG render into a texture with that, and then used the texture in the main scene. What are you seeking to accomplish, bigger-picture wise? ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] Exporting OpenFlight from OSG and DDS textures
On 18 November 2016 at 11:50, Rambabu Repakawrote: > Hi,How to convert the .osg files like cessna.osg to .flt files. To just convert files via the osgconv utility: osgconv cessna,osg cessna.flt This only works for plugins that support writing of nodes, most 3d plugins don't support writing, but in the case of OpenFlight you are lucky it does. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Rotation of a node starts clockwise and ends counter-clockwise.
Hi Rambabu, Hi,Not like that i just asking if anyone used it previous. You asked for some "osgTank"-model without any reasonable context whatsoever and not for the specific model. Also Christian even spent his time on pre-digesting the information for you by providing a link to the model AND the textures ... Even then you should be able to use any search machine on the internet. The people here on the mailing list/forum usually have day-jobs and other things to do, than doing your search on the internet. Quite frankly: Albeit the language barrier, I find your post rude and disrespectful. We tried really hard to convince you to post questions with context. Instead you simply keep on asking seemingly random questions. As far as I'm concerned, I won't invest any more time in answering your post until you start using questions which show that you tried to put some effort into getting the answer yourself. Cheers ... Thank you! Cheers, Rambabu -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69443#69443 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] Exporting OpenFlight from OSG and DDS textures
Hi,How to convert the .osg files like cessna.osg to .flt files. ... Thank you! Cheers, Rambabu -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69445#69445 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Use OSG with an existing renderer in OpenGL ES
Hi, I'm trying to use OSG with an existing renderer. I found the FAQ about it which advises us to use glPush/PopAttrib to make it work (.../faq#CanIuseOSGwithinanexistingrenderer) But here's my problem : I'm moving an OSG app (running with QML) from Windows to iOS and iOS means OpenGL ES which doesn't includes glPop/PushAttrib functions (glPush/PopMatrix non either). I tried to replace concerned function with manual glEnable/Disable(GL_DEPTH_TEST) etc... But it doesn't work. Errors are about "invalid framebuffer operation" Does anyone have experimented OSG with an existing renderer on iOS or know about this kind of problem ? Thank you! Cheers, Fabien -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69444#69444 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Rotation of a node starts clockwise and ends counter-clockwise.
Hi,Not like that i just asking if anyone used it previous. ... Thank you! Cheers, Rambabu -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69443#69443 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] slice Geometry with plane
On 18 November 2016 at 07:53, Trajce Nikolov NICKwrote: > it is not only for display, I need handle of the sliced Geometry, something > like what DBGS are doing, to cut triangulated cultural features on tile > boundaries. There aren't any utilities in the core OSG to do this, the focus being rendering rather than model building. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org