Hi Robert,
Here's what I found doing release and debug builds from yersterday's git master
code with Visual C++ 2015:
freetype even using -DWITH_PNG=OFF will still try to include png.h and for some
reason requires ftoption.h (both copies) to be modified (or overridden) to
comment out the line:
Hi,
In a true necromancer fashion I would like to resurrect this thread, since I
need some help with Björn's scripts.
I managed to compile OSG from scratch, inclusive all 3rd party libraries. I
have used VS2015, a x64 build, and all 3rd party libs are also compiled by me
as 64-bit shared libr
I have built OSG yesterday, and I have build all 3rd party manually. I also
have all 3rd party libs in a custom build tree where I have other libraries and
code I use.
After the prerequisites are built, what I did was to generate OSG vs project
files as described on webpage. Then I opened VS so
I have also forgot to ask: is there a reason to prefer ijg's libjpeg instead of
libjpeg-turbo and glut instead of freeglut?
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=67330#67330
___
osg-users ma
Hi All,
I have tagged the OpenSceneGraph-3.5.3 developer release, a
significant milestone towards the stable 3.6.0 that I'll make this
summer.
The github tag is:
https://github.com/openscenegraph/OpenSceneGraph/tree/OpenSceneGraph-3.5.3
I haven't had a chance to update the website yet, it's
Hi Robert,
thanks for the *hints* :) ... Reading the code is always the best option
:-). I found the thing while reading the code you pointed me to. It is this
thing that when set up properly per the database, then it works nicely ..
viewer->getDatabasePager()->setTargetMaximumNumberOfPageLOD(...
Hi Nick,
It's *really* inefficient to use an update callback to do this type of
task, I can not recommend going this path, it's waste of both our time
trying to coax it to do something useful.
The right way of doing it is by overriding the
DatabasePager::updateSceneGraph() method or implementing
Hi Robert,
this is my update callback .. And I know for sure it was working. I just
did a clean app (modified osgviewer with only this callback installed in
the root PagedLODs) and I never see a Paged Out tile ... I am limited to
not having the possibility to make a custom DatabasePager or it will
Hi Nick,
There isn't a feature directly built into osg::PageLOD or
DatabasePager for this.
What you could do is look at the creating a custom DatabasePager that
overrides the following method:
/** Merge the changes to the scene graph by calling calling
removeExpiredSubgraphs then addLoad
Hi François,
On 3 June 2016 at 17:13, François Bérard wrote:
>> I can seen anywhere where the OSG Cmake build system is adding
>> -Wdeprecated-register. Are you adding this manually?
>
>
> nope. unzip, cmake, make. This must be a new default on my Clang (Apple LLVM
> version 7.3.0 (clang-703.0.
Thanks Bjorn, final three files now merged and pushed to master.
Great to hear that VS2015 is now compiling cleanly.
On 3 June 2016 at 15:02, Björn Blissing wrote:
> Hi again,
>
> Forgot to attach the last two files with fixes to the virtual inheritance
> warnings...
>
> I have also attached the
Thanks Bjorn, both files now merged and pushed to master.
On 3 June 2016 at 14:34, Björn Blissing wrote:
> Hi again,
>
> This is the fix for the rest of the virtual inheritance warnings. Same as for
> issues as for the Operation class.
>
> Regards
> Björn
>
>>-Original Message-
>>From: o
Hi Bjorn,
Thanks for the fix, works just fine under Linux w.r.t build and
testing. Now merged and checked into git master.
Next on to the others...
Robert.
On 3 June 2016 at 13:39, Björn Blissing wrote:
> Hi Robert,
>
> The warnings relating the Operation class comes from the two protected
>
Trajce Nikolov NICK writes:
> Now it doesn't .. Any clue or hint how to detect such changes?
git bisect? It is very useful for that kind of "it does work / now it
doesn't"...
--
Alberto
___
osg-users mailing list
osg-users@lists.openscenegraph.org
h
Hi Community,
I was looking for a way to detect when PagedLOD gets its children paged
in/out. So I installed an update callback and based on a difference in the
children number I was able to know when such change occurred. And this was
working with a code an year ago.
Now it doesn't .. Any clue o
Hi Robert,
On 03/06/16 12:43, Robert Osfield wrote:
Hi François,
I have installed Clang 3.8 on my Linux dev machine and got it to
reproduce the same typeid error. As far as I can tell this warning is
pretty bogus, effectively enforcing a personal preference of the
compiler developers rather th
robertosfield wrote:
> Hi Bjorn,
> Unfortunately I don't see these warnings with the compiler I have
> available with the settings that are currently available. Do you know
> of what to enable these warnings in gcc or Clang?
>
> The nature of these warnings are such that I really need to be able
Hi again,
Forgot to attach the last two files with fixes to the virtual inheritance
warnings...
I have also attached the fix to the type shadowing problem in
ConvexPolyhedron.cpp
With this I think that the OSG Core group of projects compiles without warnings
on Visual Studio 2015.
Regards
B
Hi again,
This is the fix for the rest of the virtual inheritance warnings. Same as for
issues as for the Operation class.
Regards
Björn
>-Original Message-
>From: osg-users [mailto:osg-users-boun...@lists.openscenegraph.org] On
>Behalf Of Björn Blissing
>Sent: Friday, June 3, 2016 2:39
Hi Robert,
The warnings relating the Operation class comes from the two protected
constructors. Since the class uses virtual inheritance it is initialized by the
most derived class. So the initializer for the virtual base class is ignored.
So just removing the base class initializer for Operati
Hi Robert,
I just sent a PR for adding travis for trusty and OSX builds. It could be
improved adding missing dependencies like gdal, etc. to the apt/brew
section.
Once you logged in to travis and set it up for the osg github repo ( it's
only a few steps ), it will automatically search for the .tra
Hi Bjorn,
On 3 June 2016 at 09:48, Björn Blissing wrote:
>
> I compiled the latest master with Visual Studio 2015.
>
> I got a couple of warnings. First of all I got a ton of these, which all
> originates from the same origin:
>
>
> Code:
>
> ...
> OpenSceneGraph\include\osg/OperationThread(80)
Hi François,
I have installed Clang 3.8 on my Linux dev machine and got it to
reproduce the same typeid error. As far as I can tell this warning is
pretty bogus, effectively enforcing a personal preference of the
compiler developers rather than highlighting anything that is
ambiguous or unsupport
Hi Robert,
Since you introduced the osg::PI_2f value, maybe you should replace the two
osg::PIf*0.5f found in ShapeDrawable at line 1405 and 1479.
Regards
Björn
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=67380#67380
_
Hi Laurens,
I've merged Bjorn's changes to GraphicsWindowWin32.cpp. Also rather
than merge your changes to ShapeDrawable I have added to the
include/osg/Math header float variants to osg::PI etc. in the form
osg::PIf. I then replaced the osg::PI usage in ShapeDrawable.cpp to
osg::PIf which shoul
Thanks Laurens, fix merged and checked into git master.
On 3 June 2016 at 10:23, Björn Blissing wrote:
> Hi Laurens,
>
>
>
> Your changes to the src\osgViewer\GraphicsWindowWin32.cpp did not fix the
> narrowing warnings for me.
>
>
>
> I have attached my changes, which solves all warnings for thi
Hi,
I compiled the latest master with Visual Studio 2015.
I got a couple of warnings. First of all I got a ton of these, which all
originates from the same origin:
Code:
...
OpenSceneGraph\include\osg/OperationThread(80): warning C4589: Constructor of
abstract class 'osg::Operation' ignores
27 matches
Mail list logo