[osg-users] This weekend is about to get crazy - I have 95 miles to run!

2018-06-22 Thread Robert Osfield
Hi All,

When not coding and running around after my family I like to go
running, and to maximize the amount of fun that can be had running why
not do it all day!! :-)

My race starts at 1am Saturday on the west side of Glasgow, follows
the West Highland Way, and finishes 95 miles (152km) later in Fort
William.All going well I'll arrive late on Saturday or perhaps
Sunday morning.

If I'm a bit sleepy next week you'll know why...

Have a great weekend, and yes leave those keyboards behind and explore
the great outdoors :-D
Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] osgmovie - ffmpeg or Gstreamer

2018-06-22 Thread Andrea Martini
Dear All,
i would like to share with you some issues concerning play video streaming 
(with audio) starting from osgmovie.
I already used ffmpeg plugin with sdl2, but i get different results with the 
same application (osgmovie) and the same video (.mp4 extension) on different 
PCs:  
- HP Z440 with geforce gtx 1080
- Alianware (laptop) with 2 graphic board (nvidia geforce gtx 1080 and an 
internal intel board)

On HP, i play video correctly. On laptop video is playing faster.

Is it depends on video board configurations? 
Is there some parameters i can configure on osg:iamgestreamer class or 
FFmpegImageStream, in order to force frame rate to a specific value? 

Furthermore, i'm looking for another plugin to use with openscenegraph (i'm 
using openscenegraph 3.5.3 on windows 10) as alternative of ffmpeg. I see that 
cmake accepts gstreamer, so i downloaded gstreamer development 1.0. Cmake works 
correctly, but no change appears on solution sln. I don't know how to proceed 
to use gstreamer with osgmovie to test some video and audio streaming. Is there 
any example about?

Thank you in advance

Kind regards

Andrea






... 

Thank you!

Cheers,
Andrea

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74117#74117





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [osgPlugins] Support for paletted images in dds plugin?

2018-06-22 Thread Robert Osfield
HI Bret,

As long as adding support does introduce problems with other usage
case I see no reason not to merge a patch adding palette support.  My
guess is that you'll need to resole the palette into a full osg::Image
with RGB(A) within the plugin, as osg::Image doesn't have palette
support (and neither does OpenGL.)

Cheers,
Robert.
On Fri, 22 Jun 2018 at 11:14, bret curtis  wrote:
>
> Hi,
>
> as the subject sudjests, will there ever be support for DDPF_PALETTEINDEXED* 
> images in the dds plugin:
> osgPlugins/dds/ReaderWriterDDS.cpp ?
>
> In OpenMW (that uses OSG), we've come across "mods" that ship with dds files 
> that use DDPF_PALETTEINDEXED8
>
> Since our goal is to support these mods out of the box without having to 
> contact the original author, it falls to OpenMW to eventually support it. As 
> you likely guessed it, OpenMW uses OSG's dds plugin to handle all dds images.
>
> If someone wanted to pick up this torch, would you accept a patch to add 
> support?
>
> What we currently see:
>
> Code:
> Error loading textures\vurt_wl_cherryb03.dds:  code 1
> Error loading textures\vurt_wl_cherryb05.dds:  code 1
> Error loading textures\vurt_wl_goldenbark.dds:  code 1
>
>
>
>
> The issue we are tracking internally with resulting image here:
> https://gitlab.com/OpenMW/openmw/issues/3668
>
>
>
> Thank you!
>
> Cheers,
> bret
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=74114#74114
>
>
>
>
>
> ___
> 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] delete qwidget & removeView

2018-06-22 Thread Sebastian Schmidt
How can i safely delete a qwidget and remove the corresponding view from the 
compositeviewer at runtime?

At creation time i call setAttribute(Qt::WA_DeleteOnClose) and connect the 
destroyed() event of the widget with a function that just calls removeView().

After closing and opening the window several times it always crashes somewhere 
inside 
GraphicsWindowQt::swapBuffersImplementation()
where _widget is NULL.


OSG Version: 3.4.1
OS: OpenSuse Leap 42.1

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74115#74115





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] [osgPlugins] Support for paletted images in dds plugin?

2018-06-22 Thread bret curtis
Hi,

as the subject sudjests, will there ever be support for DDPF_PALETTEINDEXED* 
images in the dds plugin:
osgPlugins/dds/ReaderWriterDDS.cpp ?

In OpenMW (that uses OSG), we've come across "mods" that ship with dds files 
that use DDPF_PALETTEINDEXED8

Since our goal is to support these mods out of the box without having to 
contact the original author, it falls to OpenMW to eventually support it. As 
you likely guessed it, OpenMW uses OSG's dds plugin to handle all dds images.

If someone wanted to pick up this torch, would you accept a patch to add 
support?

What we currently see:

Code:
Error loading textures\vurt_wl_cherryb03.dds:  code 1
Error loading textures\vurt_wl_cherryb05.dds:  code 1
Error loading textures\vurt_wl_goldenbark.dds:  code 1




The issue we are tracking internally with resulting image here:
https://gitlab.com/OpenMW/openmw/issues/3668



Thank you!

Cheers,
bret

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74114#74114





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org