Re: [osg-users] Image capture in memory

2019-05-22 Thread Catalin Flower
Hi Chris, I would be happy to use FBO, but I have no idea how to! Please give me an example. Thank you! Cheers, Catalin -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=76129#76129 ___ osg-users

Re: [osg-users] Layered rendering with a geometry shader

2019-05-22 Thread Johny Canes
Ohmagawd, I have no idea what you guys are talking about, but... You're from the OpenMW team? I'm in love with Morrowind and played the TES3MP fork recently. I'm currently building a Skyrim clone in OSG. https://www.youtube.com/watch?v=DN_G0YQd7qE

Re: [osg-users] [build] Building with MinGW on Windows 10

2019-05-22 Thread Stefan Waldegger
Hi Alberto, Thank you for your reply, I tried it to get the latest verion from github, OpenSceneGraph-master it is called when I download it. But sadly, there is the same error, in the same file. osgDB::makeDirectory(const string&)::stat64. Can it be that the MinGW in Windows is outdated and

Re: [osg-users] [build] Building with MinGW on Windows 10

2019-05-22 Thread Voerman, L.
You probably need to remove the exlusion of mingw32 on line 39 of D:\Projects\C++\Libraries\OpenScenegraph\OpenSceneGraph-OpenSceneGraph-3.6.3\src\osgDB\FileUtils.cpp to get stat64 defined as _stati64 on windows. Try to remove the #if and the #endif line (38 & 40) and see if that compiles.

Re: [osg-users] Image capture in memory

2019-05-22 Thread Chris Hanson
I think there was some code in this post: http://forum.openscenegraph.org/viewtopic.php?t=17504 It was failing to resize dynamically, but it doesn't sound like that would be an issue for you. On Wed, May 22, 2019 at 10:15 AM Catalin Flower wrote: > Hi Chris, > > I would be happy to use FBO,

Re: [osg-users] Layered rendering with a geometry shader

2019-05-22 Thread Voerman, L.
Hi Chris, I work almost exclusively with nvidia hardware, but I remember having a similar problem, that turned out to be related to using triangle strips. Maybe you can work around by pushing the geometry trough the optimizer to break triangle strips into triangles? Laurens. On Mon, May 20, 2019

Re: [osg-users] Layered rendering with a geometry shader

2019-05-22 Thread Chris Djali
Hi, Most of my testing was with a ShapeDrawable with a sphere, and that uses quad strips. However, I've also tried it with some of OSG's test models, such as spaceship.osgt, and that specific example only uses triangles and is broken, too. Cheers, Chris -- Read this topic