Re: [osg-users] resthttp plugin build issues

2013-02-24 Thread Stephan Huber
Hi,


As I developed the resthttp-plugin I sticked to the header-only version
of boost and the separate asio-lib to keep it simple to get the plugin
compiling on windows and other platforms as using asio from within boost
you'll also need to link aainst the boost libs, it doesn't suffice to
include only the headers.

What problems did you try to fix on your end?

cheers,

Stephan

Am 23.02.13 20:50, schrieb Christian Buchner:
 Hi,
 
 in order to successfully build the resthttp plug-in from OpenSceneGraph
 trunk I had to modify its CMakeLists.txt file to this:
 
 INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIR})
 LINK_DIRECTORIES(${Boost_LIBRARY_DIRS})
 INCLUDE_DIRECTORIES(${ASIO_INCLUDE_DIR})
 
 note the change from Boost_INCLUDE_DIRS to Boost_INCLUDE_DIR and the
 addition of the LINK_DIRECTORIES
 
 I also changed all occurences of
 #include asio.hpp
 to
 #include boost/asio.hpp
 
 I changed and all occurrences of
 asio::error_code to system::error_code
 and
 asio::thread to boost::thread
 
 Now asio builds against later boost releases, such as 1.51 for Windows in
 my case (installed with boostpro installer)
 
 A small quirk in CMake 2.8 remains. It always indicates Boost_DIR as
 Boost_DIR-NOTFOUND, but correctly sets Boost_INCLUDE_DIR and
 Boost_LIBRARY_DIRS. This is odd.
 
 Are these reasonable changes, or do you plan to stick to requiring the very
 outdated boost 1.37 release?
 
 Christian
 
 
 
 ___
 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] resthttp plugin build issues

2013-02-24 Thread Christian Buchner
I tried using a more recent boost 1.51 which already includes ASIO. The
reason being that there is a Windows installer for Boost that includes
Visual Studio 2010 binaries - I did not want to use a really old version of
that installer with dependencies compiled against a previous Visual Studio
versions (mixing and matching dependencies like that is often problematic)

Anyway, I got this plug-in to build and the HOWTO is archived above ;)

Christian


2013/2/24 Stephan Huber ratzf...@digitalmind.de

 Hi,


 As I developed the resthttp-plugin I sticked to the header-only version
 of boost and the separate asio-lib to keep it simple to get the plugin
 compiling on windows and other platforms as using asio from within boost
 you'll also need to link aainst the boost libs, it doesn't suffice to
 include only the headers.

 What problems did you try to fix on your end?

 cheers,

 Stephan

 Am 23.02.13 20:50, schrieb Christian Buchner:
  Hi,
 
  in order to successfully build the resthttp plug-in from OpenSceneGraph
  trunk I had to modify its CMakeLists.txt file to this:
 
  INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIR})
  LINK_DIRECTORIES(${Boost_LIBRARY_DIRS})
  INCLUDE_DIRECTORIES(${ASIO_INCLUDE_DIR})
 
  note the change from Boost_INCLUDE_DIRS to Boost_INCLUDE_DIR and the
  addition of the LINK_DIRECTORIES
 
  I also changed all occurences of
  #include asio.hpp
  to
  #include boost/asio.hpp
 
  I changed and all occurrences of
  asio::error_code to system::error_code
  and
  asio::thread to boost::thread
 
  Now asio builds against later boost releases, such as 1.51 for Windows in
  my case (installed with boostpro installer)
 
  A small quirk in CMake 2.8 remains. It always indicates Boost_DIR as
  Boost_DIR-NOTFOUND, but correctly sets Boost_INCLUDE_DIR and
  Boost_LIBRARY_DIRS. This is odd.
 
  Are these reasonable changes, or do you plan to stick to requiring the
 very
  outdated boost 1.37 release?
 
  Christian
 
 
 
  ___
  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] [osgPPU] osgPPU with GL3

2013-02-24 Thread Joshua No
There's been no response to this for quite some time, so I'm guessing osgPPU is 
abandoned?  I've tried compiling it a number of different ways on a number of 
different platforms, but it doesn't look like it works any-longer with current 
OpenGL.  

Meanwhile any tips on OSG-only glow implementation? The main forum continually 
refers to osgPPU, but since that's not an option any longer how would one do 
this?  Multitexture plus Multipass?

Thanks

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





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


Re: [osg-users] How to create glow effect in OSG

2013-02-24 Thread Joshua No
I'd love to know the answer to this too, since osgPPU appears to be abandoned.

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





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


Re: [osg-users] custom vertex attribut, using BIND_OVERALL

2013-02-24 Thread Aurelien Albert
Hi,

I've posted a submission which should solve this issue :

http://forum.openscenegraph.org/viewtopic.php?p=52849#52849

The problem was in the ArrayDispatcher.cpp file : some kind of array types 
(like ArrayInt you use here) where not registered with associated dispatchers.

It solves my issue, could you test if it solve yours ?

Thank you!

Cheers,
Aurelien

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





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


[osg-users] [vpb] Log file options

2013-02-24 Thread Colin Knowles
Hi,

Does VBP support an option to not write the log files to the HDD when creating 
databases? I have tried logging off , logging 0 etc when creating the script to 
run VPB but these and other common variants for logging do nothing. The only 
reason I ask is that the log files end up huge when building 500 GB databases.
I have looked through all the OSG books and forum posts but have not been able 
to find anything useful.


Thank you!

Cheers,
Colin


www.aamgroup.com

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





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


Re: [osg-users] [osgPPU] osgPPU with GL3

2013-02-24 Thread Peterakos
Hello.

Not sure what you mean abandoned, but it works for me.
I have run some of the osgPPU examples.

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


Re: [osg-users] [osgPPU] osgPPU with GL3

2013-02-24 Thread Joshua No
Are you compiling it against an OpenGL 3.2 or higher OSG build?  I say 
abandoned because there was no response to my original post for more then 8 
months, and there appears to be no activity in the repository for quite some 
time.

Maybe I'm doing something wrong, but as far as I can tell osgPPU only works for 
OpenGL  3.2.

I only need one feature anyway which is glow, so I'm working on implementing 
that with RTT / MRT in OSG directly now. But it would be handy if osgPPU was 
usable.

Thanks

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





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