David Guthrie | 28 May 15:52 2015

OS X (10.9) Texture2D with hardware compression results in no texture data.

Hello everyone,

I started upgrading delta3d to use osg 3.3.x, but I ran into a strange problem that that seems like it must be
something that changed in the osg::Texture code, thought it only manifests on OS X.  The texture is setting
compressed mode, I think it turns on mip mapping correctly, and it ends up calling
extensions->glCompressedTexSubImage2D().  

The only reason I think it has to be in this code, is that I tried it with an ive file that has compressed
textures.  Those load straight into the image object from the ive file, and into the Texture2D.

I can export the textures from the ive, and read them in an image tool, and I can load the ive and works fine on
Windows.  In case you get the wrong idea, I have an application with many different file formats and both
extrernal and embedded textures.  Not a single compressed image we have will load properly on OS X, but they
all work on in OSG 3.2.1.  

Any thoughts would be appreciated!

Thanks,
David

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

Mike Connell | 28 May 09:12 2015
Picon

DatabasePager - how to modify data during loading

Hi all!

I am finishing up some work which involves modifying nodes as they are loaded via the database pager - I want to edit the data after it is loaded, but before it is added to the scenegraph. I also need to know the destination (future parent) node in the scenegraph where the edited node will be located.

It looks to me like a suitable location for this work is pretty much in the middle of DatabaseThread::run - after the node is loaded via readNode (), but before it is added to the file cache. All the data I need appears to be held in the DatabaseRequest object.

Is there another (simpler?) way of inserting my code into the loading process?

If the middle of the run method is the best location, would a patch to allow a optional callback function to be called be considered?

best wishes

Mike
<div><div dir="ltr">
<div>
<div>Hi all!<br><br>
</div>I am finishing up some work which involves modifying nodes as they are loaded via the database pager - I want to edit the data after it is loaded, but before it is added to the scenegraph. I also need to know the destination (future parent) node in the scenegraph where the edited node will be located. <br><br>
</div>
<div>It looks to me like a suitable location for this work is pretty much in the middle of DatabaseThread::run - after the node is loaded via readNode (), but before it is added to the file cache. All the data I need appears to be held in the DatabaseRequest object. <br><br>
</div>
<div>Is there another (simpler?) way of inserting my code into the loading process?<br><br>
</div>
<div>If the middle of the run method is the best location, would a patch to allow a optional callback function to be called be considered? <br><br>
</div>
<div>best wishes<br><br>
</div>
<div>Mike <br>
</div>
</div></div>
Joshua Robinson | 27 May 23:10 2015
Picon

error build


Howdy,

1)  Downloaded a fresh copy of::  OpenSceneGraph-3.2.2 release candidate 2

2)  Created a build directory out of source ::: osg_build3.2.2-rc2

3)  Ran cmake ../OpenSceneGraph-3.2.2-rc2/ -DCMAKE_BUILD_TYPE=Debug > osg_cmake.txt

4)  Error see attached file.

Any suggestions ?  Is Qt a must ?

Cheers,
-Joshua Robinson

-- The C compiler identification is GNU 4.8.1
-- The CXX compiler identification is GNU 4.8.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in
/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so  
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.1") 
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") 
-- checking for module 'gta'
--   package 'gta' not found
-- Could NOT find CURL (missing:  CURL_LIBRARY CURL_INCLUDE_DIR) 
-- Could NOT find SDL (missing:  SDL_LIBRARY SDL_INCLUDE_DIR) 
-- checking for module 'cairo'
--   found cairo, version 1.12.16
-- checking for module 'poppler-glib'
--   package 'poppler-glib' not found
-- checking for module 'librsvg-2.0>=2.35'
--   package 'librsvg-2.0>=2.35' not found
-- checking for module 'gtk+-2.0'
--   found gtk+-2.0, version 2.24.20
-- checking for module 'gtkglext-x11-1.0'
--   package 'gtkglext-x11-1.0' not found
-- Boost version: 1.53.0
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake (found version "4.8.4") 
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so  
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8") 
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.2.49") 
-- Found TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (found version "4.0.2") 
-- Performing Test _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS
-- Performing Test _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS - Success
-- Performing Test _OPENTHREADS_ATOMIC_USE_MIPOSPRO_BUILTINS
-- Performing Test _OPENTHREADS_ATOMIC_USE_MIPOSPRO_BUILTINS - Failed
-- Performing Test _OPENTHREADS_ATOMIC_USE_SUN
-- Performing Test _OPENTHREADS_ATOMIC_USE_SUN - Failed
-- Performing Test _OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED
-- Performing Test _OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED - Failed
-- Performing Test _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC
-- Performing Test _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC - Failed
-- Looking for pthread_yield
-- Looking for pthread_yield - not found
-- Looking for sched_yield
-- Looking for sched_yield - found
-- Looking for pthread_setconcurrency
-- Looking for pthread_setconcurrency - not found
-- Looking for pthread_getconcurrency
-- Looking for pthread_getconcurrency - not found
-- Looking for pthread_setaffinity_np
-- Looking for pthread_setaffinity_np - not found
-- Performing Test HAVE_THREE_PARAM_SCHED_SETAFFINITY
-- Performing Test HAVE_THREE_PARAM_SCHED_SETAFFINITY - Success
-- checking for module 'xrandr'
--   found xrandr, version 1.4.0
-- Looking for gethostbyname in nsl
-- Looking for gethostbyname in nsl - found
-- Looking for socket in socket
-- Looking for socket in socket - not found
-- Configuring incomplete, errors occurred!
-- The C compiler identification is GNU 4.8.1
-- The CXX compiler identification is GNU 4.8.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in
/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so  
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.1") 
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") 
-- checking for module 'gta'
--   package 'gta' not found
-- Could NOT find CURL (missing:  CURL_LIBRARY CURL_INCLUDE_DIR) 
-- Could NOT find SDL (missing:  SDL_LIBRARY SDL_INCLUDE_DIR) 
-- checking for module 'cairo'
--   found cairo, version 1.12.16
-- checking for module 'poppler-glib'
--   package 'poppler-glib' not found
-- checking for module 'librsvg-2.0>=2.35'
--   package 'librsvg-2.0>=2.35' not found
-- checking for module 'gtk+-2.0'
--   found gtk+-2.0, version 2.24.20
-- checking for module 'gtkglext-x11-1.0'
--   package 'gtkglext-x11-1.0' not found
-- Boost version: 1.53.0
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake (found version "4.8.4") 
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so  
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8") 
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.2.49") 
-- Found TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (found version "4.0.2") 
-- Performing Test _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS
-- Performing Test _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS - Success
-- Performing Test _OPENTHREADS_ATOMIC_USE_MIPOSPRO_BUILTINS
-- Performing Test _OPENTHREADS_ATOMIC_USE_MIPOSPRO_BUILTINS - Failed
-- Performing Test _OPENTHREADS_ATOMIC_USE_SUN
-- Performing Test _OPENTHREADS_ATOMIC_USE_SUN - Failed
-- Performing Test _OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED
-- Performing Test _OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED - Failed
-- Performing Test _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC
-- Performing Test _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC - Failed
-- Looking for pthread_yield
-- Looking for pthread_yield - not found
-- Looking for sched_yield
-- Looking for sched_yield - found
-- Looking for pthread_setconcurrency
-- Looking for pthread_setconcurrency - not found
-- Looking for pthread_getconcurrency
-- Looking for pthread_getconcurrency - not found
-- Looking for pthread_setaffinity_np
-- Looking for pthread_setaffinity_np - not found
-- Performing Test HAVE_THREE_PARAM_SCHED_SETAFFINITY
-- Performing Test HAVE_THREE_PARAM_SCHED_SETAFFINITY - Success
-- checking for module 'xrandr'
--   found xrandr, version 1.4.0
-- Looking for gethostbyname in nsl
-- Looking for gethostbyname in nsl - found
-- Looking for socket in socket
-- Looking for socket in socket - not found
-- Configuring incomplete, errors occurred!
Cary, Karl A. | 27 May 16:32 2015

Issue Subclassing GraphicsWindowX11

I need to subclass the GraphicsWindowX11 class in order to provide a custom swapBuffersImplementation.
However, when I do this I then get a really random error in the middle of one of my enumerations (expected
identifier before numeric constant). It happens when I include
osgViewer/api/X11/GraphicsWindowX11, which I have to include in order to subclass
GraphicsWindowX11. If not I am told 'expected class name before {'. As for the enumeration, it happens on
the definition of an enumeration value called 'None' (NOTE: the value is called None, not the
enumeration). It is a 3rd party header/library so it cannot be changed. Any idea what is going on? Or is
there a different way I need to be including/subclassing/declaring GraphicsWindowX11? Thank you.

#include <osgViewer/GraphicsWindow>
#include <osgViewer/api/X11/GraphicsWindowX11>

class MyWindow : public osgViewer::GraphicsWindowX11
{
	public:
		MyWindow(osg::GraphicsContext::Traits* traits):
			osgViewer::GraphicsWindowX11(traits) {}

		virtual void swapBuffersImplementation();
};
Attachment (smime.p7s): application/pkcs7-signature, 7599 bytes
I need to subclass the GraphicsWindowX11 class in order to provide a custom swapBuffersImplementation.
However, when I do this I then get a really random error in the middle of one of my enumerations (expected
identifier before numeric constant). It happens when I include
osgViewer/api/X11/GraphicsWindowX11, which I have to include in order to subclass
GraphicsWindowX11. If not I am told 'expected class name before {'. As for the enumeration, it happens on
the definition of an enumeration value called 'None' (NOTE: the value is called None, not the
enumeration). It is a 3rd party header/library so it cannot be changed. Any idea what is going on? Or is
there a different way I need to be including/subclassing/declaring GraphicsWindowX11? Thank you.

#include <osgViewer/GraphicsWindow>
#include <osgViewer/api/X11/GraphicsWindowX11>

class MyWindow : public osgViewer::GraphicsWindowX11
{
	public:
		MyWindow(osg::GraphicsContext::Traits* traits):
			osgViewer::GraphicsWindowX11(traits) {}

		virtual void swapBuffersImplementation();
};
Sebastian Messerschmidt | 27 May 15:58 2015
Picon
Picon

Re: osgmovie error



Howdy,

I have 4 things to say:

1)   I compared OSG to OpenInventor or OpenCV and it is a toy.
And OpenInventor/OpenCV compare to OpenSceneGraph how exactly?
OpenInventor has a strong focus on 3D in the CAD area, but I haven't seen any military/industry grade simulator build around it.
Also stop flaming - If you don't like it fine. No one is forcing you to use it.


2)   I download osgmovie.cpp (attached a copy) and add it to my cmake file that works fine on other downloaded sample code.

osgmovie.cpp, Line #150 + 151
view->computeIntersections takes x,y and not ea as parameters.
Ok, so you are expecting to download some sample code from somewhere and and expect it to compile with an arbitrary version of OSG (you didn't even mention the version)
Instead of downloading the complete source package you are complaining about combining non-compatible versions of OSG and some example version ...
OSG has versioning, and evolves, so there might be incompatiblities. That's why the examples are included in the source and are adapted accordingly.


3)   ==== the error ====

Sorry for being harsh, but the error here is between the keyboard and the chair.
You simply could have asked where to start, instead of ranting about OSG being a toy etc.
Judging OSG based on a self-induced compiler error shows nothing but ignorance to me.

Cheers
Sebastian

4)   Cheers :),
-Joshua Robinson
"Live long and prosper"



On Wed, May 27, 2015 at 8:27 AM, Sebastian Messerschmidt <sebastian.messerschmidt-Mmb7MZpHnFY@public.gmane.org> wrote:
Am 27.05.2015 um 13:54 schrieb Joshua Robinson:

Howdy,

Newbie to OSG.

Downloaded osgmovie.c++ to learn, But can't compile: first look show wrong coding.
What exactly did not compile?
The example is part of the osg-source package and builds fine with the rest. So please point to where you downloaded which version etc.


Q:  I wonder how uncompiled code end up as a sample for newbies ?
This doesn't make sense at all. Compiled coded is usually an executable or library, so it won't serve as a sample how to do things.
And the example code, even if not the nicest at some point due to #defines etc, compiles just fine and shows how to load and display a video and audio stream.
So what else would be anyone's expectation?


So far my personal impression from OSG that it is a toy, not ready for ...
I've been using OSG in a professional environment and industry applications for years, so this is really silly to say.
Please elaborate where you need help and where others can point you into the right direction

Cheers,
-Joshua Robinson
"Live long and prosper"


_______________________________________________ osg-users mailing list osg-users-ZwoEplunGu0hajLcUbyfC12AsgEQdTeF@public.gmane.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


_______________________________________________
osg-users mailing list
osg-users-ZwoEplunGu0hajLcUbyfC12AsgEQdTeF@public.gmane.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




_______________________________________________ osg-users mailing list osg-users-ZwoEplunGu0hajLcUbyfC12AsgEQdTeF@public.gmane.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

<div>
    <div class="moz-cite-prefix"><br></div>
    <blockquote cite="mid:CAGK9Mo__HwwTj4SWQZ+raqYwO8ud=EJxB2Tp8eUJ2bB2vfZAPg@...ail.com" type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div>
            <div class="gmail_signature">
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">
                            <div>
                              <div dir="ltr">
                                <div>
                                  <div dir="ltr">
                                    <div>
                                      <div dir="ltr">
                                        <div>
                                          <div dir="ltr">
                                            <div>
                                              <div dir="ltr">
                                                <div>
                                                  <div dir="ltr">
                                                    <div>
                                                      <div dir="ltr">
                                                        <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div><br></div>
                                                          <div>Howdy,<br><br>
</div>
                                                          <div>I have 4
                                                          things to say:<br>
</div>
                                                          <div>
<br>
                                                          1)&nbsp;&nbsp; I
                                                          compared OSG
                                                          to
                                                          OpenInventor
                                                          or OpenCV and
                                                          it is a toy.<br>
</div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                        </div>
                                                      </div>
                                                    </div>
                                                  </div>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    And OpenInventor/OpenCV compare to OpenSceneGraph how exactly? <br>
    OpenInventor has a strong focus on 3D in the CAD area, but I haven't
    seen any military/industry grade simulator build around it. <br>
    Also stop flaming - If you don't like it fine. No one is forcing you
    to use it. <br><br><blockquote cite="mid:CAGK9Mo__HwwTj4SWQZ+raqYwO8ud=EJxB2Tp8eUJ2bB2vfZAPg@...ail.com" type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div>
            <div class="gmail_signature">
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">
                            <div>
                              <div dir="ltr">
                                <div>
                                  <div dir="ltr">
                                    <div>
                                      <div dir="ltr">
                                        <div>
                                          <div dir="ltr">
                                            <div>
                                              <div dir="ltr">
                                                <div>
                                                  <div dir="ltr">
                                                    <div>
                                                      <div dir="ltr">
                                                        <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div><br></div>
                                                          <div>2)&nbsp;&nbsp; I
                                                          download
                                                          osgmovie.cpp
                                                          (attached a
                                                          copy) and add
                                                          it to my cmake
                                                          file that
                                                          works fine on
                                                          other
                                                          downloaded
                                                          sample code.<br><br>
                                                          osgmovie.cpp,
                                                          Line #150 +
                                                          151<br>
                                                          view-&gt;computeIntersections
                                                          takes x,y and
                                                          not ea as
                                                          parameters.<br>
</div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                        </div>
                                                      </div>
                                                    </div>
                                                  </div>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    Ok, so you are expecting to download some sample code from somewhere
    and and expect it to compile with an arbitrary version of OSG (you
    didn't even mention the version)<br>
    Instead of downloading the complete source package you are
    complaining about combining non-compatible versions of OSG and some
    example version ... <br>
    OSG has versioning, and evolves, so there might be incompatiblities.
    That's why the examples are included in the source and are adapted
    accordingly.<br><br><blockquote cite="mid:CAGK9Mo__HwwTj4SWQZ+raqYwO8ud=EJxB2Tp8eUJ2bB2vfZAPg@...ail.com" type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div>
            <div class="gmail_signature">
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">
                            <div>
                              <div dir="ltr">
                                <div>
                                  <div dir="ltr">
                                    <div>
                                      <div dir="ltr">
                                        <div>
                                          <div dir="ltr">
                                            <div>
                                              <div dir="ltr">
                                                <div>
                                                  <div dir="ltr">
                                                    <div>
                                                      <div dir="ltr">
                                                        <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div><br></div>
                                                          <div>3)&nbsp;&nbsp; ====
                                                          the error ====<br>
</div>
                                                          <div dir="ltr"><br></div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                        </div>
                                                      </div>
                                                    </div>
                                                  </div>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    Sorry for being harsh, but the error here is between the keyboard
    and the chair. <br>
    You simply could have asked where to start, instead of ranting about
    OSG being a toy etc. <br>
    Judging OSG based on a self-induced compiler error shows nothing but
    ignorance to me.<br><br>
    Cheers<br>
    Sebastian <br><blockquote cite="mid:CAGK9Mo__HwwTj4SWQZ+raqYwO8ud=EJxB2Tp8eUJ2bB2vfZAPg@...ail.com" type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div>
            <div class="gmail_signature">
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">
                            <div>
                              <div dir="ltr">
                                <div>
                                  <div dir="ltr">
                                    <div>
                                      <div dir="ltr">
                                        <div>
                                          <div dir="ltr">
                                            <div>
                                              <div dir="ltr">
                                                <div>
                                                  <div dir="ltr">
                                                    <div>
                                                      <div dir="ltr">
                                                        <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
<br>
                                                          4)&nbsp;&nbsp; Cheers
                                                          :),<br>
                                                          -Joshua
                                                          Robinson<br>
</div>
                                                          <div>
<span></span>"Live
                                                          long and
                                                          prosper"<br>
</div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                        </div>
                                                      </div>
                                                    </div>
                                                  </div>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <br><br><br><div class="gmail_quote">On Wed, May 27, 2015 at 8:27 AM,
            Sebastian Messerschmidt <span dir="ltr">&lt;<a moz-do-not-send="true" href="mailto:sebastian.messerschmidt@..." target="_blank">sebastian.messerschmidt@...</a>&gt;</span>
            wrote:<br><blockquote class="gmail_quote">
              <div bgcolor="#FFFFFF" text="#000000">
<span class="">
                  <div>Am 27.05.2015 um 13:54 schrieb Joshua Robinson:<br>
</div>
                  <blockquote type="cite">
                    <div dir="ltr">
<br clear="all"><div>
                        <div>
                          <div dir="ltr">
                            <div>
                              <div dir="ltr">
                                <div>
                                  <div dir="ltr">
                                    <div>
                                      <div dir="ltr">
                                        <div>
                                          <div dir="ltr">
                                            <div>
                                              <div dir="ltr">
                                                <div>
                                                  <div dir="ltr">
                                                    <div>
                                                      <div dir="ltr">
                                                        <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div>Howdy,<br>
</div>
                                                          <div dir="ltr">
<span><span></span></span><br>
</div>
                                                          <div>Newbie to
                                                          OSG. <br><br>
</div>
                                                          <div>Downloaded

                                                          osgmovie.c++
                                                          to learn, But
                                                          can't compile:
                                                          first look
                                                          show wrong
                                                          coding.<br>
</div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                        </div>
                                                      </div>
                                                    </div>
                                                  </div>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </blockquote>
                </span> What exactly did not compile? <br>
                The example is part of the osg-source package and builds
                fine with the rest. So please point to where you
                downloaded which version etc.<span class=""><br><br><blockquote type="cite">
                    <div dir="ltr">
                      <div>
                        <div>
                          <div dir="ltr">
                            <div>
                              <div dir="ltr">
                                <div>
                                  <div dir="ltr">
                                    <div>
                                      <div dir="ltr">
                                        <div>
                                          <div dir="ltr">
                                            <div>
                                              <div dir="ltr">
                                                <div>
                                                  <div dir="ltr">
                                                    <div>
                                                      <div dir="ltr">
                                                        <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div>
<br>
                                                          Q:&nbsp; I wonder
                                                          how uncompiled
                                                          code end up as
                                                          a sample for
                                                          newbies ?<br>
</div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                        </div>
                                                      </div>
                                                    </div>
                                                  </div>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </blockquote>
                </span> This doesn't make sense at all. Compiled coded
                is usually an executable or library, so it won't serve
                as a sample how to do things.<br>
                And the example code, even if not the nicest at some
                point due to #defines etc, compiles just fine and shows
                how to load and display a video and audio stream. <br>
                So what else would be anyone's expectation? <br><span class=""> <br><blockquote type="cite">
                    <div dir="ltr">
                      <div>
                        <div>
                          <div dir="ltr">
                            <div>
                              <div dir="ltr">
                                <div>
                                  <div dir="ltr">
                                    <div>
                                      <div dir="ltr">
                                        <div>
                                          <div dir="ltr">
                                            <div>
                                              <div dir="ltr">
                                                <div>
                                                  <div dir="ltr">
                                                    <div>
                                                      <div dir="ltr">
                                                        <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div><br></div>
                                                          <div>So far my
                                                          personal
                                                          impression
                                                          from OSG that
                                                          it is a toy,
                                                          not ready for
                                                          ... <br>
</div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                        </div>
                                                      </div>
                                                    </div>
                                                  </div>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </blockquote>
                </span> I've been using OSG in a professional
                environment and industry applications for years, so this
                is really silly to say. <br>
                Please elaborate where you need help and where others
                can point you into the right direction<br><blockquote type="cite">
<span class="">
                    <div dir="ltr">
                      <div>
                        <div>
                          <div dir="ltr">
                            <div>
                              <div dir="ltr">
                                <div>
                                  <div dir="ltr">
                                    <div>
                                      <div dir="ltr">
                                        <div>
                                          <div dir="ltr">
                                            <div>
                                              <div dir="ltr">
                                                <div>
                                                  <div dir="ltr">
                                                    <div>
                                                      <div dir="ltr">
                                                        <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
<br>
                                                          Cheers,<br>
                                                          -Joshua
                                                          Robinson<br>
</div>
                                                          <div>
<span></span>"Live

                                                          long and
                                                          prosper"<br>
</div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                        </div>
                                                      </div>
                                                    </div>
                                                  </div>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                    <br><br></span>
                  _______________________________________________
osg-users mailing list
<a moz-do-not-send="true" href="mailto:osg-users@....org" target="_blank">osg-users@...</a>
<a moz-do-not-send="true" href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a>

                </blockquote>
                <br>
</div>
              <br>
              _______________________________________________<br>
              osg-users mailing list<br><a moz-do-not-send="true" href="mailto:osg-users@...">osg-users@...</a><br><a moz-do-not-send="true" href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br><br>
</blockquote>
          </div>
          <br>
</div>
      </div>
      <br><br>_______________________________________________
osg-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:osg-users@...scenegraph.org">osg-users@...</a>
<a class="moz-txt-link-freetext" href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a>

    </blockquote>
    <br>
</div>
Joshua Robinson | 27 May 13:54 2015
Picon

osgmovie error


Howdy,

Newbie to OSG.

Downloaded osgmovie.c++ to learn, But can't compile: first look show wrong coding.

Q:  I wonder how uncompiled code end up as a sample for newbies ?

So far my personal impression from OSG that it is a toy, not ready for ...

Cheers,
-Joshua Robinson
"Live long and prosper"
<div><div dir="ltr">
<br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>
<div>Howdy,<br>
</div>
<div dir="ltr">
<span><span></span></span><br>
</div>
<div>Newbie to OSG. <br><br>
</div>
<div>Downloaded osgmovie.c++ to learn, But can't compile: first look show wrong coding.<br><br>Q:&nbsp; I wonder how uncompiled code end up as a sample for newbies ?<br><br>
</div>
<div>So far my personal impression from OSG that it is a toy, not ready for ... <br>
</div>
<div dir="ltr">
<br>Cheers,<br>-Joshua Robinson<br>
</div>
<div>
<span></span>"Live long and prosper"<br>
</div>
</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div>
Farshid Lashkari | 26 May 19:24 2015
Picon

Global draw callback

Hi Robert,

I've run into the situation multiple times where having a global draw callback would have been very convenient. It's mostly been for debugging scenarios, but I can also see other situations where being able to globally augment draw calls would also be useful.

What are your thoughts on having a global draw callback part of the osg::State object? It doesn't seem like much code would need to be changed, and the performance impact should be minimal. 

Essentially, osgUtil::RenderLeaf would be modified to call:

state.draw(_drawable, renderInfo);

And osg::State::draw would look like:

if(_drawCallback.valid()) _drawCallback->draw(_drawable, renderInfo);
else _drawable->draw(renderInfo);

Does this seem like a reasonable feature to add? I can work on a patch if you feel it's appropriate.

Cheers,
Farshid
<div><div dir="ltr">Hi Robert,<div><br></div>
<div>I've run into the situation multiple times where having a global draw callback would have been very convenient. It's mostly been for debugging scenarios, but I can also see other situations where being able to globally augment draw calls would also be useful.</div>
<div><br></div>
<div>What are your thoughts on having a global draw callback part of the osg::State object? It doesn't seem like much code would need to be changed, and the performance impact should be minimal.&nbsp;</div>
<div><br></div>
<div>Essentially, osgUtil::RenderLeaf would be modified to call:</div>
<div><br></div>
<div>state.draw(_drawable, renderInfo);</div>
<div><br></div>
<div>And osg::State::draw would look like:</div>
<div><br></div>
<div>if(_drawCallback.valid())&nbsp;_drawCallback-&gt;draw(_drawable, renderInfo);</div>
<div>else&nbsp;_drawable-&gt;draw(renderInfo);</div>
<div><br></div>
<div>Does this seem like a reasonable feature to add? I can work on a patch if you feel it's appropriate.</div>
<div><br></div>
<div>Cheers,</div>
<div>Farshid</div>
</div></div>
Joshua Robinson | 26 May 07:34 2015
Picon

undefined reference


Howdy Romulans & Vulcans,

Newbie to OSG, trying to compile sample program osgWidget, get the following error ... any help is appreciated.

undefined reference to `osgWidget::Widget::addColor(float, float, float, float, osgWidget::Widget::Corner)'

######################################
#cmake file - For ALL myProjects
#
cmake_minimum_required(VERSION 2.8)
set(PROJECT_VERSION "1.0")
set(EXECUTABLE_OUTPUT_PATH "./" )
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "/usr/local/lib/cmake/" "/usr/lib/cmake")
set(PROJECT_NAME home-prj01)
#
project(${PROJECT_NAME})
#
include_directories(${GNULIBS_INCLUDE_DIR} ${OPENGL_INCLUDE_DIR} ${GLUT_INCLUDE_DIRS}
                    ${AR_DIRS} ${OpenCV_INCLUDE_DIRS} ${OPENSCENEGRAPH_INCLUDE_DIRS} "./dep/include")
# Find Packages
FIND_PACKAGE(OpenGL         REQUIRED)
FIND_PACKAGE(OpenSceneGraph REQUIRED)
FIND_PACKAGE(osg            REQUIRED)
FIND_PACKAGE(osgDB          REQUIRED)
FIND_PACKAGE(osgGA          REQUIRED)
FIND_PACKAGE(osgViewer      REQUIRED)
FIND_PACKAGE(osgWidget      REQUIRED)
FIND_PACKAGE(osgUtil        REQUIRED)
FIND_PACKAGE(OpenThreads    REQUIRED)
FIND_PACKAGE(OpenCV         REQUIRED)
FIND_PACKAGE(aruco          REQUIRED)
#
file( GLOB SOURCE "*.h" "osgWidgetCanvas.cpp" )
#
set(myOGL_LIBS ${OPENGL_LIBRARIES} ${GLUT_LIBRARIES})
set(myOSG_LIBS ${OSG_LIBRARY} ${OSG_LIBS} ${OSGGA_LIBRARY} ${OSGDB_LIBRARY}
             ${OSGVIEWER_LIBRARY} ${OSGUTIL_LIBRARY} ${OSG}
             ${OPENSCENEGRAPH_LIBRARIES} ${OPENTHREADS_LIBRARY})
set(myAR_LIBS ${aruco_LIBS})
set(myOCV_LIB ${OpenCV_LIBS})
set(ALL_LIBRARIES ${myOGL_LIBS} ${myOSG_LIBS} ${myOCV_LIBS} ${myAR_LIBS})
#
link_directories(${OpenCV_LIB_DIR} ${OPENSCENEGRAPH_LIBRARY_DIR} "./dep/lib")
add_executable(${PROJECT_NAME} ${SOURCE})
target_link_libraries(${PROJECT_NAME} ${ALL_LIBRARIES})
# end
############################################################################


What library  am I missing ?


Cheers,
-Joshua Robinson
"Live long and prosper" - Spock, a volcan.
<div><div dir="ltr">
<br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>
<div>Howdy Romulans &amp; Vulcans,<br>
</div>
<div dir="ltr">
<span><span></span></span><br>
</div>
<div>Newbie to OSG, trying to compile sample program osgWidget, get the following error ... any help is appreciated.<br>
</div>
<div dir="ltr">
<br>undefined reference to `osgWidget::Widget::addColor(float, float, float, float, osgWidget::Widget::Corner)'<br><br>######################################<br>#cmake file - For ALL myProjects<br>#<br>cmake_minimum_required(VERSION 2.8)<br>set(PROJECT_VERSION "1.0")<br>set(EXECUTABLE_OUTPUT_PATH "./" )<br>set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "/usr/local/lib/cmake/" "/usr/lib/cmake")<br>set(PROJECT_NAME home-prj01)<br>#<br>project(${PROJECT_NAME})<br>#<br>include_directories(${GNULIBS_INCLUDE_DIR} ${OPENGL_INCLUDE_DIR} ${GLUT_INCLUDE_DIRS} <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ${AR_DIRS} ${OpenCV_INCLUDE_DIRS} ${OPENSCENEGRAPH_INCLUDE_DIRS} "./dep/include")<br># Find Packages<br>FIND_PACKAGE(OpenGL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; REQUIRED)<br>FIND_PACKAGE(OpenSceneGraph REQUIRED)<br>FIND_PACKAGE(osg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; REQUIRED)<br>FIND_PACKAGE(osgDB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; REQUIRED)<br>FIND_PACKAGE(osgGA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; REQUIRED)<br>FIND_PACKAGE(osgViewer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; REQUIRED)<br>FIND_PACKAGE(osgWidget&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; REQUIRED)<br>FIND_PACKAGE(osgUtil&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; REQUIRED)<br>FIND_PACKAGE(OpenThreads&nbsp;&nbsp;&nbsp; REQUIRED)<br>FIND_PACKAGE(OpenCV&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; REQUIRED)<br>FIND_PACKAGE(aruco&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; REQUIRED)<br>#<br>file( GLOB SOURCE "*.h" "osgWidgetCanvas.cpp" )<br>#<br>set(myOGL_LIBS ${OPENGL_LIBRARIES} ${GLUT_LIBRARIES})<br>set(myOSG_LIBS ${OSG_LIBRARY} ${OSG_LIBS} ${OSGGA_LIBRARY} ${OSGDB_LIBRARY} <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ${OSGVIEWER_LIBRARY} ${OSGUTIL_LIBRARY} ${OSG}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ${OPENSCENEGRAPH_LIBRARIES} ${OPENTHREADS_LIBRARY})<br>set(myAR_LIBS ${aruco_LIBS})<br>set(myOCV_LIB ${OpenCV_LIBS})<br>set(ALL_LIBRARIES ${myOGL_LIBS} ${myOSG_LIBS} ${myOCV_LIBS} ${myAR_LIBS})<br>#<br>link_directories(${OpenCV_LIB_DIR} ${OPENSCENEGRAPH_LIBRARY_DIR} "./dep/lib")<br>add_executable(${PROJECT_NAME} ${SOURCE})<br>target_link_libraries(${PROJECT_NAME} ${ALL_LIBRARIES})<br># end<br>############################################################################<br><br><br>
</div>
<div>What library&nbsp; am I missing ?<br>
</div>
<div dir="ltr">
<br><br>Cheers,<br>-Joshua Robinson<br>
</div>
<div>
<span></span>"Live long and prosper" - Spock, a volcan.<br>
</div>
</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div>
Robert Gosztyla | 25 May 13:45 2015
Picon

Android + multiple views

Hi,

I'm developing simple Android app, with two separate views using osg. Got problem with simultaneously
running these two. Whole code is based on existing examples in osg distribution
(osgAndroidExampleGLES1 and osgAndroidExampleGLES2). Ii'm putting on layout two views (like ELGView
class from above examples) and got application crash. I was trying to adopt somehow osgcompositeviewer
example, but it isn't working even with single view. Anyone can direct me to working example with two
separate GL views, both using OSG on the same layout? Hints are also highly welcome.

Thank you!

Cheers,
Robert

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

Christian Kehl | 25 May 11:10 2015
Picon

Re: Android osgPlugins

Hi,

I still didn't get it to work. I spoke with an Android developer the recent days, told him the problem. His
suggestion: move the requested library files in the libs-folder of your project, which is how the Android
jni usually works. Said and done, I created a folder in osgSimple called "libs" and copied the
OpenSceneGraph 3.3.8 library files (static libraries) into the "libs" folder. Unfortunately, I still
get the same error, the app searches for the dynamic library (at least according to LogCat). Any further
ideas ? I can still try a dynamic compile of OSG 3.3.8 and compile osgAndroid from there on again, but I don't
know how promising that may be. Thing is: the osgAndroid compile itself is fine because the gray render
window is created. It is just that the plugins are not found by the An
 droid system ...

Thank you!

Cheers,
Christian

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

Hi,

I still didn't get it to work. I spoke with an Android developer the recent days, told him the problem. His
suggestion: move the requested library files in the libs-folder of your project, which is how the Android
jni usually works. Said and done, I created a folder in osgSimple called "libs" and copied the
OpenSceneGraph 3.3.8 library files (static libraries) into the "libs" folder. Unfortunately, I still
get the same error, the app searches for the dynamic library (at least according to LogCat). Any further
ideas ? I can still try a dynamic compile of OSG 3.3.8 and compile osgAndroid from there on again, but I don't
know how promising that may be. Thing is: the osgAndroid compile itself is fine because the gray render
window is created. It is just that the plugins are not found by the An
 droid system ...

Thank you!

Cheers,
Christian

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

Joshua Robinson | 24 May 22:39 2015
Picon

(no subject)


Howdy OSG-Users & Volcans,

I am a newbie to OSG and need help to do :

Add a video canvas to scale the video. It should do :
1) Create a video canvas.
2) Assign texture coordinates to the video canvas, I prefer manually, it can be automatically (function).
    Specify the number of columns and rows on your own, need to have more than 2.
3) Use texture coordinate & video image rendering.

I have no idea how, a small sample(s) code will be appreciate .

Cheers, (oyori),
-Joshua Robinson
PS.  "Live long and prosper".
<div><div dir="ltr">
<br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>
<div>Howdy OSG-Users &amp; Volcans<span>,</span>
</div>
<div dir="ltr">
<span><span></span></span><br>
</div>
<div>I am a newbie to OSG and need help to do :<br><br>
</div>
<div dir="ltr">Add a video canvas to scale the video. It should do :<br>
</div>
<div>1) Create a video canvas.<br>
</div>
<div dir="ltr">2) Assign texture coordinates to the video canvas, I prefer manually, it can be automatically (function).<br>&nbsp;&nbsp;&nbsp; Specify the number of columns and rows on your own, need to have more than 2.<br>
</div>
<div>3) Use texture coordinate &amp; video image rendering.<br>
</div>
<div dir="ltr"><br></div>
<div>I have no idea how, a small sample(s) code will be appreciate .<br>
</div>
<div dir="ltr">
<br>Cheers, (oyori),<br>-Joshua Robinson<br>
</div>
<div>
<span>PS.&nbsp; </span>"Live long and prosper".<br>
</div>
</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div>

Gmane