Re: [osg-users] [ANN] OSG 3.6.3 Windows VC++ Binaries Posted

2018-11-02 Thread Robert Osfield
Hi Stuart,

On Tue, 30 Oct 2018 at 12:55, Stuart Mentzer  wrote:

> Yes, that would make it easier for people to find them.
>

Great. I have kept it simply with just a one line with a link to the above
download page and link to the company profile.


http://www.openscenegraph.org/index.php/download-section/stable-releases/231-openscenegraph-3-6-3-release-download

If you want me to write/link to anything different let me know.

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


Re: [osg-users] What's the status of .osg files?

2018-11-02 Thread Alexandre Vaillancourt
All right, great summary, thanks a lot!

Le ven. 2 nov. 2018 04:29, Robert Osfield  a
écrit :

> Hi Alexandre,
>
> Officially .osg and .ive are deprecated in favour of the native serializer
> baed formats which are .osgt (ascii), .osgb (binary) and .osgx (xml
> version).  The new serializer based formats were introduced in 3.0.
>
> While the .osg and .ive formats are deprecated we're not about to remove
> them from support, the deprecation is more about "don't use" these as they
> can't support all the functionality that the modern native formats can.
>
> For you own project I would recommend moving over to writing .osgt and
> .osgb by default, and steadily moving over the models you have across.
>
> Cheers,
> Robert
>
>
> On Fri, 2 Nov 2018 at 01:26, Alexandre Vaillancourt <
> alexandre.vaillancourt.l...@gmail.com> wrote:
>
>> Hi all!
>>
>> At the place where I work, we've used OSG for about 10 years; first OSG
>> 3.0 (I think), then 3.2, and we're now transitioning to 3.6. So some of our
>> models are .osg's.
>>
>> For the first time, I'm the one who's building the solution and since I
>> want to reduce the work done (i.e compilation/copy time), I've removed most
>> of the things that we're not using (i.e. the plug-ins).
>>
>> I found myself removing the deprecated plug-ins via
>> BUILD_OSG_DEPRECATED_SERIALIZERS.
>>
>> And then I haven't been able to load the .osg files in our software.
>>
>> - So I assume the .osg model files should no longer be used? (We're using
>> that and .ive model files.)
>> - If that's the case, what's the suggested replacement for text format
>> models?
>> - Do we know when the support will be completely removed from OSG?
>>
>> Thanks!
>> --
>> Alexandre Vaillancourt
>> ___
>> 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] Emscripten build and dlopen

2018-11-02 Thread michael kapelko
Hi. I can't comment on dlopen() usage but here's how i load png
texture and apply it to a model:
https://github.com/OGStudio/openscenegraph-cross-platform-examples/tree/master/02.TextureImage
On Fri, 2 Nov 2018 at 10:10, Jay Maloney  wrote:
>
> I am using the Emscripten build of osg and am running into a problem when I 
> try to use functions like
> Code:
> osgDB::readNodeFile
>
>  and
> Code:
> osgDB::readImageFile
>
> .
>
> Usually I get an exception with the message
>
> > To use dlopen, you need to use Emscripten's linking support, see (cannot 
> > post links) github ... /kripken/emscripten/wiki/Linking
> >
>
>
> The instructions on the page say
>
> > you must load the side module into the filesystem, so that dlopen (or 
> > fopen, etc.) can access it.
>
>
> Currently I have in CMakeLists.txt
>
> Code:
> TARGET_LINK_LIBRARIES(
> main
> osgViewer
> osgDB
> # osgDB plugins start.
> osgdb_osg
> osgdb_glsl
> osgdb_tga
> osgdb_serializers_osg
> osgdb_serializers_osgtext
> # osgDB plugins end.
> osgGA
> osgText
> osgUtil
> osg
> osgShadow
> OpenThreads
> )
>
>
>
> So, does anyone know what is supposed to be done here? I am able to load 
> .osgt and .osgb nodes but can't load other file nodes or image files like png 
> or tga.
>
> Do you have to actually do the loading of the side module, if so which file? 
> The osglib*.a plugins?
>
> Is there a way to load files without dlopen?[/code]
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=74970#74970
>
>
>
>
>
> ___
> 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] [forum] Unable to run example (QTCreator, CMake, Windows)

2018-11-02 Thread Robert Osfield
Hi Dylan,

Try using OSG_DIR to point to your install location.

Robert.

On Fri, 2 Nov 2018 at 07:10, Dylan Webster  wrote:

> Hello,
>
> I have built OSG on my Windows 10 machine and am now trying to run the
> "osgCMakeExample" example with QTCreator and CMake. No luck!  I've defined
> an environment variable "OSG_ROOT" at my install location, but I receive
> error messages for each library:
>
> "Could NOT find osg (missing: OSG_LIBRARY)"
>
> I get the equivalent message for each library. Anyone have any experience
> getting OSG to build via CMake in QTCreator?
>
> Thanks,
> Dylan
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=75160#75160
>
>
>
>
>
> ___
> 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] What's the status of .osg files?

2018-11-02 Thread Robert Osfield
Hi Alexandre,

Officially .osg and .ive are deprecated in favour of the native serializer
baed formats which are .osgt (ascii), .osgb (binary) and .osgx (xml
version).  The new serializer based formats were introduced in 3.0.

While the .osg and .ive formats are deprecated we're not about to remove
them from support, the deprecation is more about "don't use" these as they
can't support all the functionality that the modern native formats can.

For you own project I would recommend moving over to writing .osgt and
.osgb by default, and steadily moving over the models you have across.

Cheers,
Robert


On Fri, 2 Nov 2018 at 01:26, Alexandre Vaillancourt <
alexandre.vaillancourt.l...@gmail.com> wrote:

> Hi all!
>
> At the place where I work, we've used OSG for about 10 years; first OSG
> 3.0 (I think), then 3.2, and we're now transitioning to 3.6. So some of our
> models are .osg's.
>
> For the first time, I'm the one who's building the solution and since I
> want to reduce the work done (i.e compilation/copy time), I've removed most
> of the things that we're not using (i.e. the plug-ins).
>
> I found myself removing the deprecated plug-ins via
> BUILD_OSG_DEPRECATED_SERIALIZERS.
>
> And then I haven't been able to load the .osg files in our software.
>
> - So I assume the .osg model files should no longer be used? (We're using
> that and .ive model files.)
> - If that's the case, what's the suggested replacement for text format
> models?
> - Do we know when the support will be completely removed from OSG?
>
> Thanks!
> --
> Alexandre Vaillancourt
> ___
> 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] [forum] Unable to run example (QTCreator, CMake, Windows)

2018-11-02 Thread Dylan Webster
Hello,

I have built OSG on my Windows 10 machine and am now trying to run the 
"osgCMakeExample" example with QTCreator and CMake. No luck!  I've defined an 
environment variable "OSG_ROOT" at my install location, but I receive error 
messages for each library:

"Could NOT find osg (missing: OSG_LIBRARY)"

I get the equivalent message for each library. Anyone have any experience 
getting OSG to build via CMake in QTCreator?

Thanks,
Dylan

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





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


[osg-users] Emscripten build and dlopen

2018-11-02 Thread Jay Maloney
I am using the Emscripten build of osg and am running into a problem when I try 
to use functions like 
Code:
osgDB::readNodeFile

 and 
Code:
osgDB::readImageFile

.

Usually I get an exception with the message

> To use dlopen, you need to use Emscripten's linking support, see (cannot post 
> links) github ... /kripken/emscripten/wiki/Linking
> 


The instructions on the page say

> you must load the side module into the filesystem, so that dlopen (or fopen, 
> etc.) can access it.


Currently I have in CMakeLists.txt  

Code:
TARGET_LINK_LIBRARIES(
main
osgViewer
osgDB
# osgDB plugins start.
osgdb_osg
osgdb_glsl
osgdb_tga
osgdb_serializers_osg
osgdb_serializers_osgtext
# osgDB plugins end.
osgGA
osgText
osgUtil
osg
osgShadow
OpenThreads
)



So, does anyone know what is supposed to be done here? I am able to load .osgt 
and .osgb nodes but can't load other file nodes or image files like png or tga. 

Do you have to actually do the loading of the side module, if so which file? 
The osglib*.a plugins?

Is there a way to load files without dlopen?[/code]

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





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


[osg-users] Rendering multiple screens

2018-11-02 Thread Nathalie Ruano
Hi,

I'm fairly new to the the osg community but I'm currently trying to create a 
program that will span over 4 screens (same view different angles).

I tried to setup viewer.setUpViewAcrossAllScreens() but it crashes claiming the 
following:

Error: win32windowingsystem::getsampleopenGLcontext() - unable to create  an 
OpenGL rendering context
Grapicswindow has not been created succesfully.
 Error: win32windowingsystem::getsampleopenGLcontext() - unable to create  an 
OpenGL rendering context
Grapicswindow has not been created succesfully.
Error: [screen #0] GraphicsWindowWin32::makeCurrentImplementation() - Window 
not realized; cannot do makeCurrent.
Warning: detected OpenGL error 'invalid operation' at Before Renderer::compile
Warning: detected OpenGL error 'invalid operation' at start of 
GLOBjectsVisitor::apply(osg::Drawable& drawable)

Any help would be great !

Thanks,
Nat

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





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